Commit 2eac81b0 authored by Florian Hölzl's avatar Florian Hölzl
Browse files

bugfix: annoying unsaved after loading of example is fixed

refs 475
parent 7c2ca15d
......@@ -17,6 +17,9 @@ $Id$
+--------------------------------------------------------------------------*/
package org.fortiss.af3.rcp.application.example;
import static org.fortiss.tooling.kernel.utils.UniqueIDUtils.generateMissingIDs;
import static org.fortiss.tooling.kernel.utils.UniqueIDUtils.getLargestID;
import org.fortiss.af3.mira.ui.examples.SimpleTrafficLightsRequirementsExample;
import org.fortiss.af3.operatorpanel.ui.examples.SimpleTrafficLightsOperatorPanelExample;
import org.fortiss.af3.project.example.IExample;
......@@ -30,7 +33,7 @@ import org.fortiss.af3.project.model.FileProject;
* @author wandinger
* @author $Author$
* @version $Rev$
* @ConQAT.Rating GREEN Hash: 96DE91B54AC6C0BA097686A68B94F97D
* @ConQAT.Rating YELLOW Hash: 3BE337E5FB735AA6C5287F4F0D1516AA
*/
public class SimpleTrafficLightsCompositeExample implements IExample {
......@@ -50,6 +53,7 @@ public class SimpleTrafficLightsCompositeExample implements IExample {
SimpleTrafficLightsRequirementsExample.INSTANCE.createProject(projectName);
SimpleTrafficLightsOperatorPanelExample.INSTANCE
.alterComponentArchitectureByAddingOperatorPanelComponent(project);
generateMissingIDs(project, getLargestID(project));
return project;
}
}
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