use of org.yakindu.sct.model.sgen.FeatureParameterValue in project statecharts by Yakindu.
the class DefaultFileSystemAccessFactory method initApiTargetFolder.
protected void initApiTargetFolder(ISCTFileSystemAccess access, GeneratorEntry entry) {
FeatureParameterValue apiTargetFolderValue = helper.getApiTargetFolderValue(entry);
if (apiTargetFolderValue != null) {
access.setOutputPath(API_TARGET_FOLDER_OUTPUT, apiTargetFolderValue.getStringValue());
OutputConfiguration output = access.getOutputConfigurations().get(API_TARGET_FOLDER_OUTPUT);
output.setCreateOutputDirectory(true);
}
}
use of org.yakindu.sct.model.sgen.FeatureParameterValue in project statecharts by Yakindu.
the class AbstractDefaultFeatureValueProvider method createParameterValue.
protected FeatureParameterValue createParameterValue(FeatureType featureType, FeatureParameter parameter, EObject contextElement) {
FeatureParameterValue parameterValue = factory.createFeatureParameterValue();
parameterValue.setParameter(parameter);
setDefaultValue(featureType, parameterValue, contextElement);
return parameterValue;
}
Aggregations