Commit 78b68743 authored by Johannes Eder's avatar Johannes Eder
Browse files

removed development constraints

Issue-Ref: 3891
Issue-Url: https://af3-developer.fortiss.org/issues/3891

Signed-off-by: Johannes Eder's avatarJohannes Eder <eder@fortiss.org>
parent 83cfec49
ConfiguredExpressionExample.java 20069df0c6c30651a5bd5155853bb86f89bc5861 GREEN
ConfiguredExpressionExample.java b7e75544cddc635efa410f4bf2f696236ec23071 GREEN
SimpleTrafficLightsDataDictionaryExample.java a4738989d838cd62953ca2d7d1b9927b7cb43dfb GREEN
......@@ -16,7 +16,6 @@
package org.fortiss.af3.expression.examples;
import static org.fortiss.af3.expression.utils.ExpressionModelElementFactory.createMicroTypesystem;
import static org.fortiss.af3.project.utils.ProjectModelElementFactory.createConstraintBasedDevelopmentProcess;
import static org.fortiss.af3.project.utils.ProjectModelElementFactory.createFileProject;
import static org.fortiss.tooling.kernel.utils.UniqueIDUtils.generateAllIDs;
......@@ -25,9 +24,7 @@ import org.fortiss.af3.project.model.AF3ProjectFactory;
import org.fortiss.af3.project.model.FileProject;
import org.fortiss.af3.project.model.ProjectConfiguration;
import org.fortiss.af3.project.model.configuration.ConfigurationFactory;
import org.fortiss.af3.project.model.configuration.DevelopmentProcessConfiguration;
import org.fortiss.af3.project.model.configuration.TypeSystemConfiguration;
import org.fortiss.af3.project.model.development.ConstraintBasedDevelopmentProcess;
/**
* Creates an empty {@link FileProject} with the proper default configuration.
......@@ -54,12 +51,6 @@ public class ConfiguredExpressionExample extends SimpleTrafficLightsProjectExamp
ConfigurationFactory.eINSTANCE.createTypeSystemConfiguration();
config.getConfigurationElements().add(tsConfig);
tsConfig.setTypesystem(createMicroTypesystem());
DevelopmentProcessConfiguration dpConfig =
ConfigurationFactory.eINSTANCE.createDevelopmentProcessConfiguration();
config.getConfigurationElements().add(dpConfig);
ConstraintBasedDevelopmentProcess devProc =
createConstraintBasedDevelopmentProcess(dpConfig);
dpConfig.setDevelopment(devProc);
FileProject project = createFileProject(projectName, config);
// Set the IDs of the project uniquely.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment