Browse Source

changed test to for bug hunting

terfloth@itemis.de 13 years ago
parent
commit
87acfc2f94
60 changed files with 4012 additions and 3645 deletions
  1. 2 2
      test-plugins/org.yakindu.sct.generator.c.test/gtests/GuardedEntry/GuardedEntry.cc
  2. 16 16
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/ITimedStatemachine.java
  3. 1 1
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/TimeEvent.java
  4. 2 1
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/TimerService.java
  5. 20 1
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/assignmentasexpression/AssignmentAsExpressionStatemachine.java
  6. 6 2
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/guardedentry/GuardedEntryStatemachine.java
  7. 6 2
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/guardedexit/GuardedExitStatemachine.java
  8. 5 1
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/performancetest/IPerformanceTestStatemachine.java
  9. 143 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/performancetest/PerformanceTestStatemachine.java
  10. 2 4
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/sct/generator/java/test/GuardedEntryTest.java
  11. 2 0
      test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/sct/generator/java/test/PerformanceTestsTest.java
  12. 31 31
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/AllTests.java
  13. 58 58
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/AlwaysOncycleTest.java
  14. 48 48
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/AssignmentAsExpressionTest.java
  15. 57 57
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/BitExpressionsTest.java
  16. 56 56
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/BooleanExpressionsTest.java
  17. 51 51
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/CKeywordsTest.java
  18. 72 72
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/ChoiceTest.java
  19. 45 0
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/DeclarationsTest.java
  20. 63 63
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/DeepHistoryTest.java
  21. 56 56
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/ExitOnSelfTransitionTest.java
  22. 48 0
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/FeatureCallsTest.java
  23. 60 60
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/GuardTest.java
  24. 83 85
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/GuardedEntryTest.java
  25. 61 61
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/GuardedExitTest.java
  26. 67 67
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/IntegerExpressionsTest.java
  27. 61 61
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/InternalEventLifeCycleTest.java
  28. 47 47
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/ParenthesisTest.java
  29. 95 95
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/PerformanceTestTest.java
  30. 58 58
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/PriorityValuesTest.java
  31. 52 52
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/RaiseEventTest.java
  32. 54 54
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/SameNameDifferentRegionTest.java
  33. 75 75
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/ShallowHistoryTest.java
  34. 50 50
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/SimpleEventTest.java
  35. 52 52
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/SimpleHierachyTest.java
  36. 52 52
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/StateIsActiveTest.java
  37. 56 56
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/StatechartLocalReactionsTest.java
  38. 53 53
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/StringExpressionsTest.java
  39. 64 64
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/SyncForkTest.java
  40. 109 109
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/SyncJoinTest.java
  41. 49 49
      test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/ValuedEventsTest.java
  42. 1 0
      test-plugins/org.yakindu.sct.test.models/.settings/org.eclipse.core.resources.prefs
  43. 30 2
      test-plugins/org.yakindu.sct.test.models/testmodels/AssignmentAsExpression.sct
  44. 114 114
      test-plugins/org.yakindu.sct.test.models/testmodels/BitExpressions.sct
  45. 216 216
      test-plugins/org.yakindu.sct.test.models/testmodels/CKeywords.sct
  46. 420 420
      test-plugins/org.yakindu.sct.test.models/testmodels/DeepHistory.sct
  47. 1 1
      test-plugins/org.yakindu.sct.test.models/testmodels/ExitOnSelfTransition.sct
  48. 115 115
      test-plugins/org.yakindu.sct.test.models/testmodels/FeatureCalls.sct
  49. 126 126
      test-plugins/org.yakindu.sct.test.models/testmodels/Guard.sct
  50. 112 112
      test-plugins/org.yakindu.sct.test.models/testmodels/IntegerExpressions.sct
  51. 1 1
      test-plugins/org.yakindu.sct.test.models/testmodels/InternalEventLifeCycle.sct
  52. 1 1
      test-plugins/org.yakindu.sct.test.models/testmodels/PerformanceTest.sct
  53. 186 186
      test-plugins/org.yakindu.sct.test.models/testmodels/RaiseEvent.sct
  54. 187 187
      test-plugins/org.yakindu.sct.test.models/testmodels/SameNameDifferentRegion.sct
  55. 158 158
      test-plugins/org.yakindu.sct.test.models/testmodels/SimpleHierachy.sct
  56. 167 167
      test-plugins/org.yakindu.sct.test.models/testmodels/StatechartLocalReactions.sct
  57. 112 112
      test-plugins/org.yakindu.sct.test.models/testmodels/StringExpressions.sct
  58. 1 1
      test-plugins/org.yakindu.sct.test.models/testmodels/ValuedEvents.sct
  59. 72 0
      test-plugins/org.yakindu.sct.test.models/testmodels/VariableInitialization.sct
  60. 4 4
      test-plugins/org.yakindu.sct.test.models/tests/GuardedEntry.sctunit

+ 2 - 2
test-plugins/org.yakindu.sct.generator.c.test/gtests/GuardedEntry/GuardedEntry.cc

@@ -15,6 +15,7 @@
 TEST(StatemachineTest, EntryNotTakenOnStatechartEnter) {
 	GuardedEntry handle;
 	guardedEntry_init(&handle);
+	EXPECT_TRUE(guardedEntryIface_get_guard(&handle)== false);
 	guardedEntry_enter(&handle);
 	EXPECT_TRUE(guardedEntry_isActive(&handle, GuardedEntry_main_region_A));
 	EXPECT_TRUE(guardedEntryIface_get_done(&handle)== false);
@@ -22,9 +23,8 @@ TEST(StatemachineTest, EntryNotTakenOnStatechartEnter) {
 TEST(StatemachineTest, EntryTakenOnStatechartEnter) {
 	GuardedEntry handle;
 	guardedEntry_init(&handle);
-	guardedEntry_enter(&handle);
 	guardedEntryIface_set_guard(&handle, true);
-	EXPECT_TRUE(false);
+	guardedEntry_enter(&handle);
 	EXPECT_TRUE(guardedEntry_isActive(&handle, GuardedEntry_main_region_A));
 	EXPECT_TRUE(guardedEntryIface_get_done(&handle)== true);
 }

+ 16 - 16
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/ITimedStatemachine.java

@@ -1,30 +1,30 @@
 package org.yakindu.scr;
 
 /**
- * Interface for state machines which use timed event triggers.
- */
+* Interface for state machines which use timed event triggers.
+*/
 public interface ITimedStatemachine {
 
 	/**
-	 * Set the {@link ITimerService} for the state machine. It must be set
-	 * externally on a timed state machine before a run cycle can be correct
-	 * executed.
-	 * 
-	 * @param timerService
-	 */
+	* Set the {@link ITimerService} for the state machine. It must be set
+	* externally on a timed state machine before a run cycle can be correct
+	* executed.
+	* 
+	* @param timerService
+	*/
 	public void setTimerService(ITimerService timerService);
 
 	/**
-	 * Returns the currently used timer service.
-	 * 
-	 * @return {@link ITimerService}
-	 */
+	* Returns the currently used timer service.
+	* 
+	* @return {@link ITimerService}
+	*/
 	public ITimerService getTimerService();
 
 	/**
-	 * Callback method if a {@link TimeEvent} occurred.
-	 * 
-	 * @param timeEvent
-	 */
+	* Callback method if a {@link TimeEvent} occurred.
+	* 
+	* @param timeEvent
+	*/
 	public void onTimeEventRaised(TimeEvent timeEvent);
 }

+ 1 - 1
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/TimeEvent.java

@@ -13,7 +13,7 @@ public class TimeEvent {
 	private boolean periodic;
 
 	private ITimedStatemachine statemachine;
-
+	
 	int index;
 
 	/**

+ 2 - 1
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/TimerService.java

@@ -15,7 +15,8 @@ public class TimerService implements ITimerService {
 
 	private final Map<TimeEvent, TimerTask> timerTaskMap = new HashMap<TimeEvent, TimerTask>();
 
-	public void setTimer(final TimeEvent event, long time, long cycleStartTime) {
+	public void setTimer(final TimeEvent event, long time,
+			long cycleStartTime) {
 		// Reset existing TimerTask for event. This step isn't necessary if
 		// timer tasks are properly reset by sexec model.
 		if (timerTaskMap.containsKey(event)) {

+ 20 - 1
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/assignmentasexpression/AssignmentAsExpressionStatemachine.java

@@ -31,7 +31,7 @@ public class AssignmentAsExpressionStatemachine
 	private SCIDefaultImpl sCIDefault;
 
 	public enum State {
-		main_region_A, $NullState$
+		main_region_A, main_region_B, $NullState$
 	};
 
 	private final State[] stateVector = new State[1];
@@ -73,6 +73,11 @@ public class AssignmentAsExpressionStatemachine
 				stateVector[0] = State.$NullState$;
 				break;
 
+			case main_region_B :
+				nextStateIndex = 0;
+				stateVector[0] = State.$NullState$;
+				break;
+
 			default :
 				break;
 		}
@@ -91,6 +96,8 @@ public class AssignmentAsExpressionStatemachine
 		switch (state) {
 			case main_region_A :
 				return stateVector[0] == State.main_region_A;
+			case main_region_B :
+				return stateVector[0] == State.main_region_B;
 			default :
 				return false;
 		}
@@ -125,6 +132,15 @@ public class AssignmentAsExpressionStatemachine
 
 	/* The reactions of state A. */
 	private void reactMain_region_A() {
+		nextStateIndex = 0;
+		stateVector[0] = State.$NullState$;
+
+		nextStateIndex = 0;
+		stateVector[0] = State.main_region_B;
+	}
+
+	/* The reactions of state B. */
+	private void reactMain_region_B() {
 	}
 
 	public void runCycle() {
@@ -137,6 +153,9 @@ public class AssignmentAsExpressionStatemachine
 				case main_region_A :
 					reactMain_region_A();
 					break;
+				case main_region_B :
+					reactMain_region_B();
+					break;
 				default :
 					// $NullState$
 			}

+ 6 - 2
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/guardedentry/GuardedEntryStatemachine.java

@@ -68,7 +68,9 @@ public class GuardedEntryStatemachine implements IGuardedEntryStatemachine {
 
 		entryAction();
 
-		sCIDefault.done = true;
+		if (sCIDefault.guard) {
+			sCIDefault.done = true;
+		}
 
 		nextStateIndex = 0;
 		stateVector[0] = State.main_region_A;
@@ -160,7 +162,9 @@ public class GuardedEntryStatemachine implements IGuardedEntryStatemachine {
 			nextStateIndex = 0;
 			stateVector[0] = State.$NullState$;
 
-			sCIDefault.done = true;
+			if (sCIDefault.guard) {
+				sCIDefault.done = true;
+			}
 
 			nextStateIndex = 0;
 			stateVector[0] = State.main_region_A;

+ 6 - 2
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/guardedexit/GuardedExitStatemachine.java

@@ -78,7 +78,9 @@ public class GuardedExitStatemachine implements IGuardedExitStatemachine {
 				nextStateIndex = 0;
 				stateVector[0] = State.$NullState$;
 
-				sCIDefault.done = true;
+				if (sCIDefault.guard) {
+					sCIDefault.done = true;
+				}
 				break;
 
 			case main_region_B :
@@ -149,7 +151,9 @@ public class GuardedExitStatemachine implements IGuardedExitStatemachine {
 			nextStateIndex = 0;
 			stateVector[0] = State.$NullState$;
 
-			sCIDefault.done = true;
+			if (sCIDefault.guard) {
+				sCIDefault.done = true;
+			}
 
 			nextStateIndex = 0;
 			stateVector[0] = State.main_region_B;

+ 5 - 1
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/performancetest/IPerformanceTestStatemachine.java

@@ -1,7 +1,11 @@
 package org.yakindu.scr.performancetest;
 import org.yakindu.scr.IStatemachine;
+import org.yakindu.scr.ITimedStatemachine;
 
-public interface IPerformanceTestStatemachine extends IStatemachine {
+public interface IPerformanceTestStatemachine
+		extends
+			ITimedStatemachine,
+			IStatemachine {
 
 	public interface SCIDefault {
 		public void raiseE1();

+ 143 - 0
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/performancetest/PerformanceTestStatemachine.java

@@ -1,9 +1,18 @@
 package org.yakindu.scr.performancetest;
+import org.yakindu.scr.TimeEvent;
+import org.yakindu.scr.ITimerService;
 
 public class PerformanceTestStatemachine
 		implements
 			IPerformanceTestStatemachine {
 
+	private final TimeEvent performanceTest_time_event_0 = new TimeEvent(true,
+			0);
+	private final TimeEvent performanceTest_time_event_1 = new TimeEvent(true,
+			1);
+
+	private final boolean[] timeEvents = new boolean[2];
+
 	private final class SCIDefaultImpl implements SCIDefault {
 
 		private boolean e1;
@@ -73,13 +82,22 @@ public class PerformanceTestStatemachine
 
 	private int nextStateIndex;
 
+	private ITimerService timerService;
+
+	private long cycleStartTime;
+
 	public PerformanceTestStatemachine() {
 
 		sCIDefault = new SCIDefaultImpl();
 
+		performanceTest_time_event_0.setStatemachine(this);
+		performanceTest_time_event_1.setStatemachine(this);
 	}
 
 	public void init() {
+		if (timerService == null) {
+			throw new IllegalStateException("TimerService not set.");
+		}
 		for (int i = 0; i < 2; i++) {
 			stateVector[i] = State.$NullState$;
 		}
@@ -92,12 +110,22 @@ public class PerformanceTestStatemachine
 	}
 
 	public void enter() {
+		if (timerService == null) {
+			throw new IllegalStateException("TimerService not set.");
+		}
+		cycleStartTime = System.currentTimeMillis();
 		sCIDefault.x = 0;
 
 		sCIDefault.a = 0;
 
 		sCIDefault.c = 0;
 
+		getTimerService().setTimer(performanceTest_time_event_0, 2000,
+				cycleStartTime);
+
+		getTimerService().setTimer(performanceTest_time_event_1, 6200,
+				cycleStartTime);
+
 		entryAction();
 
 		sCIDefault.a += 1;
@@ -209,6 +237,9 @@ public class PerformanceTestStatemachine
 	protected void clearEvents() {
 		sCIDefault.clearEvents();
 
+		for (int i = 0; i < timeEvents.length; i++) {
+			timeEvents[i] = false;
+		}
 	}
 
 	protected void clearOutEvents() {
@@ -253,6 +284,18 @@ public class PerformanceTestStatemachine
 		}
 	}
 
+	public void setTimerService(ITimerService timerService) {
+		this.timerService = timerService;
+	}
+
+	public ITimerService getTimerService() {
+		return timerService;
+	}
+
+	public void onTimeEventRaised(TimeEvent timeEvent) {
+		timeEvents[timeEvent.getIndex()] = true;
+	}
+
 	public SCIDefault getSCIDefault() {
 		return sCIDefault;
 	}
@@ -293,16 +336,42 @@ public class PerformanceTestStatemachine
 		return true;
 	}
 
+	private boolean checkLr1() {
+		return timeEvents[performanceTest_time_event_0.getIndex()];
+	}
+
+	private boolean checkLr2() {
+		return timeEvents[performanceTest_time_event_1.getIndex()];
+	}
+
 	private void effectLr0() {
 		sCIDefault.c += 1;
 	}
 
+	private void effectLr1() {
+		sCIDefault.raiseE2();
+
+		sCIDefault.raiseE1();
+	}
+
+	private void effectLr2() {
+		sCIDefault.raiseE3();
+	}
+
 	/* Entry action for statechart 'PerformanceTest'. */
 	private void entryAction() {
+		getTimerService().setTimer(performanceTest_time_event_0, 2000,
+				cycleStartTime);
+
+		getTimerService().setTimer(performanceTest_time_event_1, 6200,
+				cycleStartTime);
 	}
 
 	/* Exit action for state 'PerformanceTest'. */
 	private void exitAction() {
+		getTimerService().resetTimer(performanceTest_time_event_0);
+
+		getTimerService().resetTimer(performanceTest_time_event_1);
 	}
 
 	/* shallow enterSequence with history in child r1 */
@@ -357,6 +426,14 @@ public class PerformanceTestStatemachine
 	private void reactMr_A() {
 		effectLr0();
 
+		if (checkLr1()) {
+			effectLr1();
+		}
+
+		if (checkLr2()) {
+			effectLr2();
+		}
+
 		if (sCIDefault.e1) {
 			nextStateIndex = 0;
 			stateVector[0] = State.$NullState$;
@@ -378,6 +455,14 @@ public class PerformanceTestStatemachine
 	private void reactMr_B_r1_X() {
 		effectLr0();
 
+		if (checkLr1()) {
+			effectLr1();
+		}
+
+		if (checkLr2()) {
+			effectLr2();
+		}
+
 		if (sCIDefault.e2) {
 			nextStateIndex = 0;
 			stateVector[0] = State.$NullState$;
@@ -432,6 +517,14 @@ public class PerformanceTestStatemachine
 	private void reactMr_B_r1_Y() {
 		effectLr0();
 
+		if (checkLr1()) {
+			effectLr1();
+		}
+
+		if (checkLr2()) {
+			effectLr2();
+		}
+
 		if (sCIDefault.e2) {
 			nextStateIndex = 0;
 			stateVector[0] = State.$NullState$;
@@ -486,6 +579,14 @@ public class PerformanceTestStatemachine
 	private void reactMr_B_r1_Z() {
 		effectLr0();
 
+		if (checkLr1()) {
+			effectLr1();
+		}
+
+		if (checkLr2()) {
+			effectLr2();
+		}
+
 		if (sCIDefault.e2) {
 			nextStateIndex = 0;
 			stateVector[0] = State.$NullState$;
@@ -540,6 +641,14 @@ public class PerformanceTestStatemachine
 	private void reactMr_B_r1_V() {
 		effectLr0();
 
+		if (checkLr1()) {
+			effectLr1();
+		}
+
+		if (checkLr2()) {
+			effectLr2();
+		}
+
 		if (sCIDefault.e2) {
 			nextStateIndex = 0;
 			stateVector[0] = State.$NullState$;
@@ -594,6 +703,14 @@ public class PerformanceTestStatemachine
 	private void reactMr_B_r1_W() {
 		effectLr0();
 
+		if (checkLr1()) {
+			effectLr1();
+		}
+
+		if (checkLr2()) {
+			effectLr2();
+		}
+
 		if (sCIDefault.e2) {
 			nextStateIndex = 0;
 			stateVector[0] = State.$NullState$;
@@ -648,6 +765,14 @@ public class PerformanceTestStatemachine
 	private void reactMr_B_r1_S() {
 		effectLr0();
 
+		if (checkLr1()) {
+			effectLr1();
+		}
+
+		if (checkLr2()) {
+			effectLr2();
+		}
+
 		if (sCIDefault.e2) {
 			nextStateIndex = 0;
 			stateVector[0] = State.$NullState$;
@@ -785,6 +910,14 @@ public class PerformanceTestStatemachine
 	private void reactMr_B_r1_T() {
 		effectLr0();
 
+		if (checkLr1()) {
+			effectLr1();
+		}
+
+		if (checkLr2()) {
+			effectLr2();
+		}
+
 		if (sCIDefault.e2) {
 			nextStateIndex = 0;
 			stateVector[0] = State.$NullState$;
@@ -839,6 +972,14 @@ public class PerformanceTestStatemachine
 	private void reactMr_B_r1_U() {
 		effectLr0();
 
+		if (checkLr1()) {
+			effectLr1();
+		}
+
+		if (checkLr2()) {
+			effectLr2();
+		}
+
 		if (sCIDefault.e2) {
 			nextStateIndex = 0;
 			stateVector[0] = State.$NullState$;
@@ -1045,6 +1186,8 @@ public class PerformanceTestStatemachine
 
 	public void runCycle() {
 
+		cycleStartTime = System.currentTimeMillis();
+
 		clearOutEvents();
 
 		for (nextStateIndex = 0; nextStateIndex < stateVector.length; nextStateIndex++) {

+ 2 - 4
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/sct/generator/java/test/GuardedEntryTest.java

@@ -37,17 +37,15 @@ public class GuardedEntryTest {
 
 	@Test
 	public void testEntryNotTakenOnStatechartEnter() {
+		assertTrue(statemachine.getGuard() == false);
 		statemachine.enter();
 		assertTrue(statemachine.isStateActive(State.main_region_A));
 		assertTrue(statemachine.getDone() == false);
 	}
 	@Test
 	public void testEntryTakenOnStatechartEnter() {
-		statemachine.enter();
 		statemachine.setGuard(true);
-		assertTrue(
-				"sctunit does not allow modifiing variables before entering the state machine!",
-				false);
+		statemachine.enter();
 		assertTrue(statemachine.isStateActive(State.main_region_A));
 		assertTrue(statemachine.getDone() == true);
 	}

+ 2 - 0
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/sct/generator/java/test/PerformanceTestsTest.java

@@ -16,6 +16,7 @@ import org.junit.Test;
 import static org.junit.Assert.*;
 import org.yakindu.scr.performancetest.PerformanceTestStatemachine;
 import org.yakindu.scr.performancetest.PerformanceTestStatemachine.State;
+import org.yakindu.scr.TimerService;
 /**
  *  Unit TestCase for PerformanceTest
  */
@@ -27,6 +28,7 @@ public class PerformanceTestsTest {
 	@Before
 	public void setUp() {
 		statemachine = new PerformanceTestStatemachine();
+		statemachine.setTimerService(new TimerService());
 		statemachine.init();
 	}
 

+ 31 - 31
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/AllTests.java

@@ -1,31 +1,31 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-
-import org.junit.runner.RunWith;
-import org.junit.runners.Suite;
-import org.junit.runners.Suite.SuiteClasses;
-
-@RunWith(Suite.class)
-@SuiteClasses({AlwaysOncycleTest.class, AssignmentAsExpressionTest.class,
-		BitExpressionsTest.class, BooleanExpressionsTest.class,
-		CKeywordsTest.class, ChoiceTest.class, DeepHistoryTest.class,
-		ExitOnSelfTransitionTest.class, GuardTest.class,
-		GuardedEntryTest.class, GuardedExitTest.class,
-		IntegerExpressionsTest.class, InternalEventLifeCycleTest.class,
-		ParenthesisTest.class, PriorityValuesTest.class, RaiseEventTest.class,
-		SameNameDifferentRegionTest.class, ShallowHistoryTest.class,
-		SimpleHierachyTest.class, StateIsActiveTest.class,
-		StatechartLocalReactionsTest.class, StringExpressionsTest.class,
-		SyncForkTest.class, SyncJoinTest.class, ValuedEventsTest.class,
-		SimpleEventTest.class})
-public class AllTests {
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+import org.junit.runners.Suite.SuiteClasses;
+
+@RunWith(Suite.class)
+@SuiteClasses({AlwaysOncycleTest.class, AssignmentAsExpressionTest.class,
+		BitExpressionsTest.class, BooleanExpressionsTest.class,
+		CKeywordsTest.class, DeclarationsTest.class, ChoiceTest.class,
+		DeepHistoryTest.class, ExitOnSelfTransitionTest.class, GuardTest.class,
+		GuardedEntryTest.class, GuardedExitTest.class,
+		IntegerExpressionsTest.class, InternalEventLifeCycleTest.class,
+		ParenthesisTest.class, PriorityValuesTest.class, RaiseEventTest.class,
+		SameNameDifferentRegionTest.class, ShallowHistoryTest.class,
+		SimpleHierachyTest.class, StateIsActiveTest.class,
+		StatechartLocalReactionsTest.class, StringExpressionsTest.class,
+		SyncForkTest.class, SyncJoinTest.class, ValuedEventsTest.class,
+		SimpleEventTest.class})
+public class AllTests {
+}

+ 58 - 58
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/AlwaysOncycleTest.java

@@ -1,58 +1,58 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for AlwaysOncycle
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class AlwaysOncycleTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("AlwaysOncycle.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void alwaysOncycleTest() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("StateA"));
-		while (getInteger("value") < 5) {
-			interpreter.runCycle();
-			assertTrue(isActive("StateA"));
-		}
-		interpreter.runCycle();
-		assertTrue(isActive("StateB"));
-		while (getInteger("value") < 5) {
-			interpreter.runCycle();
-			assertTrue(isActive("StateB"));
-		}
-		interpreter.runCycle();
-		assertTrue(isActive("StateA"));
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for AlwaysOncycle
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class AlwaysOncycleTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("AlwaysOncycle.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void alwaysOncycleTest() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("StateA"));
+		while (getInteger("value") < 5) {
+			interpreter.runCycle();
+			assertTrue(isActive("StateA"));
+		}
+		interpreter.runCycle();
+		assertTrue(isActive("StateB"));
+		while (getInteger("value") < 5) {
+			interpreter.runCycle();
+			assertTrue(isActive("StateB"));
+		}
+		interpreter.runCycle();
+		assertTrue(isActive("StateA"));
+	}
+}

+ 48 - 48
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/AssignmentAsExpressionTest.java

@@ -1,48 +1,48 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for AssignmentAsExpression
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class AssignmentAsExpressionTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("AssignmentAsExpression.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void simpleAssignment() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("A"));
-		assertTrue(getInteger("b") == 5);
-		assertTrue(getInteger("a") == 9);
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for AssignmentAsExpression
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class AssignmentAsExpressionTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("AssignmentAsExpression.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void simpleAssignment() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		assertTrue(getInteger("b") == 5);
+		assertTrue(getInteger("a") == 9);
+	}
+}

+ 57 - 57
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/BitExpressionsTest.java

@@ -1,57 +1,57 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for BitExpressions
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class BitExpressionsTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("BitExpressions.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void BitExpressions() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("StateA"));
-		assertTrue(getInteger("myBit1") == 5);
-		assertTrue(getInteger("myBit2") == 7);
-		raiseEvent("e1");
-		interpreter.runCycle();
-		assertTrue(isActive("StateB"));
-		assertTrue(getInteger("leftBitshift") == 10);
-		assertTrue(getInteger("rightBitshift") == 2);
-		assertTrue(getInteger("complementBitshift") == -6);
-		assertTrue(getInteger("bitwiseAnd") == 5);
-		assertTrue(getInteger("bitwiseOr") == 7);
-		assertTrue(getInteger("bitwiseXor") == 2);
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for BitExpressions
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class BitExpressionsTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("BitExpressions.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void BitExpressions() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("StateA"));
+		assertTrue(getInteger("myBit1") == 5);
+		assertTrue(getInteger("myBit2") == 7);
+		raiseEvent("e1");
+		interpreter.runCycle();
+		assertTrue(isActive("StateB"));
+		assertTrue(getInteger("leftBitshift") == 10);
+		assertTrue(getInteger("rightBitshift") == 2);
+		assertTrue(getInteger("complementBitshift") == -6);
+		assertTrue(getInteger("bitwiseAnd") == 5);
+		assertTrue(getInteger("bitwiseOr") == 7);
+		assertTrue(getInteger("bitwiseXor") == 2);
+	}
+}

+ 56 - 56
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/BooleanExpressionsTest.java

@@ -1,56 +1,56 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for BooleanExpressions
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class BooleanExpressionsTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("BooleanExpressions.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void booleanExpressions() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("StateA"));
-		assertTrue(getBoolean("myBool1") == true);
-		assertTrue(getBoolean("myBool2") == false);
-		raiseEvent("e1");
-		interpreter.runCycle();
-		assertTrue(isActive("StateB"));
-		assertTrue(getBoolean("and") == false);
-		assertTrue(getBoolean("or") == true);
-		assertTrue(getBoolean("not") == false);
-		assertTrue(getBoolean("equal") == false);
-		assertTrue(getBoolean("notequal") == true);
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for BooleanExpressions
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class BooleanExpressionsTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("BooleanExpressions.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void booleanExpressions() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("StateA"));
+		assertTrue(getBoolean("myBool1") == true);
+		assertTrue(getBoolean("myBool2") == false);
+		raiseEvent("e1");
+		interpreter.runCycle();
+		assertTrue(isActive("StateB"));
+		assertTrue(getBoolean("and") == false);
+		assertTrue(getBoolean("or") == true);
+		assertTrue(getBoolean("not") == false);
+		assertTrue(getBoolean("equal") == false);
+		assertTrue(getBoolean("notequal") == true);
+	}
+}

+ 51 - 51
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/CKeywordsTest.java

@@ -1,51 +1,51 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for CKeywords
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class CKeywordsTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("CKeywords.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void CKeywordsTest() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("char"));
-		raiseEvent("auto");
-		interpreter.runCycle();
-		assertTrue(isActive("const"));
-		assertTrue(isActive("case"));
-		assertTrue(isActive("asm"));
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for CKeywords
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class CKeywordsTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("CKeywords.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void CKeywordsTest() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("char"));
+		raiseEvent("auto");
+		interpreter.runCycle();
+		assertTrue(isActive("const"));
+		assertTrue(isActive("case"));
+		assertTrue(isActive("asm"));
+	}
+}

+ 72 - 72
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/ChoiceTest.java

@@ -1,72 +1,72 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for Choice
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class ChoiceTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models.loadExecutionFlowFromResource("Choice.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void choiceTest() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("A"));
-		assertTrue(getInteger("value") == 4);
-		raiseEvent("pressKey");
-		interpreter.runCycle();
-		assertTrue(isActive("B"));
-		assertTrue(getInteger("value") == 3);
-		raiseEvent("pressKey");
-		interpreter.runCycle();
-		assertTrue(isActive("A"));
-		raiseEvent("pressKey");
-		interpreter.runCycle();
-		assertTrue(isActive("C"));
-		assertTrue(getInteger("value") == 2);
-		raiseEvent("pressKey");
-		interpreter.runCycle();
-		assertTrue(isActive("B"));
-		assertTrue(getInteger("value") == 1);
-		raiseEvent("pressKey");
-		interpreter.runCycle();
-		assertTrue(isActive("A"));
-		assertTrue(getInteger("value") == 1);
-		raiseEvent("pressKey");
-		interpreter.runCycle();
-		assertTrue(isActive("C"));
-		assertTrue(getInteger("value") == 0);
-		raiseEvent("pressKey");
-		interpreter.runCycle();
-		assertTrue(isActive("A"));
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for Choice
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class ChoiceTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models.loadExecutionFlowFromResource("Choice.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void choiceTest() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		assertTrue(getInteger("value") == 4);
+		raiseEvent("pressKey");
+		interpreter.runCycle();
+		assertTrue(isActive("B"));
+		assertTrue(getInteger("value") == 3);
+		raiseEvent("pressKey");
+		interpreter.runCycle();
+		assertTrue(isActive("A"));
+		raiseEvent("pressKey");
+		interpreter.runCycle();
+		assertTrue(isActive("C"));
+		assertTrue(getInteger("value") == 2);
+		raiseEvent("pressKey");
+		interpreter.runCycle();
+		assertTrue(isActive("B"));
+		assertTrue(getInteger("value") == 1);
+		raiseEvent("pressKey");
+		interpreter.runCycle();
+		assertTrue(isActive("A"));
+		assertTrue(getInteger("value") == 1);
+		raiseEvent("pressKey");
+		interpreter.runCycle();
+		assertTrue(isActive("C"));
+		assertTrue(getInteger("value") == 0);
+		raiseEvent("pressKey");
+		interpreter.runCycle();
+		assertTrue(isActive("A"));
+	}
+}

+ 45 - 0
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/DeclarationsTest.java

@@ -0,0 +1,45 @@
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for Declarations
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class DeclarationsTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("Declarations.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void declarationsTest() throws Exception {
+		interpreter.enter();
+	}
+}

+ 63 - 63
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/DeepHistoryTest.java

@@ -1,63 +1,63 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for DeepHistory
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class DeepHistoryTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("DeepHistory.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void deepHistoryTest() throws Exception {
-		interpreter.enter();
-		raiseEvent("event1");
-		interpreter.runCycle();
-		raiseEvent("event3");
-		interpreter.runCycle();
-		raiseEvent("event5");
-		interpreter.runCycle();
-		raiseEvent("event7");
-		interpreter.runCycle();
-		assertTrue(!isActive("State1"));
-		assertTrue(isActive("State9"));
-		raiseEvent("event2");
-		interpreter.runCycle();
-		assertTrue(isActive("State1"));
-		assertTrue(!isActive("State9"));
-		raiseEvent("event1");
-		interpreter.runCycle();
-		assertTrue(!isActive("State1"));
-		assertTrue(isActive("State9"));
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for DeepHistory
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class DeepHistoryTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("DeepHistory.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void deepHistoryTest() throws Exception {
+		interpreter.enter();
+		raiseEvent("event1");
+		interpreter.runCycle();
+		raiseEvent("event3");
+		interpreter.runCycle();
+		raiseEvent("event5");
+		interpreter.runCycle();
+		raiseEvent("event7");
+		interpreter.runCycle();
+		assertTrue(!isActive("State1"));
+		assertTrue(isActive("State9"));
+		raiseEvent("event2");
+		interpreter.runCycle();
+		assertTrue(isActive("State1"));
+		assertTrue(!isActive("State9"));
+		raiseEvent("event1");
+		interpreter.runCycle();
+		assertTrue(!isActive("State1"));
+		assertTrue(isActive("State9"));
+	}
+}

+ 56 - 56
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/ExitOnSelfTransitionTest.java

@@ -1,56 +1,56 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for ExitOnSelfTransition
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class ExitOnSelfTransitionTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("ExitOnSelfTransition.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void ExitOnSelfTransitionTest() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("A"));
-		assertTrue(getInteger("entryCount") == 1);
-		assertTrue(getInteger("exitCount") == 0);
-		raiseEvent("e");
-		interpreter.runCycle();
-		assertTrue(getInteger("entryCount") == 2);
-		assertTrue(getInteger("exitCount") == 1);
-		raiseEvent("f");
-		interpreter.runCycle();
-		assertTrue(getInteger("entryCount") == 2);
-		assertTrue(getInteger("exitCount") == 2);
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for ExitOnSelfTransition
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class ExitOnSelfTransitionTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("ExitOnSelfTransition.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void ExitOnSelfTransitionTest() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		assertTrue(getInteger("entryCount") == 1);
+		assertTrue(getInteger("exitCount") == 0);
+		raiseEvent("e");
+		interpreter.runCycle();
+		assertTrue(getInteger("entryCount") == 2);
+		assertTrue(getInteger("exitCount") == 1);
+		raiseEvent("f");
+		interpreter.runCycle();
+		assertTrue(getInteger("entryCount") == 2);
+		assertTrue(getInteger("exitCount") == 2);
+	}
+}

+ 48 - 0
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/FeatureCallsTest.java

@@ -0,0 +1,48 @@
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for FeatureCalls
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class FeatureCallsTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("FeatureCalls.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void FeatureCalls() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		interpreter.runCycle();
+		assertTrue(isActive("A"));
+	}
+}

+ 60 - 60
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/GuardTest.java

@@ -1,60 +1,60 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for Guard
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class GuardTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models.loadExecutionFlowFromResource("Guard.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void guardTest() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("A"));
-		raiseEvent("Event1");
-		interpreter.runCycle();
-		assertTrue(isActive("A"));
-		raiseEvent("Event2");
-		interpreter.runCycle();
-		assertTrue(isActive("B"));
-		raiseEvent("Return");
-		interpreter.runCycle();
-		assertTrue(isActive("A"));
-		raiseEvent("Event1");
-		interpreter.runCycle();
-		assertTrue(isActive("B"));
-		raiseEvent("Return");
-		interpreter.runCycle();
-		assertTrue(isActive("A"));
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for Guard
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class GuardTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models.loadExecutionFlowFromResource("Guard.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void guardTest() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		raiseEvent("Event1");
+		interpreter.runCycle();
+		assertTrue(isActive("A"));
+		raiseEvent("Event2");
+		interpreter.runCycle();
+		assertTrue(isActive("B"));
+		raiseEvent("Return");
+		interpreter.runCycle();
+		assertTrue(isActive("A"));
+		raiseEvent("Event1");
+		interpreter.runCycle();
+		assertTrue(isActive("B"));
+		raiseEvent("Return");
+		interpreter.runCycle();
+		assertTrue(isActive("A"));
+	}
+}

+ 83 - 85
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/GuardedEntryTest.java

@@ -1,85 +1,83 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for GuardedEntry
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class GuardedEntryTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("GuardedEntry.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void EntryNotTakenOnStatechartEnter() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("A"));
-		assertTrue(getBoolean("done") == false);
-	}
-	@Test
-	public void EntryTakenOnStatechartEnter() throws Exception {
-		interpreter.enter();
-		setBoolean("guard", true);
-		assertTrue(
-				"sctunit does not allow modifiing variables before entering the state machine!",
-				false);
-		assertTrue(isActive("A"));
-		assertTrue(getBoolean("done") == true);
-	}
-	@Test
-	public void EntryTakenInTransition() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("A"));
-		raiseEvent("e");
-		interpreter.runCycle();
-		assertTrue(isActive("B"));
-		setBoolean("guard", true);
-		setBoolean("done", false);
-		raiseEvent("e");
-		interpreter.runCycle();
-		assertTrue(isActive("A"));
-		assertTrue(getBoolean("done"));
-	}
-	@Test
-	public void EntryNotTakenInTransition() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("A"));
-		raiseEvent("e");
-		interpreter.runCycle();
-		assertTrue(isActive("B"));
-		setBoolean("guard", false);
-		setBoolean("done", false);
-		raiseEvent("e");
-		interpreter.runCycle();
-		assertTrue(isActive("A"));
-		assertTrue(!getBoolean("done"));
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for GuardedEntry
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class GuardedEntryTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("GuardedEntry.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void EntryNotTakenOnStatechartEnter() throws Exception {
+		assertTrue(getBoolean("guard") == false);
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		assertTrue(getBoolean("done") == false);
+	}
+	@Test
+	public void EntryTakenOnStatechartEnter() throws Exception {
+		setBoolean("guard", true);
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		assertTrue(getBoolean("done") == true);
+	}
+	@Test
+	public void EntryTakenInTransition() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		raiseEvent("e");
+		interpreter.runCycle();
+		assertTrue(isActive("B"));
+		setBoolean("guard", true);
+		setBoolean("done", false);
+		raiseEvent("e");
+		interpreter.runCycle();
+		assertTrue(isActive("A"));
+		assertTrue(getBoolean("done"));
+	}
+	@Test
+	public void EntryNotTakenInTransition() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		raiseEvent("e");
+		interpreter.runCycle();
+		assertTrue(isActive("B"));
+		setBoolean("guard", false);
+		setBoolean("done", false);
+		raiseEvent("e");
+		interpreter.runCycle();
+		assertTrue(isActive("A"));
+		assertTrue(!getBoolean("done"));
+	}
+}

+ 61 - 61
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/GuardedExitTest.java

@@ -1,61 +1,61 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for GuardedExit
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class GuardedExitTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("GuardedExit.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void ExitTaken() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("A"));
-		assertTrue(!getBoolean("guard"));
-		raiseEvent("e");
-		interpreter.runCycle();
-		assertTrue(isActive("B"));
-		assertTrue(!getBoolean("done"));
-	}
-	@Test
-	public void ExitNotTaken() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("A"));
-		setBoolean("guard", true);
-		raiseEvent("e");
-		interpreter.runCycle();
-		assertTrue(isActive("B"));
-		assertTrue(getBoolean("done"));
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for GuardedExit
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class GuardedExitTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("GuardedExit.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void ExitTaken() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		assertTrue(!getBoolean("guard"));
+		raiseEvent("e");
+		interpreter.runCycle();
+		assertTrue(isActive("B"));
+		assertTrue(!getBoolean("done"));
+	}
+	@Test
+	public void ExitNotTaken() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		setBoolean("guard", true);
+		raiseEvent("e");
+		interpreter.runCycle();
+		assertTrue(isActive("B"));
+		assertTrue(getBoolean("done"));
+	}
+}

+ 67 - 67
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/IntegerExpressionsTest.java

@@ -1,67 +1,67 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for IntegerExpressions
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class IntegerExpressionsTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("IntegerExpressions.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void integerExpressions() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("StateA"));
-		assertTrue(getInteger("myInt1") == 10);
-		assertTrue(getInteger("myInt2") == 5);
-		raiseEvent("e1");
-		interpreter.runCycle();
-		assertTrue(getBoolean("less") == false);
-		assertTrue(getBoolean("greater") == true);
-		assertTrue(getBoolean("equalOrLess") == false);
-		assertTrue(getBoolean("equalOrGreater") == true);
-		assertTrue(getBoolean("equal") == false);
-		assertTrue(getBoolean("notEqual") == true);
-		assertTrue(getInteger("plus") == 15);
-		assertTrue(getInteger("minus") == 5);
-		assertTrue(getInteger("multiply") == 50);
-		assertTrue(getInteger("division") == 2);
-		assertTrue(getInteger("modulo") == 0);
-		assertTrue(getInteger("negat") == -10);
-		assertTrue(getInteger("multiAssign") == 20);
-		assertTrue(getInteger("divAssign") == 2);
-		assertTrue(getInteger("plusAssign") == 12);
-		assertTrue(getInteger("minusAssign") == -8);
-		assertTrue(getInteger("moduloAssign") == 0);
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for IntegerExpressions
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class IntegerExpressionsTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("IntegerExpressions.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void integerExpressions() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("StateA"));
+		assertTrue(getInteger("myInt1") == 10);
+		assertTrue(getInteger("myInt2") == 5);
+		raiseEvent("e1");
+		interpreter.runCycle();
+		assertTrue(getBoolean("less") == false);
+		assertTrue(getBoolean("greater") == true);
+		assertTrue(getBoolean("equalOrLess") == false);
+		assertTrue(getBoolean("equalOrGreater") == true);
+		assertTrue(getBoolean("equal") == false);
+		assertTrue(getBoolean("notEqual") == true);
+		assertTrue(getInteger("plus") == 15);
+		assertTrue(getInteger("minus") == 5);
+		assertTrue(getInteger("multiply") == 50);
+		assertTrue(getInteger("division") == 2);
+		assertTrue(getInteger("modulo") == 0);
+		assertTrue(getInteger("negat") == -10);
+		assertTrue(getInteger("multiAssign") == 20);
+		assertTrue(getInteger("divAssign") == 2);
+		assertTrue(getInteger("plusAssign") == 12);
+		assertTrue(getInteger("minusAssign") == -8);
+		assertTrue(getInteger("moduloAssign") == 0);
+	}
+}

+ 61 - 61
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/InternalEventLifeCycleTest.java

@@ -1,61 +1,61 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for InternalEventLifeCycle
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class InternalEventLifeCycleTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("InternalEventLifeCycle.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void InternalEventLifeCycleTest() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("A"));
-		assertTrue(isActive("C"));
-		raiseEvent("e");
-		interpreter.runCycle();
-		assertTrue(isActive("A"));
-		assertTrue(isActive("D"));
-		interpreter.runCycle();
-		assertTrue(isActive("A"));
-		assertTrue(isActive("D"));
-		raiseEvent("f");
-		interpreter.runCycle();
-		assertTrue(isActive("A"));
-		assertTrue(isActive("C"));
-		interpreter.runCycle();
-		assertTrue(isActive("A"));
-		assertTrue(isActive("C"));
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for InternalEventLifeCycle
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class InternalEventLifeCycleTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("InternalEventLifeCycle.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void InternalEventLifeCycleTest() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		assertTrue(isActive("C"));
+		raiseEvent("e");
+		interpreter.runCycle();
+		assertTrue(isActive("A"));
+		assertTrue(isActive("D"));
+		interpreter.runCycle();
+		assertTrue(isActive("A"));
+		assertTrue(isActive("D"));
+		raiseEvent("f");
+		interpreter.runCycle();
+		assertTrue(isActive("A"));
+		assertTrue(isActive("C"));
+		interpreter.runCycle();
+		assertTrue(isActive("A"));
+		assertTrue(isActive("C"));
+	}
+}

+ 47 - 47
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/ParenthesisTest.java

@@ -1,47 +1,47 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for Parenthesis
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class ParenthesisTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("Parenthesis.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void simple() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("A"));
-		assertTrue(getInteger("erg") == 8);
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for Parenthesis
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class ParenthesisTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("Parenthesis.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void simple() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		assertTrue(getInteger("erg") == 8);
+	}
+}

+ 95 - 95
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/PerformanceTestTest.java

@@ -1,95 +1,95 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for PerformanceTest
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class PerformanceTestTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("PerformanceTest.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void test_100_000() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("A"));
-		while (getInteger("c") < 100000) {
-			if (isActive("A")) {
-				raiseEvent("e1");;
-			} else {
-				if (getInteger("c") % 2 == 0) {
-					raiseEvent("e2");;
-				} else {
-					raiseEvent("e3");;
-				};
-			}
-			interpreter.runCycle();
-		}
-		assertTrue(getInteger("a") > 2);
-	}
-	@Test
-	public void test_1_000_000() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("A"));
-		while (getInteger("c") < 1000000) {
-			if (isActive("A")) {
-				raiseEvent("e1");;
-			} else {
-				if (getInteger("c") % 2 == 0) {
-					raiseEvent("e2");;
-				} else {
-					raiseEvent("e3");;
-				};
-			}
-			interpreter.runCycle();
-		}
-		assertTrue(getInteger("a") > 2);
-	}
-	@Test
-	public void test_10_000_000() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("A"));
-		while (getInteger("c") < 10000000) {
-			if (isActive("A")) {
-				raiseEvent("e1");;
-			} else {
-				if (getInteger("c") % 2 == 0) {
-					raiseEvent("e2");;
-				} else {
-					raiseEvent("e3");;
-				};
-			}
-			interpreter.runCycle();
-		}
-		assertTrue(getInteger("a") > 2);
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for PerformanceTest
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class PerformanceTestTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("PerformanceTest.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void test_100_000() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		while (getInteger("c") < 100000) {
+			if (isActive("A")) {
+				raiseEvent("e1");;
+			} else {
+				if (getInteger("c") % 2 == 0) {
+					raiseEvent("e2");;
+				} else {
+					raiseEvent("e3");;
+				};
+			}
+			interpreter.runCycle();
+		}
+		assertTrue(getInteger("a") > 2);
+	}
+	@Test
+	public void test_1_000_000() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		while (getInteger("c") < 1000000) {
+			if (isActive("A")) {
+				raiseEvent("e1");;
+			} else {
+				if (getInteger("c") % 2 == 0) {
+					raiseEvent("e2");;
+				} else {
+					raiseEvent("e3");;
+				};
+			}
+			interpreter.runCycle();
+		}
+		assertTrue(getInteger("a") > 2);
+	}
+	@Test
+	public void test_10_000_000() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		while (getInteger("c") < 10000000) {
+			if (isActive("A")) {
+				raiseEvent("e1");;
+			} else {
+				if (getInteger("c") % 2 == 0) {
+					raiseEvent("e2");;
+				} else {
+					raiseEvent("e3");;
+				};
+			}
+			interpreter.runCycle();
+		}
+		assertTrue(getInteger("a") > 2);
+	}
+}

+ 58 - 58
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/PriorityValuesTest.java

@@ -1,58 +1,58 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for PriorityValues
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class PriorityValuesTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("PriorityValues.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void transitionPriority() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("A"));
-		raiseEvent("event1");
-		interpreter.runCycle();
-		assertTrue(isActive("C"));
-	}
-	@Test
-	public void regionPriority() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("A"));
-		raiseEvent("event2");
-		interpreter.runCycle();
-		assertTrue(isActive("B"));
-		assertTrue(!isActive("E"));
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for PriorityValues
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class PriorityValuesTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("PriorityValues.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void transitionPriority() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		raiseEvent("event1");
+		interpreter.runCycle();
+		assertTrue(isActive("C"));
+	}
+	@Test
+	public void regionPriority() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		raiseEvent("event2");
+		interpreter.runCycle();
+		assertTrue(isActive("B"));
+		assertTrue(!isActive("E"));
+	}
+}

+ 52 - 52
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/RaiseEventTest.java

@@ -1,52 +1,52 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for RaiseEvent
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class RaiseEventTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("RaiseEvent.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void raiseEvent() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("SateA"));
-		assertTrue(isActive("StateA"));
-		raiseEvent("e2");
-		interpreter.runCycle();
-		interpreter.runCycle();
-		assertTrue(isActive("StateB"));
-		assertTrue(isActive("StateB"));
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for RaiseEvent
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class RaiseEventTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("RaiseEvent.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void raiseEvent() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("SateA"));
+		assertTrue(isActive("StateA"));
+		raiseEvent("e2");
+		interpreter.runCycle();
+		interpreter.runCycle();
+		assertTrue(isActive("StateB"));
+		assertTrue(isActive("StateB"));
+	}
+}

+ 54 - 54
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/SameNameDifferentRegionTest.java

@@ -1,54 +1,54 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for SameNameDifferentRegion
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class SameNameDifferentRegionTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("SameNameDifferentRegion.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void sameNameDifferenRegionTest() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("StateA"));
-		raiseEvent("e1");
-		interpreter.runCycle();
-		assertTrue(isActive("StateB"));
-		assertTrue(isActive("StateA"));
-		raiseEvent("e1");
-		interpreter.runCycle();
-		assertTrue(isActive("StateB"));
-		assertTrue(isActive("StateB"));
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for SameNameDifferentRegion
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class SameNameDifferentRegionTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("SameNameDifferentRegion.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void sameNameDifferenRegionTest() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("StateA"));
+		raiseEvent("e1");
+		interpreter.runCycle();
+		assertTrue(isActive("StateB"));
+		assertTrue(isActive("StateA"));
+		raiseEvent("e1");
+		interpreter.runCycle();
+		assertTrue(isActive("StateB"));
+		assertTrue(isActive("StateB"));
+	}
+}

+ 75 - 75
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/ShallowHistoryTest.java

@@ -1,75 +1,75 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for ShallowHistory
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class ShallowHistoryTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("ShallowHistory.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void shallowHistoryTest() throws Exception {
-		interpreter.enter();
-		raiseEvent("event1");
-		interpreter.runCycle();
-		raiseEvent("event3");
-		interpreter.runCycle();
-		raiseEvent("event5");
-		interpreter.runCycle();
-		raiseEvent("event7");
-		interpreter.runCycle();
-		assertTrue(!isActive("State1"));
-		assertTrue(isActive("State9"));
-		raiseEvent("event6");
-		interpreter.runCycle();
-		assertTrue(!isActive("State9"));
-		assertTrue(isActive("State6"));
-		raiseEvent("event5");
-		interpreter.runCycle();
-		assertTrue(!isActive("State8"));
-		assertTrue(isActive("State9"));
-		raiseEvent("event2");
-		interpreter.runCycle();
-		assertTrue(!isActive("State9"));
-		assertTrue(isActive("State1"));
-		raiseEvent("event1");
-		interpreter.runCycle();
-		assertTrue(isActive("State6"));
-		assertTrue(!isActive("State1"));
-		raiseEvent("event5");
-		interpreter.runCycle();
-		assertTrue(!isActive("State6"));
-		assertTrue(isActive("State9"));
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for ShallowHistory
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class ShallowHistoryTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("ShallowHistory.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void shallowHistoryTest() throws Exception {
+		interpreter.enter();
+		raiseEvent("event1");
+		interpreter.runCycle();
+		raiseEvent("event3");
+		interpreter.runCycle();
+		raiseEvent("event5");
+		interpreter.runCycle();
+		raiseEvent("event7");
+		interpreter.runCycle();
+		assertTrue(!isActive("State1"));
+		assertTrue(isActive("State9"));
+		raiseEvent("event6");
+		interpreter.runCycle();
+		assertTrue(!isActive("State9"));
+		assertTrue(isActive("State6"));
+		raiseEvent("event5");
+		interpreter.runCycle();
+		assertTrue(!isActive("State8"));
+		assertTrue(isActive("State9"));
+		raiseEvent("event2");
+		interpreter.runCycle();
+		assertTrue(!isActive("State9"));
+		assertTrue(isActive("State1"));
+		raiseEvent("event1");
+		interpreter.runCycle();
+		assertTrue(isActive("State6"));
+		assertTrue(!isActive("State1"));
+		raiseEvent("event5");
+		interpreter.runCycle();
+		assertTrue(!isActive("State6"));
+		assertTrue(isActive("State9"));
+	}
+}

+ 50 - 50
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/SimpleEventTest.java

@@ -1,50 +1,50 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for SimpleEvent
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class SimpleEventTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("SimpleEvent.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void simpleEventTest() throws Exception {
-		interpreter.enter();
-		assertTrue("Expected A to be active", isActive("A"));
-		assertTrue(5 == 5);
-		raiseEvent("Event1");
-		interpreter.runCycle();
-		assertTrue("Expected B to be active", isActive("B"));
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for SimpleEvent
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class SimpleEventTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("SimpleEvent.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void simpleEventTest() throws Exception {
+		interpreter.enter();
+		assertTrue("Expected A to be active", isActive("A"));
+		assertTrue(5 == 5);
+		raiseEvent("Event1");
+		interpreter.runCycle();
+		assertTrue("Expected B to be active", isActive("B"));
+	}
+}

+ 52 - 52
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/SimpleHierachyTest.java

@@ -1,52 +1,52 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for SimpleHierachy
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class SimpleHierachyTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("SimpleHierachy.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void simpleHierachyTest() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("A"));
-		raiseEvent("Event1");
-		raiseEvent("Event1");
-		raiseEvent("Event1");
-		interpreter.runCycle();
-		assertTrue(isActive("B"));
-		assertTrue(isActive("B1"));
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for SimpleHierachy
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class SimpleHierachyTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("SimpleHierachy.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void simpleHierachyTest() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		raiseEvent("Event1");
+		raiseEvent("Event1");
+		raiseEvent("Event1");
+		interpreter.runCycle();
+		assertTrue(isActive("B"));
+		assertTrue(isActive("B1"));
+	}
+}

+ 52 - 52
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/StateIsActiveTest.java

@@ -1,52 +1,52 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for StateIsActive
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class StateIsActiveTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("StateIsActive.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void stateIsActive() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("R1A"));
-		assertTrue(isActive("R2A"));
-		raiseEvent("Event1");
-		interpreter.runCycle();
-		interpreter.runCycle();
-		assertTrue(isActive("R1B"));
-		assertTrue(isActive("R2B"));
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for StateIsActive
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class StateIsActiveTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("StateIsActive.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void stateIsActive() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("R1A"));
+		assertTrue(isActive("R2A"));
+		raiseEvent("Event1");
+		interpreter.runCycle();
+		interpreter.runCycle();
+		assertTrue(isActive("R1B"));
+		assertTrue(isActive("R2B"));
+	}
+}

+ 56 - 56
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/StatechartLocalReactionsTest.java

@@ -1,56 +1,56 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for StatechartLocalReactions
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class StatechartLocalReactionsTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("StatechartLocalReactions.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void statechartLocalReactionsTest() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("S1"));
-		assertTrue(isActive("a"));
-		while (getInteger("myInt") < 10) {
-			assertTrue(isActive("a"));
-			if (getInteger("myInt") % 2 == 0) {
-				assertTrue(isActive("S1"));;
-			} else {
-				assertTrue(isActive("S2"));;
-			}
-			interpreter.runCycle();
-		}
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for StatechartLocalReactions
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class StatechartLocalReactionsTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("StatechartLocalReactions.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void statechartLocalReactionsTest() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("S1"));
+		assertTrue(isActive("a"));
+		while (getInteger("myInt") < 10) {
+			assertTrue(isActive("a"));
+			if (getInteger("myInt") % 2 == 0) {
+				assertTrue(isActive("S1"));;
+			} else {
+				assertTrue(isActive("S2"));;
+			}
+			interpreter.runCycle();
+		}
+	}
+}

+ 53 - 53
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/StringExpressionsTest.java

@@ -1,53 +1,53 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for StringExpressions
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class StringExpressionsTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("StringExpressions.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void StringExpressionsTest() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("StateA"));
-		assertTrue(getString("myString").equals("hello"));
-		assertTrue(getString("myString2").equals("world"));
-		raiseEvent("e1");
-		interpreter.runCycle();
-		assertTrue(isActive("StateB"));
-		assertTrue(getBoolean("equals") == false);
-		assertTrue(getBoolean("notEqual") == true);
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for StringExpressions
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class StringExpressionsTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("StringExpressions.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void StringExpressionsTest() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("StateA"));
+		assertTrue(getString("myString").equals("hello"));
+		assertTrue(getString("myString2").equals("world"));
+		raiseEvent("e1");
+		interpreter.runCycle();
+		assertTrue(isActive("StateB"));
+		assertTrue(getBoolean("equals") == false);
+		assertTrue(getBoolean("notEqual") == true);
+	}
+}

+ 64 - 64
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/SyncForkTest.java

@@ -1,64 +1,64 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for SyncFork
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class SyncForkTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("SyncFork.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void syncForkTest() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("A"));
-		raiseEvent("f");
-		interpreter.runCycle();
-		assertTrue(isActive("B"));
-		assertTrue(isActive("C1"));
-		assertTrue(isActive("D1"));
-		raiseEvent("f");
-		interpreter.runCycle();
-		assertTrue(isActive("B"));
-		assertTrue(isActive("C2"));
-		assertTrue(isActive("D2"));
-		raiseEvent("e");
-		interpreter.runCycle();
-		assertTrue(isActive("A"));
-		raiseEvent("f");
-		interpreter.runCycle();
-		assertTrue(isActive("B"));
-		assertTrue(isActive("C1"));
-		assertTrue(isActive("D1"));
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for SyncFork
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class SyncForkTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("SyncFork.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void syncForkTest() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("A"));
+		raiseEvent("f");
+		interpreter.runCycle();
+		assertTrue(isActive("B"));
+		assertTrue(isActive("C1"));
+		assertTrue(isActive("D1"));
+		raiseEvent("f");
+		interpreter.runCycle();
+		assertTrue(isActive("B"));
+		assertTrue(isActive("C2"));
+		assertTrue(isActive("D2"));
+		raiseEvent("e");
+		interpreter.runCycle();
+		assertTrue(isActive("A"));
+		raiseEvent("f");
+		interpreter.runCycle();
+		assertTrue(isActive("B"));
+		assertTrue(isActive("C1"));
+		assertTrue(isActive("D1"));
+	}
+}

+ 109 - 109
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/SyncJoinTest.java

@@ -1,109 +1,109 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for SyncJoin
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class SyncJoinTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("SyncJoin.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void syncJoin_C2_Waits() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("B"));
-		assertTrue(isActive("C1"));
-		assertTrue(isActive("D1"));
-		raiseEvent("e");
-		interpreter.runCycle();
-		assertTrue(isActive("C2"));
-		assertTrue(isActive("D1"));
-		raiseEvent("jc");
-		interpreter.runCycle();
-		assertTrue(isActive("C2"));
-		assertTrue(isActive("D1"));
-		raiseEvent("jd");
-		interpreter.runCycle();
-		assertTrue(isActive("C2"));
-		assertTrue(isActive("D1"));
-		raiseEvent("jc");
-		raiseEvent("jd");
-		interpreter.runCycle();
-		assertTrue(isActive("C2"));
-		assertTrue(isActive("D1"));
-		raiseEvent("f");
-		interpreter.runCycle();
-		assertTrue(isActive("C2"));
-		assertTrue(isActive("D2"));
-		raiseEvent("jc");
-		interpreter.runCycle();
-		assertTrue(isActive("C2"));
-		assertTrue(isActive("D2"));
-		raiseEvent("jd");
-		interpreter.runCycle();
-		assertTrue(isActive("C2"));
-		assertTrue(isActive("D2"));
-		raiseEvent("jc");
-		raiseEvent("jd");
-		interpreter.runCycle();
-		assertTrue(isActive("A"));
-	}
-	@Test
-	public void syncJoin_D2_Waits() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("B"));
-		assertTrue(isActive("C1"));
-		assertTrue(isActive("D1"));
-		raiseEvent("f");
-		interpreter.runCycle();
-		assertTrue(isActive("C1"));
-		assertTrue(isActive("D2"));
-		raiseEvent("jc");
-		interpreter.runCycle();
-		assertTrue(isActive("C1"));
-		assertTrue(isActive("D2"));
-		raiseEvent("jd");
-		interpreter.runCycle();
-		assertTrue(isActive("C1"));
-		assertTrue(isActive("D2"));
-		raiseEvent("jc");
-		raiseEvent("jd");
-		interpreter.runCycle();
-		assertTrue(isActive("C1"));
-		assertTrue(isActive("D2"));
-		raiseEvent("e");
-		interpreter.runCycle();
-		assertTrue(isActive("C2"));
-		assertTrue(isActive("D2"));
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for SyncJoin
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class SyncJoinTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("SyncJoin.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void syncJoin_C2_Waits() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("B"));
+		assertTrue(isActive("C1"));
+		assertTrue(isActive("D1"));
+		raiseEvent("e");
+		interpreter.runCycle();
+		assertTrue(isActive("C2"));
+		assertTrue(isActive("D1"));
+		raiseEvent("jc");
+		interpreter.runCycle();
+		assertTrue(isActive("C2"));
+		assertTrue(isActive("D1"));
+		raiseEvent("jd");
+		interpreter.runCycle();
+		assertTrue(isActive("C2"));
+		assertTrue(isActive("D1"));
+		raiseEvent("jc");
+		raiseEvent("jd");
+		interpreter.runCycle();
+		assertTrue(isActive("C2"));
+		assertTrue(isActive("D1"));
+		raiseEvent("f");
+		interpreter.runCycle();
+		assertTrue(isActive("C2"));
+		assertTrue(isActive("D2"));
+		raiseEvent("jc");
+		interpreter.runCycle();
+		assertTrue(isActive("C2"));
+		assertTrue(isActive("D2"));
+		raiseEvent("jd");
+		interpreter.runCycle();
+		assertTrue(isActive("C2"));
+		assertTrue(isActive("D2"));
+		raiseEvent("jc");
+		raiseEvent("jd");
+		interpreter.runCycle();
+		assertTrue(isActive("A"));
+	}
+	@Test
+	public void syncJoin_D2_Waits() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("B"));
+		assertTrue(isActive("C1"));
+		assertTrue(isActive("D1"));
+		raiseEvent("f");
+		interpreter.runCycle();
+		assertTrue(isActive("C1"));
+		assertTrue(isActive("D2"));
+		raiseEvent("jc");
+		interpreter.runCycle();
+		assertTrue(isActive("C1"));
+		assertTrue(isActive("D2"));
+		raiseEvent("jd");
+		interpreter.runCycle();
+		assertTrue(isActive("C1"));
+		assertTrue(isActive("D2"));
+		raiseEvent("jc");
+		raiseEvent("jd");
+		interpreter.runCycle();
+		assertTrue(isActive("C1"));
+		assertTrue(isActive("D2"));
+		raiseEvent("e");
+		interpreter.runCycle();
+		assertTrue(isActive("C2"));
+		assertTrue(isActive("D2"));
+	}
+}

+ 49 - 49
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/ValuedEventsTest.java

@@ -1,49 +1,49 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for ValuedEvents
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class ValuedEventsTest extends AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("ValuedEvents.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void valuedEventTest() throws Exception {
-		interpreter.enter();
-		interpreter.runCycle();
-		assertTrue(isActive("A"));
-		assertTrue(isActive("C"));
-		assertTrue(getInteger("myVar") == 42);
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for ValuedEvents
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class ValuedEventsTest extends AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("ValuedEvents.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void valuedEventTest() throws Exception {
+		interpreter.enter();
+		interpreter.runCycle();
+		assertTrue(isActive("A"));
+		assertTrue(isActive("C"));
+		assertTrue(getInteger("myVar") == 42);
+	}
+}

+ 1 - 0
test-plugins/org.yakindu.sct.test.models/.settings/org.eclipse.core.resources.prefs

@@ -8,3 +8,4 @@ encoding//testmodels/GuardedExit.sct=UTF-8
 encoding//testmodels/InternalEventLifeCycle.sct=UTF-8
 encoding//testmodels/PerformanceTest.sct=UTF-8
 encoding//testmodels/SyncJoin.sct=UTF-8
+encoding//testmodels/VariableInitialization.sct=UTF-8

+ 30 - 2
test-plugins/org.yakindu.sct.test.models/testmodels/AssignmentAsExpression.sct

@@ -1,11 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
-  <sgraph:Statechart xmi:id="_jC0fkAbeEeKcGdE-_70tiA" specification="&#xA;interface:&#xA;&#xA;&#x9;var a : integer = 0&#xA;&#x9;var b : integer = 0" name="AssignmentAsExpression">
+  <sgraph:Statechart xmi:id="_jC0fkAbeEeKcGdE-_70tiA" specification="&#xA;interface: &#xA;&#xA;&#x9;var a : integer = 0&#xA;&#x9;var b : integer = 0" name="AssignmentAsExpression">
     <regions xmi:id="_jC1tsgbeEeKcGdE-_70tiA" name="main region">
       <vertices xsi:type="sgraph:Entry" xmi:id="_jC6mNgbeEeKcGdE-_70tiA">
         <outgoingTransitions xmi:id="_jC9CcwbeEeKcGdE-_70tiA" target="_jC70UgbeEeKcGdE-_70tiA"/>
       </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_jC70UgbeEeKcGdE-_70tiA" specification="entry / a = (b = 5) + 4" name="A" incomingTransitions="_jC9CcwbeEeKcGdE-_70tiA"/>
+      <vertices xsi:type="sgraph:State" xmi:id="_jC70UgbeEeKcGdE-_70tiA" specification="entry / a = (b = 5) + 4" name="A" incomingTransitions="_jC9CcwbeEeKcGdE-_70tiA">
+        <outgoingTransitions xmi:id="_GL9vYAbmEeKcGdE-_70tiA" specification="always " target="_GLenMAbmEeKcGdE-_70tiA"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_GLenMAbmEeKcGdE-_70tiA" name="B" incomingTransitions="_GL9vYAbmEeKcGdE-_70tiA"/>
     </regions>
   </sgraph:Statechart>
   <notation:Diagram xmi:id="_jC1tsAbeEeKcGdE-_70tiA" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_jC0fkAbeEeKcGdE-_70tiA" measurementUnit="Pixel">
@@ -43,6 +46,22 @@
           <styles xsi:type="notation:BooleanValueStyle" xmi:id="_jC9CcQbeEeKcGdE-_70tiA"/>
           <layoutConstraint xsi:type="notation:Bounds" xmi:id="_jC9CcgbeEeKcGdE-_70tiA" x="40" y="80" width="223"/>
         </children>
+        <children xmi:id="_GLt3wAbmEeKcGdE-_70tiA" type="State" element="_GLenMAbmEeKcGdE-_70tiA">
+          <children xsi:type="notation:DecorationNode" xmi:id="_GLt3xAbmEeKcGdE-_70tiA" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_GLt3xQbmEeKcGdE-_70tiA"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_GLt3xgbmEeKcGdE-_70tiA"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_GLt3xwbmEeKcGdE-_70tiA" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_GLue0AbmEeKcGdE-_70tiA" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_GLue0QbmEeKcGdE-_70tiA"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_GLue0gbmEeKcGdE-_70tiA" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_GLt3wQbmEeKcGdE-_70tiA" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_GLt3wgbmEeKcGdE-_70tiA"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_GLue0wbmEeKcGdE-_70tiA"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_GLt3wwbmEeKcGdE-_70tiA" x="161" y="225"/>
+        </children>
         <layoutConstraint xsi:type="notation:Bounds" xmi:id="_jC6mNAbeEeKcGdE-_70tiA"/>
       </children>
       <styles xsi:type="notation:ShapeStyle" xmi:id="_jC4J8QbeEeKcGdE-_70tiA" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
@@ -68,5 +87,14 @@
       <styles xsi:type="notation:FontStyle" xmi:id="_jC9pgwbeEeKcGdE-_70tiA" fontName="Verdana"/>
       <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_jC9pggbeEeKcGdE-_70tiA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
     </edges>
+    <edges xmi:id="_GMCA0AbmEeKcGdE-_70tiA" type="Transition" element="_GL9vYAbmEeKcGdE-_70tiA" source="_jC70VAbeEeKcGdE-_70tiA" target="_GLt3wAbmEeKcGdE-_70tiA">
+      <children xsi:type="notation:DecorationNode" xmi:id="_GMCn4QbmEeKcGdE-_70tiA" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_GMCn4gbmEeKcGdE-_70tiA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_GMCn4wbmEeKcGdE-_70tiA" x="-5" y="33"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_GMCA0QbmEeKcGdE-_70tiA" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_GMCn4AbmEeKcGdE-_70tiA" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_GMCA0gbmEeKcGdE-_70tiA" points="[-36, -25, 116, 83]$[-149, -106, 3, 2]"/>
+    </edges>
   </notation:Diagram>
 </xmi:XMI>

+ 114 - 114
test-plugins/org.yakindu.sct.test.models/testmodels/BitExpressions.sct

@@ -1,114 +1,114 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
-  <sgraph:Statechart xmi:id="_-_ezoL-hEeGY1JN0_LPdVA" specification="interface :&#xD;&#xA;var myBit1 : integer&#xD;&#xA;var myBit2 : integer&#xD;&#xA;&#xD;&#xA;var leftBitshift : integer&#xD;&#xA;var rightBitshift : integer&#xD;&#xA;var complementBitshift : integer&#xD;&#xA;&#xD;&#xA;var bitwiseAnd : integer&#xD;&#xA;var bitwiseOr : integer&#xD;&#xA;var bitwiseXor : integer&#xD;&#xA;&#xD;&#xA;in event e1&#xD;&#xA;" name="BitExpressions">
-    <regions xmi:id="_-_ezo7-hEeGY1JN0_LPdVA" name="main region">
-      <vertices xsi:type="sgraph:Entry" xmi:id="_-_n9mb-hEeGY1JN0_LPdVA">
-        <outgoingTransitions xmi:id="_-_n9s7-hEeGY1JN0_LPdVA" target="_-_n9pL-hEeGY1JN0_LPdVA"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_-_n9pL-hEeGY1JN0_LPdVA" specification="entry / &#xD;&#xA;myBit1 = 5;&#xD;&#xA;myBit2 = 7" name="StateA" incomingTransitions="_-_n9s7-hEeGY1JN0_LPdVA">
-        <outgoingTransitions xmi:id="_4tWWwMRNEeG2ApzwxmEQZA" specification="e1" target="_WycAkL-kEeG1VpJAB_S_mw"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_WycAkL-kEeG1VpJAB_S_mw" specification="entry /&#xD;&#xA;leftBitshift =  myBit1&lt;&lt;1;&#xD;&#xA;rightBitshift = myBit1 >> 1;&#xD;&#xA;complementBitshift =  ~myBit1;&#xD;&#xA;&#xD;&#xA;bitwiseAnd = myBit1  &amp; myBit2;&#xD;&#xA;bitwiseOr = myBit1 | myBit2;&#xD;&#xA;bitwiseXor = myBit1 ^ myBit2&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;" name="StateB" incomingTransitions="_4tWWwMRNEeG2ApzwxmEQZA"/>
-    </regions>
-  </sgraph:Statechart>
-  <notation:Diagram xmi:id="_-_ezob-hEeGY1JN0_LPdVA" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_-_ezoL-hEeGY1JN0_LPdVA" measurementUnit="Pixel">
-    <children xmi:id="_-_n9kL-hEeGY1JN0_LPdVA" type="Region" element="_-_ezo7-hEeGY1JN0_LPdVA">
-      <children xsi:type="notation:DecorationNode" xmi:id="_-_n9k7-hEeGY1JN0_LPdVA" type="RegionName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_-_n9lL-hEeGY1JN0_LPdVA"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_-_n9lb-hEeGY1JN0_LPdVA"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_-_n9lr-hEeGY1JN0_LPdVA" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
-        <children xmi:id="_-_n9mr-hEeGY1JN0_LPdVA" type="Entry" element="_-_n9mb-hEeGY1JN0_LPdVA">
-          <children xmi:id="_-_n9nb-hEeGY1JN0_LPdVA" type="BorderItemLabelContainer">
-            <children xsi:type="notation:DecorationNode" xmi:id="_-_n9oL-hEeGY1JN0_LPdVA" type="BorderItemLabel">
-              <styles xsi:type="notation:ShapeStyle" xmi:id="_-_n9ob-hEeGY1JN0_LPdVA"/>
-              <layoutConstraint xsi:type="notation:Location" xmi:id="_-_n9or-hEeGY1JN0_LPdVA"/>
-            </children>
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_-_n9nr-hEeGY1JN0_LPdVA" fontName="Verdana" lineColor="4210752"/>
-            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-_n9n7-hEeGY1JN0_LPdVA"/>
-          </children>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_-_n9m7-hEeGY1JN0_LPdVA" fontName="Verdana" lineColor="4210752"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-_n9o7-hEeGY1JN0_LPdVA" x="54" y="54"/>
-        </children>
-        <children xmi:id="_-_n9pr-hEeGY1JN0_LPdVA" type="State" element="_-_n9pL-hEeGY1JN0_LPdVA">
-          <children xsi:type="notation:DecorationNode" xmi:id="_-_n9qr-hEeGY1JN0_LPdVA" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_-_n9q7-hEeGY1JN0_LPdVA"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_-_n9rL-hEeGY1JN0_LPdVA"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_-_n9rb-hEeGY1JN0_LPdVA" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_-_n9rr-hEeGY1JN0_LPdVA" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-_n9r7-hEeGY1JN0_LPdVA"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_-_n9sL-hEeGY1JN0_LPdVA" type="StateFigureCompartment"/>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_-_n9p7-hEeGY1JN0_LPdVA" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_-_n9qL-hEeGY1JN0_LPdVA"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_-_n9sb-hEeGY1JN0_LPdVA"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-_n9sr-hEeGY1JN0_LPdVA" x="24" y="143"/>
-        </children>
-        <children xmi:id="_WzVYcL-kEeG1VpJAB_S_mw" type="State" element="_WycAkL-kEeG1VpJAB_S_mw">
-          <children xsi:type="notation:DecorationNode" xmi:id="_WzfJcL-kEeG1VpJAB_S_mw" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_WzfJcb-kEeG1VpJAB_S_mw"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_WzfJcr-kEeG1VpJAB_S_mw"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_WzfJc7-kEeG1VpJAB_S_mw" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_WzfJdL-kEeG1VpJAB_S_mw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_WzfJdb-kEeG1VpJAB_S_mw"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_WzfJdr-kEeG1VpJAB_S_mw" type="StateFigureCompartment"/>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_WzVYcb-kEeG1VpJAB_S_mw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_WzVYcr-kEeG1VpJAB_S_mw"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_WzfJd7-kEeG1VpJAB_S_mw"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_WzVYc7-kEeG1VpJAB_S_mw" x="171" y="178"/>
-        </children>
-        <children xsi:type="notation:Shape" xmi:id="_NQx8wL-nEeG1VpJAB_S_mw" type="Note" fontName="Verdana" description="expectations:&#xD;&#xA;leftBitshift = 10&#xD;&#xA;rightBitshift = 2&#xD;&#xA;complementBitshift = -6&#xD;&#xA;bitwiseAnd = 5&#xD;&#xA;bitwiseOr = 7&#xD;&#xA;bitwiseXor = 2" fillColor="13369343" transparency="0" lineColor="6737151" lineWidth="1">
-          <children xsi:type="notation:BasicDecorationNode" xmi:id="_NQx8xL-nEeG1VpJAB_S_mw" type="DiagramName">
-            <element xsi:nil="true"/>
-          </children>
-          <children xsi:type="notation:BasicDecorationNode" xmi:id="_NQx8xb-nEeG1VpJAB_S_mw" type="Description">
-            <element xsi:nil="true"/>
-          </children>
-          <styles xsi:type="notation:TextStyle" xmi:id="_NQx8wb-nEeG1VpJAB_S_mw"/>
-          <styles xsi:type="notation:LineTypeStyle" xmi:id="_NQx8wr-nEeG1VpJAB_S_mw"/>
-          <element xsi:nil="true"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_NQx8w7-nEeG1VpJAB_S_mw" x="185" y="13" width="186" height="126"/>
-        </children>
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-_n9l7-hEeGY1JN0_LPdVA"/>
-      </children>
-      <styles xsi:type="notation:ShapeStyle" xmi:id="_-_n9kb-hEeGY1JN0_LPdVA" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-_n9mL-hEeGY1JN0_LPdVA" x="220" y="10" width="446" height="461"/>
-    </children>
-    <children xsi:type="notation:Shape" xmi:id="_-_xul7-hEeGY1JN0_LPdVA" type="StatechartText" fontName="Verdana" lineColor="4210752">
-      <children xsi:type="notation:DecorationNode" xmi:id="_-_xumb-hEeGY1JN0_LPdVA" type="StatechartName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_-_xumr-hEeGY1JN0_LPdVA"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_-_xum7-hEeGY1JN0_LPdVA"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_-_xunL-hEeGY1JN0_LPdVA" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-_xunb-hEeGY1JN0_LPdVA"/>
-      </children>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-_xunr-hEeGY1JN0_LPdVA" x="10" y="25" width="200" height="400"/>
-    </children>
-    <styles xsi:type="notation:DiagramStyle" xmi:id="_-_ezor-hEeGY1JN0_LPdVA"/>
-    <edges xmi:id="_-_xukL-hEeGY1JN0_LPdVA" type="Transition" element="_-_n9s7-hEeGY1JN0_LPdVA" source="_-_n9mr-hEeGY1JN0_LPdVA" target="_-_n9pr-hEeGY1JN0_LPdVA">
-      <children xsi:type="notation:DecorationNode" xmi:id="_-_xulL-hEeGY1JN0_LPdVA" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_-_xulb-hEeGY1JN0_LPdVA"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_-_xulr-hEeGY1JN0_LPdVA" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_-_xukb-hEeGY1JN0_LPdVA" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_-_xuk7-hEeGY1JN0_LPdVA" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_-_xukr-hEeGY1JN0_LPdVA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
-    </edges>
-    <edges xmi:id="_4tyboMRNEeG2ApzwxmEQZA" type="Transition" element="_4tWWwMRNEeG2ApzwxmEQZA" source="_-_n9pr-hEeGY1JN0_LPdVA" target="_WzVYcL-kEeG1VpJAB_S_mw">
-      <children xsi:type="notation:DecorationNode" xmi:id="_4uF9oMRNEeG2ApzwxmEQZA" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_4uF9ocRNEeG2ApzwxmEQZA"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_4uF9osRNEeG2ApzwxmEQZA" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_4tybocRNEeG2ApzwxmEQZA" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_4tybo8RNEeG2ApzwxmEQZA" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_4tybosRNEeG2ApzwxmEQZA" points="[0, 4, -110, -73]$[0, 77, -110, 0]$[110, 77, 0, 0]"/>
-      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_4urzgMRNEeG2ApzwxmEQZA" id="(0.425531914893617,0.9550561797752809)"/>
-      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_4urzgcRNEeG2ApzwxmEQZA" id="(0.0,0.5470085470085471)"/>
-    </edges>
-  </notation:Diagram>
-</xmi:XMI>
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_-_ezoL-hEeGY1JN0_LPdVA" specification="interface :&#xD;&#xA;var myBit1 : integer&#xD;&#xA;var myBit2 : integer&#xD;&#xA;&#xD;&#xA;var leftBitshift : integer&#xD;&#xA;var rightBitshift : integer&#xD;&#xA;var complementBitshift : integer&#xD;&#xA;&#xD;&#xA;var bitwiseAnd : integer&#xD;&#xA;var bitwiseOr : integer&#xD;&#xA;var bitwiseXor : integer&#xD;&#xA;&#xD;&#xA;in event e1&#xD;&#xA;" name="BitExpressions">
+    <regions xmi:id="_-_ezo7-hEeGY1JN0_LPdVA" name="main region">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_-_n9mb-hEeGY1JN0_LPdVA">
+        <outgoingTransitions xmi:id="_-_n9s7-hEeGY1JN0_LPdVA" target="_-_n9pL-hEeGY1JN0_LPdVA"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_-_n9pL-hEeGY1JN0_LPdVA" specification="entry / &#xD;&#xA;myBit1 = 5;&#xD;&#xA;myBit2 = 7" name="StateA" incomingTransitions="_-_n9s7-hEeGY1JN0_LPdVA">
+        <outgoingTransitions xmi:id="_4tWWwMRNEeG2ApzwxmEQZA" specification="e1" target="_WycAkL-kEeG1VpJAB_S_mw"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_WycAkL-kEeG1VpJAB_S_mw" specification="entry /&#xD;&#xA;leftBitshift =  myBit1&lt;&lt;1;&#xD;&#xA;rightBitshift = myBit1 >> 1;&#xD;&#xA;complementBitshift =  ~myBit1;&#xD;&#xA;&#xD;&#xA;bitwiseAnd = myBit1  &amp; myBit2;&#xD;&#xA;bitwiseOr = myBit1 | myBit2;&#xD;&#xA;bitwiseXor = myBit1 ^ myBit2&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;" name="StateB" incomingTransitions="_4tWWwMRNEeG2ApzwxmEQZA"/>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_-_ezob-hEeGY1JN0_LPdVA" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_-_ezoL-hEeGY1JN0_LPdVA" measurementUnit="Pixel">
+    <children xmi:id="_-_n9kL-hEeGY1JN0_LPdVA" type="Region" element="_-_ezo7-hEeGY1JN0_LPdVA">
+      <children xsi:type="notation:DecorationNode" xmi:id="_-_n9k7-hEeGY1JN0_LPdVA" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_-_n9lL-hEeGY1JN0_LPdVA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_-_n9lb-hEeGY1JN0_LPdVA"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_-_n9lr-hEeGY1JN0_LPdVA" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_-_n9mr-hEeGY1JN0_LPdVA" type="Entry" element="_-_n9mb-hEeGY1JN0_LPdVA">
+          <children xmi:id="_-_n9nb-hEeGY1JN0_LPdVA" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_-_n9oL-hEeGY1JN0_LPdVA" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_-_n9ob-hEeGY1JN0_LPdVA"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_-_n9or-hEeGY1JN0_LPdVA"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_-_n9nr-hEeGY1JN0_LPdVA" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-_n9n7-hEeGY1JN0_LPdVA"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_-_n9m7-hEeGY1JN0_LPdVA" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-_n9o7-hEeGY1JN0_LPdVA" x="54" y="54"/>
+        </children>
+        <children xmi:id="_-_n9pr-hEeGY1JN0_LPdVA" type="State" element="_-_n9pL-hEeGY1JN0_LPdVA">
+          <children xsi:type="notation:DecorationNode" xmi:id="_-_n9qr-hEeGY1JN0_LPdVA" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_-_n9q7-hEeGY1JN0_LPdVA"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_-_n9rL-hEeGY1JN0_LPdVA"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_-_n9rb-hEeGY1JN0_LPdVA" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_-_n9rr-hEeGY1JN0_LPdVA" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-_n9r7-hEeGY1JN0_LPdVA"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_-_n9sL-hEeGY1JN0_LPdVA" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_-_n9p7-hEeGY1JN0_LPdVA" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_-_n9qL-hEeGY1JN0_LPdVA"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_-_n9sb-hEeGY1JN0_LPdVA"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-_n9sr-hEeGY1JN0_LPdVA" x="24" y="143"/>
+        </children>
+        <children xmi:id="_WzVYcL-kEeG1VpJAB_S_mw" type="State" element="_WycAkL-kEeG1VpJAB_S_mw">
+          <children xsi:type="notation:DecorationNode" xmi:id="_WzfJcL-kEeG1VpJAB_S_mw" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_WzfJcb-kEeG1VpJAB_S_mw"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_WzfJcr-kEeG1VpJAB_S_mw"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_WzfJc7-kEeG1VpJAB_S_mw" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_WzfJdL-kEeG1VpJAB_S_mw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_WzfJdb-kEeG1VpJAB_S_mw"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_WzfJdr-kEeG1VpJAB_S_mw" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_WzVYcb-kEeG1VpJAB_S_mw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_WzVYcr-kEeG1VpJAB_S_mw"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_WzfJd7-kEeG1VpJAB_S_mw"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_WzVYc7-kEeG1VpJAB_S_mw" x="171" y="178"/>
+        </children>
+        <children xsi:type="notation:Shape" xmi:id="_NQx8wL-nEeG1VpJAB_S_mw" type="Note" fontName="Verdana" description="expectations:&#xD;&#xA;leftBitshift = 10&#xD;&#xA;rightBitshift = 2&#xD;&#xA;complementBitshift = -6&#xD;&#xA;bitwiseAnd = 5&#xD;&#xA;bitwiseOr = 7&#xD;&#xA;bitwiseXor = 2" fillColor="13369343" transparency="0" lineColor="6737151" lineWidth="1">
+          <children xsi:type="notation:BasicDecorationNode" xmi:id="_NQx8xL-nEeG1VpJAB_S_mw" type="DiagramName">
+            <element xsi:nil="true"/>
+          </children>
+          <children xsi:type="notation:BasicDecorationNode" xmi:id="_NQx8xb-nEeG1VpJAB_S_mw" type="Description">
+            <element xsi:nil="true"/>
+          </children>
+          <styles xsi:type="notation:TextStyle" xmi:id="_NQx8wb-nEeG1VpJAB_S_mw"/>
+          <styles xsi:type="notation:LineTypeStyle" xmi:id="_NQx8wr-nEeG1VpJAB_S_mw"/>
+          <element xsi:nil="true"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_NQx8w7-nEeG1VpJAB_S_mw" x="185" y="13" width="186" height="126"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-_n9l7-hEeGY1JN0_LPdVA"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_-_n9kb-hEeGY1JN0_LPdVA" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-_n9mL-hEeGY1JN0_LPdVA" x="220" y="10" width="446" height="461"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_-_xul7-hEeGY1JN0_LPdVA" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_-_xumb-hEeGY1JN0_LPdVA" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_-_xumr-hEeGY1JN0_LPdVA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_-_xum7-hEeGY1JN0_LPdVA"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_-_xunL-hEeGY1JN0_LPdVA" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-_xunb-hEeGY1JN0_LPdVA"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-_xunr-hEeGY1JN0_LPdVA" x="12" y="10" width="200" height="400"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_-_ezor-hEeGY1JN0_LPdVA"/>
+    <edges xmi:id="_-_xukL-hEeGY1JN0_LPdVA" type="Transition" element="_-_n9s7-hEeGY1JN0_LPdVA" source="_-_n9mr-hEeGY1JN0_LPdVA" target="_-_n9pr-hEeGY1JN0_LPdVA">
+      <children xsi:type="notation:DecorationNode" xmi:id="_-_xulL-hEeGY1JN0_LPdVA" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_-_xulb-hEeGY1JN0_LPdVA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_-_xulr-hEeGY1JN0_LPdVA" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_-_xukb-hEeGY1JN0_LPdVA" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_-_xuk7-hEeGY1JN0_LPdVA" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_-_xukr-hEeGY1JN0_LPdVA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_4tyboMRNEeG2ApzwxmEQZA" type="Transition" element="_4tWWwMRNEeG2ApzwxmEQZA" source="_-_n9pr-hEeGY1JN0_LPdVA" target="_WzVYcL-kEeG1VpJAB_S_mw">
+      <children xsi:type="notation:DecorationNode" xmi:id="_4uF9oMRNEeG2ApzwxmEQZA" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_4uF9ocRNEeG2ApzwxmEQZA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_4uF9osRNEeG2ApzwxmEQZA" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_4tybocRNEeG2ApzwxmEQZA" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_4tybo8RNEeG2ApzwxmEQZA" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_4tybosRNEeG2ApzwxmEQZA" points="[0, 4, -110, -73]$[0, 77, -110, 0]$[110, 77, 0, 0]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_4urzgMRNEeG2ApzwxmEQZA" id="(0.425531914893617,0.9550561797752809)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_4urzgcRNEeG2ApzwxmEQZA" id="(0.0,0.5470085470085471)"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

File diff suppressed because it is too large
+ 216 - 216
test-plugins/org.yakindu.sct.test.models/testmodels/CKeywords.sct


+ 420 - 420
test-plugins/org.yakindu.sct.test.models/testmodels/DeepHistory.sct

@@ -1,420 +1,420 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
-  <sgraph:Statechart xmi:id="_XoS0wPZlEeCSetPXFd1ZUw" specification="interface:&#xA;in event event1&#xA;in event event2&#xA;in event event3&#xA;in event event4&#xA;in event event5&#xA;in event event6&#xA;in event event7&#xA;in event event8&#xA;in event event9&#xA;&#xA;" name="DeepHistory">
-    <regions xmi:id="_XoTb0vZlEeCSetPXFd1ZUw" name="mainRegion">
-      <vertices xsi:type="sgraph:Entry" xmi:id="_Dd7OAPimEeCPG5ImOgba0Q">
-        <outgoingTransitions xmi:id="_Dd71EPimEeCPG5ImOgba0Q" target="_Dd71EfimEeCPG5ImOgba0Q"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_Dd71EfimEeCPG5ImOgba0Q" name="State1" incomingTransitions="_Dd71EPimEeCPG5ImOgba0Q _Dd71GPimEeCPG5ImOgba0Q">
-        <outgoingTransitions xmi:id="_Dd71EvimEeCPG5ImOgba0Q" specification="event1" target="_Dd71F_imEeCPG5ImOgba0Q"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_Dd71F_imEeCPG5ImOgba0Q" name="State2" incomingTransitions="_Dd71EvimEeCPG5ImOgba0Q">
-        <outgoingTransitions xmi:id="_Dd71GPimEeCPG5ImOgba0Q" specification="event2" target="_Dd71EfimEeCPG5ImOgba0Q"/>
-        <regions xmi:id="_Dd71HPimEeCPG5ImOgba0Q">
-          <vertices xsi:type="sgraph:State" xmi:id="_Dd71H_imEeCPG5ImOgba0Q" name="a" incomingTransitions="_QlbEMPiwEeCmAZxZWLaQmA">
-            <outgoingTransitions xmi:id="_Dd71IPimEeCPG5ImOgba0Q" specification="" target="_Dd71JPimEeCPG5ImOgba0Q"/>
-          </vertices>
-          <vertices xsi:type="sgraph:State" xmi:id="_Dd71JPimEeCPG5ImOgba0Q" name="State4" incomingTransitions="_Dd71IPimEeCPG5ImOgba0Q">
-            <outgoingTransitions xmi:id="_Dd71JfimEeCPG5ImOgba0Q" specification="event4" target="_Dd8cPPimEeCPG5ImOgba0Q"/>
-            <regions xmi:id="_Dd8cIvimEeCPG5ImOgba0Q">
-              <vertices xsi:type="sgraph:Entry" xmi:id="_Dd8cI_imEeCPG5ImOgba0Q">
-                <outgoingTransitions xmi:id="_Dd8cJPimEeCPG5ImOgba0Q" target="_Dd8cJfimEeCPG5ImOgba0Q"/>
-              </vertices>
-              <vertices xsi:type="sgraph:State" xmi:id="_Dd8cJfimEeCPG5ImOgba0Q" name="State6" incomingTransitions="_Dd8cJPimEeCPG5ImOgba0Q _Dd8cK_imEeCPG5ImOgba0Q">
-                <outgoingTransitions xmi:id="_Dd8cJvimEeCPG5ImOgba0Q" specification="event5" target="_Dd8cKvimEeCPG5ImOgba0Q"/>
-              </vertices>
-              <vertices xsi:type="sgraph:State" xmi:id="_Dd8cKvimEeCPG5ImOgba0Q" name="State7" incomingTransitions="_Dd8cJvimEeCPG5ImOgba0Q">
-                <outgoingTransitions xmi:id="_Dd8cK_imEeCPG5ImOgba0Q" specification="event6" target="_Dd8cJfimEeCPG5ImOgba0Q"/>
-                <regions xmi:id="_Dd8cL_imEeCPG5ImOgba0Q">
-                  <vertices xsi:type="sgraph:State" xmi:id="_Dd8cMPimEeCPG5ImOgba0Q" name="State8" incomingTransitions="_Dd8cNvimEeCPG5ImOgba0Q _TyjukPiwEeCmAZxZWLaQmA">
-                    <outgoingTransitions xmi:id="_Dd8cMfimEeCPG5ImOgba0Q" specification="event7" target="_Dd8cNfimEeCPG5ImOgba0Q"/>
-                  </vertices>
-                  <vertices xsi:type="sgraph:State" xmi:id="_Dd8cNfimEeCPG5ImOgba0Q" name="State9" incomingTransitions="_Dd8cMfimEeCPG5ImOgba0Q">
-                    <outgoingTransitions xmi:id="_Dd8cNvimEeCPG5ImOgba0Q" specification="event8" target="_Dd8cMPimEeCPG5ImOgba0Q"/>
-                  </vertices>
-                  <vertices xsi:type="sgraph:Entry" xmi:id="_TCRhIPiwEeCmAZxZWLaQmA">
-                    <outgoingTransitions xmi:id="_TyjukPiwEeCmAZxZWLaQmA" target="_Dd8cMPimEeCPG5ImOgba0Q"/>
-                  </vertices>
-                </regions>
-              </vertices>
-            </regions>
-          </vertices>
-          <vertices xsi:type="sgraph:State" xmi:id="_Dd8cPPimEeCPG5ImOgba0Q" name="State5" incomingTransitions="_Dd71JfimEeCPG5ImOgba0Q"/>
-          <vertices xsi:type="sgraph:Entry" xmi:id="_PkyGkPiwEeCmAZxZWLaQmA" kind="DEEP_HISTORY">
-            <outgoingTransitions xmi:id="_QlbEMPiwEeCmAZxZWLaQmA" target="_Dd71H_imEeCPG5ImOgba0Q"/>
-          </vertices>
-        </regions>
-      </vertices>
-    </regions>
-  </sgraph:Statechart>
-  <notation:Diagram xmi:id="_XoTb0PZlEeCSetPXFd1ZUw" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_XoS0wPZlEeCSetPXFd1ZUw" measurementUnit="Pixel">
-    <children xmi:id="_XoUC4PZlEeCSetPXFd1ZUw" type="Region" element="_XoTb0vZlEeCSetPXFd1ZUw">
-      <children xsi:type="notation:DecorationNode" xmi:id="_XoUC4_ZlEeCSetPXFd1ZUw" type="RegionName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_XoUC5PZlEeCSetPXFd1ZUw"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_XoUC5fZlEeCSetPXFd1ZUw"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_XoUC5vZlEeCSetPXFd1ZUw" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
-        <children xmi:id="_Dd4xwfimEeCPG5ImOgba0Q" type="Entry" element="_Dd7OAPimEeCPG5ImOgba0Q">
-          <children xmi:id="_Dd4xwvimEeCPG5ImOgba0Q" type="BorderItemLabelContainer">
-            <children xsi:type="notation:DecorationNode" xmi:id="_Dd4xw_imEeCPG5ImOgba0Q" type="BorderItemLabel">
-              <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd4xxPimEeCPG5ImOgba0Q"/>
-              <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd4xxfimEeCPG5ImOgba0Q"/>
-            </children>
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd4xxvimEeCPG5ImOgba0Q" fontName="Verdana" lineColor="4210752"/>
-            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd4xx_imEeCPG5ImOgba0Q"/>
-          </children>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd4xyPimEeCPG5ImOgba0Q" fontName="Verdana" lineColor="4210752"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd4xyfimEeCPG5ImOgba0Q" x="80" y="30"/>
-        </children>
-        <children xmi:id="_Dd5Y0PimEeCPG5ImOgba0Q" type="State" element="_Dd71EfimEeCPG5ImOgba0Q">
-          <children xsi:type="notation:DecorationNode" xmi:id="_Dd5Y0fimEeCPG5ImOgba0Q" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5Y0vimEeCPG5ImOgba0Q"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5Y0_imEeCPG5ImOgba0Q"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_Dd5Y1PimEeCPG5ImOgba0Q" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_Dd5Y1fimEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5Y1vimEeCPG5ImOgba0Q"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_Dd5Y1_imEeCPG5ImOgba0Q" type="StateFigureCompartment"/>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5Y2PimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_Dd5Y2fimEeCPG5ImOgba0Q"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd5Y2vimEeCPG5ImOgba0Q"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5Y2_imEeCPG5ImOgba0Q" x="19" y="135" width="96"/>
-        </children>
-        <children xmi:id="_Dd5Y3PimEeCPG5ImOgba0Q" type="State" element="_Dd71F_imEeCPG5ImOgba0Q">
-          <children xsi:type="notation:DecorationNode" xmi:id="_Dd5Y3fimEeCPG5ImOgba0Q" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5Y3vimEeCPG5ImOgba0Q"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5Y3_imEeCPG5ImOgba0Q"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_Dd5Y4PimEeCPG5ImOgba0Q" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_Dd5Y4fimEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5Y4vimEeCPG5ImOgba0Q"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_Dd5Y4_imEeCPG5ImOgba0Q" type="StateFigureCompartment">
-            <children xmi:id="_Dd5Y5PimEeCPG5ImOgba0Q" type="Region" element="_Dd71HPimEeCPG5ImOgba0Q">
-              <children xsi:type="notation:DecorationNode" xmi:id="_Dd5Y5fimEeCPG5ImOgba0Q" type="RegionName">
-                <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5Y5vimEeCPG5ImOgba0Q"/>
-                <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5Y5_imEeCPG5ImOgba0Q"/>
-              </children>
-              <children xsi:type="notation:Shape" xmi:id="_Dd5Y6PimEeCPG5ImOgba0Q" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
-                <children xmi:id="_Dd5Y8vimEeCPG5ImOgba0Q" type="State" element="_Dd71H_imEeCPG5ImOgba0Q">
-                  <children xsi:type="notation:DecorationNode" xmi:id="_Dd5Y8_imEeCPG5ImOgba0Q" type="StateName">
-                    <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5Y9PimEeCPG5ImOgba0Q"/>
-                    <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5Y9fimEeCPG5ImOgba0Q"/>
-                  </children>
-                  <children xsi:type="notation:Compartment" xmi:id="_Dd5Y9vimEeCPG5ImOgba0Q" type="StateTextCompartment">
-                    <children xsi:type="notation:Shape" xmi:id="_Dd5Y9_imEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5Y-PimEeCPG5ImOgba0Q"/>
-                    </children>
-                  </children>
-                  <children xsi:type="notation:Compartment" xmi:id="_Dd5Y-fimEeCPG5ImOgba0Q" type="StateFigureCompartment"/>
-                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5Y-vimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-                  <styles xsi:type="notation:FontStyle" xmi:id="_Dd5Y-_imEeCPG5ImOgba0Q"/>
-                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd5Y_PimEeCPG5ImOgba0Q"/>
-                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5Y_fimEeCPG5ImOgba0Q" x="115" y="49" width="72"/>
-                </children>
-                <children xmi:id="_Dd5Y_vimEeCPG5ImOgba0Q" type="State" element="_Dd71JPimEeCPG5ImOgba0Q">
-                  <children xsi:type="notation:DecorationNode" xmi:id="_Dd5Y__imEeCPG5ImOgba0Q" type="StateName">
-                    <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5ZAPimEeCPG5ImOgba0Q"/>
-                    <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5ZAfimEeCPG5ImOgba0Q"/>
-                  </children>
-                  <children xsi:type="notation:Compartment" xmi:id="_Dd5ZAvimEeCPG5ImOgba0Q" type="StateTextCompartment">
-                    <children xsi:type="notation:Shape" xmi:id="_Dd5ZA_imEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5ZBPimEeCPG5ImOgba0Q"/>
-                    </children>
-                  </children>
-                  <children xsi:type="notation:Compartment" xmi:id="_Dd5ZBfimEeCPG5ImOgba0Q" type="StateFigureCompartment">
-                    <children xmi:id="_Dd5_4PimEeCPG5ImOgba0Q" type="Region" element="_Dd8cIvimEeCPG5ImOgba0Q">
-                      <children xsi:type="notation:DecorationNode" xmi:id="_Dd5_4fimEeCPG5ImOgba0Q" type="RegionName">
-                        <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5_4vimEeCPG5ImOgba0Q"/>
-                        <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5_4_imEeCPG5ImOgba0Q"/>
-                      </children>
-                      <children xsi:type="notation:Shape" xmi:id="_Dd5_5PimEeCPG5ImOgba0Q" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
-                        <children xmi:id="_Dd5_5fimEeCPG5ImOgba0Q" type="Entry" element="_Dd8cI_imEeCPG5ImOgba0Q">
-                          <children xmi:id="_Dd5_5vimEeCPG5ImOgba0Q" type="BorderItemLabelContainer">
-                            <children xsi:type="notation:DecorationNode" xmi:id="_Dd5_5_imEeCPG5ImOgba0Q" type="BorderItemLabel">
-                              <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5_6PimEeCPG5ImOgba0Q"/>
-                              <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5_6fimEeCPG5ImOgba0Q"/>
-                            </children>
-                            <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5_6vimEeCPG5ImOgba0Q" fontName="Verdana" lineColor="4210752"/>
-                            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5_6_imEeCPG5ImOgba0Q"/>
-                          </children>
-                          <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5_7PimEeCPG5ImOgba0Q" fontName="Verdana" lineColor="4210752"/>
-                          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5_7fimEeCPG5ImOgba0Q" x="19" y="31"/>
-                        </children>
-                        <children xmi:id="_Dd5_7vimEeCPG5ImOgba0Q" type="State" element="_Dd8cJfimEeCPG5ImOgba0Q">
-                          <children xsi:type="notation:DecorationNode" xmi:id="_Dd5_7_imEeCPG5ImOgba0Q" type="StateName">
-                            <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5_8PimEeCPG5ImOgba0Q"/>
-                            <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5_8fimEeCPG5ImOgba0Q"/>
-                          </children>
-                          <children xsi:type="notation:Compartment" xmi:id="_Dd5_8vimEeCPG5ImOgba0Q" type="StateTextCompartment">
-                            <children xsi:type="notation:Shape" xmi:id="_Dd5_8_imEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-                              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5_9PimEeCPG5ImOgba0Q"/>
-                            </children>
-                          </children>
-                          <children xsi:type="notation:Compartment" xmi:id="_Dd5_9fimEeCPG5ImOgba0Q" type="StateFigureCompartment"/>
-                          <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5_9vimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-                          <styles xsi:type="notation:FontStyle" xmi:id="_Dd5_9_imEeCPG5ImOgba0Q"/>
-                          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd5_-PimEeCPG5ImOgba0Q"/>
-                          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5_-fimEeCPG5ImOgba0Q" x="198" y="19" width="75"/>
-                        </children>
-                        <children xmi:id="_Dd5_-vimEeCPG5ImOgba0Q" type="State" element="_Dd8cKvimEeCPG5ImOgba0Q">
-                          <children xsi:type="notation:DecorationNode" xmi:id="_Dd5_-_imEeCPG5ImOgba0Q" type="StateName">
-                            <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5__PimEeCPG5ImOgba0Q"/>
-                            <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5__fimEeCPG5ImOgba0Q"/>
-                          </children>
-                          <children xsi:type="notation:Compartment" xmi:id="_Dd5__vimEeCPG5ImOgba0Q" type="StateTextCompartment" collapsed="true">
-                            <children xsi:type="notation:Shape" xmi:id="_Dd5___imEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-                              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AAPimEeCPG5ImOgba0Q"/>
-                            </children>
-                          </children>
-                          <children xsi:type="notation:Compartment" xmi:id="_Dd6AAfimEeCPG5ImOgba0Q" type="StateFigureCompartment">
-                            <children xmi:id="_Dd6AAvimEeCPG5ImOgba0Q" type="Region" element="_Dd8cL_imEeCPG5ImOgba0Q">
-                              <children xsi:type="notation:DecorationNode" xmi:id="_Dd6AA_imEeCPG5ImOgba0Q" type="RegionName">
-                                <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6ABPimEeCPG5ImOgba0Q"/>
-                                <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd6ABfimEeCPG5ImOgba0Q"/>
-                              </children>
-                              <children xsi:type="notation:Shape" xmi:id="_Dd6ABvimEeCPG5ImOgba0Q" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
-                                <children xmi:id="_Dd6AB_imEeCPG5ImOgba0Q" type="State" element="_Dd8cMPimEeCPG5ImOgba0Q">
-                                  <children xsi:type="notation:DecorationNode" xmi:id="_Dd6ACPimEeCPG5ImOgba0Q" type="StateName">
-                                    <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6ACfimEeCPG5ImOgba0Q"/>
-                                    <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd6ACvimEeCPG5ImOgba0Q"/>
-                                  </children>
-                                  <children xsi:type="notation:Compartment" xmi:id="_Dd6AC_imEeCPG5ImOgba0Q" type="StateTextCompartment">
-                                    <children xsi:type="notation:Shape" xmi:id="_Dd6ADPimEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-                                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6ADfimEeCPG5ImOgba0Q"/>
-                                    </children>
-                                  </children>
-                                  <children xsi:type="notation:Compartment" xmi:id="_Dd6ADvimEeCPG5ImOgba0Q" type="StateFigureCompartment"/>
-                                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AD_imEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-                                  <styles xsi:type="notation:FontStyle" xmi:id="_Dd6AEPimEeCPG5ImOgba0Q"/>
-                                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd6AEfimEeCPG5ImOgba0Q"/>
-                                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AEvimEeCPG5ImOgba0Q" x="71" y="7" width="72"/>
-                                </children>
-                                <children xmi:id="_Dd6AE_imEeCPG5ImOgba0Q" type="State" element="_Dd8cNfimEeCPG5ImOgba0Q">
-                                  <children xsi:type="notation:DecorationNode" xmi:id="_Dd6AFPimEeCPG5ImOgba0Q" type="StateName">
-                                    <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AFfimEeCPG5ImOgba0Q"/>
-                                    <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd6AFvimEeCPG5ImOgba0Q"/>
-                                  </children>
-                                  <children xsi:type="notation:Compartment" xmi:id="_Dd6AF_imEeCPG5ImOgba0Q" type="StateTextCompartment">
-                                    <children xsi:type="notation:Shape" xmi:id="_Dd6AGPimEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-                                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AGfimEeCPG5ImOgba0Q"/>
-                                    </children>
-                                  </children>
-                                  <children xsi:type="notation:Compartment" xmi:id="_Dd6AGvimEeCPG5ImOgba0Q" type="StateFigureCompartment"/>
-                                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AG_imEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-                                  <styles xsi:type="notation:FontStyle" xmi:id="_Dd6AHPimEeCPG5ImOgba0Q"/>
-                                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd6AHfimEeCPG5ImOgba0Q"/>
-                                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AHvimEeCPG5ImOgba0Q" x="219" y="13" width="74"/>
-                                </children>
-                                <children xmi:id="_TCSIMPiwEeCmAZxZWLaQmA" type="Entry" element="_TCRhIPiwEeCmAZxZWLaQmA">
-                                  <children xmi:id="_TCSvQPiwEeCmAZxZWLaQmA" type="BorderItemLabelContainer">
-                                    <children xsi:type="notation:DecorationNode" xmi:id="_TCSvQ_iwEeCmAZxZWLaQmA" type="BorderItemLabel">
-                                      <styles xsi:type="notation:ShapeStyle" xmi:id="_TCSvRPiwEeCmAZxZWLaQmA"/>
-                                      <layoutConstraint xsi:type="notation:Location" xmi:id="_TCSvRfiwEeCmAZxZWLaQmA"/>
-                                    </children>
-                                    <styles xsi:type="notation:ShapeStyle" xmi:id="_TCSvQfiwEeCmAZxZWLaQmA" fontName="Verdana" lineColor="4210752"/>
-                                    <layoutConstraint xsi:type="notation:Bounds" xmi:id="_TCSvQviwEeCmAZxZWLaQmA"/>
-                                  </children>
-                                  <styles xsi:type="notation:ShapeStyle" xmi:id="_TCSIMfiwEeCmAZxZWLaQmA" fontName="Verdana" lineColor="4210752"/>
-                                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_TCSIMviwEeCmAZxZWLaQmA" x="23" y="27"/>
-                                </children>
-                                <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AKPimEeCPG5ImOgba0Q"/>
-                              </children>
-                              <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AKfimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
-                              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AKvimEeCPG5ImOgba0Q"/>
-                            </children>
-                          </children>
-                          <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AK_imEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-                          <styles xsi:type="notation:FontStyle" xmi:id="_Dd6ALPimEeCPG5ImOgba0Q"/>
-                          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd6ALfimEeCPG5ImOgba0Q"/>
-                          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6ALvimEeCPG5ImOgba0Q" x="33" y="127" width="354" height="225"/>
-                        </children>
-                        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AL_imEeCPG5ImOgba0Q"/>
-                      </children>
-                      <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AMPimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
-                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AMfimEeCPG5ImOgba0Q"/>
-                    </children>
-                  </children>
-                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AMvimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-                  <styles xsi:type="notation:FontStyle" xmi:id="_Dd6AM_imEeCPG5ImOgba0Q"/>
-                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd6ANPimEeCPG5ImOgba0Q"/>
-                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6ANfimEeCPG5ImOgba0Q" x="278" y="5" width="441" height="447"/>
-                </children>
-                <children xmi:id="_Dd6ANvimEeCPG5ImOgba0Q" type="State" element="_Dd8cPPimEeCPG5ImOgba0Q">
-                  <children xsi:type="notation:DecorationNode" xmi:id="_Dd6AN_imEeCPG5ImOgba0Q" type="StateName">
-                    <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AOPimEeCPG5ImOgba0Q"/>
-                    <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd6AOfimEeCPG5ImOgba0Q"/>
-                  </children>
-                  <children xsi:type="notation:Compartment" xmi:id="_Dd6AOvimEeCPG5ImOgba0Q" type="StateTextCompartment">
-                    <children xsi:type="notation:Shape" xmi:id="_Dd6AO_imEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6APPimEeCPG5ImOgba0Q"/>
-                    </children>
-                  </children>
-                  <children xsi:type="notation:Compartment" xmi:id="_Dd6APfimEeCPG5ImOgba0Q" type="StateFigureCompartment"/>
-                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6APvimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-                  <styles xsi:type="notation:FontStyle" xmi:id="_Dd6AP_imEeCPG5ImOgba0Q"/>
-                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd6AQPimEeCPG5ImOgba0Q"/>
-                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6m8PimEeCPG5ImOgba0Q" x="62" y="355" width="86"/>
-                </children>
-                <children xmi:id="_Pk2YAPiwEeCmAZxZWLaQmA" type="DeepHistory" element="_PkyGkPiwEeCmAZxZWLaQmA">
-                  <children xmi:id="_Pk3mIPiwEeCmAZxZWLaQmA" type="BorderItemLabelContainer">
-                    <children xsi:type="notation:DecorationNode" xmi:id="_Pk4NMPiwEeCmAZxZWLaQmA" type="BorderItemLabel">
-                      <styles xsi:type="notation:ShapeStyle" xmi:id="_Pk4NMfiwEeCmAZxZWLaQmA"/>
-                      <layoutConstraint xsi:type="notation:Location" xmi:id="_Pk4NMviwEeCmAZxZWLaQmA"/>
-                    </children>
-                    <styles xsi:type="notation:ShapeStyle" xmi:id="_Pk3mIfiwEeCmAZxZWLaQmA" fontName="Verdana" lineColor="4210752"/>
-                    <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Pk3mIviwEeCmAZxZWLaQmA"/>
-                  </children>
-                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Pk2YAfiwEeCmAZxZWLaQmA" fontName="Verdana" lineColor="4210752"/>
-                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Pk2YAviwEeCmAZxZWLaQmA" x="39" y="28"/>
-                </children>
-                <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6m8fimEeCPG5ImOgba0Q"/>
-              </children>
-              <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6m8vimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6m8_imEeCPG5ImOgba0Q"/>
-            </children>
-          </children>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6m9PimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_Dd6m9fimEeCPG5ImOgba0Q"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd6m9vimEeCPG5ImOgba0Q"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6m9_imEeCPG5ImOgba0Q" x="215" y="23" width="785" height="589"/>
-        </children>
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_XoUC5_ZlEeCSetPXFd1ZUw"/>
-      </children>
-      <styles xsi:type="notation:ShapeStyle" xmi:id="_XoUC4fZlEeCSetPXFd1ZUw" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_XoUp8PZlEeCSetPXFd1ZUw" x="220" y="10" width="993" height="675"/>
-    </children>
-    <children xsi:type="notation:Shape" xmi:id="_XoXGN_ZlEeCSetPXFd1ZUw" type="StatechartText" fontName="Verdana" lineColor="4210752">
-      <children xsi:type="notation:DecorationNode" xmi:id="_XoXtQPZlEeCSetPXFd1ZUw" type="StatechartName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_XoXtQfZlEeCSetPXFd1ZUw"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_XoXtQvZlEeCSetPXFd1ZUw"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_XoXtQ_ZlEeCSetPXFd1ZUw" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_XoXtRPZlEeCSetPXFd1ZUw"/>
-      </children>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_XoXtRfZlEeCSetPXFd1ZUw" x="10" y="10" width="200" height="400"/>
-    </children>
-    <styles xsi:type="notation:DiagramStyle" xmi:id="_XoTb0fZlEeCSetPXFd1ZUw"/>
-    <edges xmi:id="_DmuksPimEeCPG5ImOgba0Q" type="Transition" element="_Dd8cMfimEeCPG5ImOgba0Q" source="_Dd6AB_imEeCPG5ImOgba0Q" target="_Dd6AE_imEeCPG5ImOgba0Q">
-      <children xsi:type="notation:DecorationNode" xmi:id="_DmuktPimEeCPG5ImOgba0Q" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_DmuktfimEeCPG5ImOgba0Q"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_DmuktvimEeCPG5ImOgba0Q" x="1" y="-10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_DmuksfimEeCPG5ImOgba0Q" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_Dmuks_imEeCPG5ImOgba0Q" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_DmuksvimEeCPG5ImOgba0Q" points="[26, 6, -122, 0]$[74, -9, -74, -15]$[123, 6, -25, 0]"/>
-      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_NnamgPimEeCPG5ImOgba0Q" id="(0.09803921568627451,0.31746031746031744)"/>
-    </edges>
-    <edges xmi:id="_Dmvy0PimEeCPG5ImOgba0Q" type="Transition" element="_Dd8cNvimEeCPG5ImOgba0Q" source="_Dd6AE_imEeCPG5ImOgba0Q" target="_Dd6AB_imEeCPG5ImOgba0Q">
-      <children xsi:type="notation:DecorationNode" xmi:id="_Dmvy1PimEeCPG5ImOgba0Q" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_Dmvy1fimEeCPG5ImOgba0Q"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_Dmvy1vimEeCPG5ImOgba0Q" y="-13"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Dmvy0fimEeCPG5ImOgba0Q" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_Dmvy0_imEeCPG5ImOgba0Q" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Dmvy0vimEeCPG5ImOgba0Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
-      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_OM7HUPimEeCPG5ImOgba0Q" id="(0.0392156862745098,0.6349206349206349)"/>
-      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_PgEKMPimEeCPG5ImOgba0Q" id="(0.9607843137254902,0.7619047619047619)"/>
-    </edges>
-    <edges xmi:id="_Dp2KIPimEeCPG5ImOgba0Q" type="Transition" element="_Dd8cK_imEeCPG5ImOgba0Q" source="_Dd5_-vimEeCPG5ImOgba0Q" target="_Dd5_7vimEeCPG5ImOgba0Q">
-      <children xsi:type="notation:DecorationNode" xmi:id="_Dp2xMfimEeCPG5ImOgba0Q" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_Dp2xMvimEeCPG5ImOgba0Q"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_Dp2xM_imEeCPG5ImOgba0Q" x="-16" y="26"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Dp2KIfimEeCPG5ImOgba0Q" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_Dp2xMPimEeCPG5ImOgba0Q" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Dp2KIvimEeCPG5ImOgba0Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
-      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_CQIyYEs-EeGdEbcgyE6NOQ" id="(0.5875706214689266,0.013333333333333334)"/>
-      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_B88woEs-EeGdEbcgyE6NOQ" id="(0.9056603773584906,0.6964285714285714)"/>
-    </edges>
-    <edges xmi:id="_Dp3YQPimEeCPG5ImOgba0Q" type="Transition" element="_Dd8cJvimEeCPG5ImOgba0Q" source="_Dd5_7vimEeCPG5ImOgba0Q" target="_Dd5_-vimEeCPG5ImOgba0Q">
-      <children xsi:type="notation:DecorationNode" xmi:id="_Dp3YRPimEeCPG5ImOgba0Q" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_Dp3YRfimEeCPG5ImOgba0Q"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_Dp3_UPimEeCPG5ImOgba0Q" x="-5" y="30"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Dp3YQfimEeCPG5ImOgba0Q" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_Dp3YQ_imEeCPG5ImOgba0Q" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Dp3YQvimEeCPG5ImOgba0Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
-      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_Cp4IEEs-EeGdEbcgyE6NOQ" id="(0.32075471698113206,0.8928571428571429)"/>
-    </edges>
-    <edges xmi:id="_Dp4mYPimEeCPG5ImOgba0Q" type="Transition" element="_Dd8cJPimEeCPG5ImOgba0Q" source="_Dd5_5fimEeCPG5ImOgba0Q" target="_Dd5_7vimEeCPG5ImOgba0Q">
-      <children xsi:type="notation:DecorationNode" xmi:id="_Dp4mZPimEeCPG5ImOgba0Q" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_Dp4mZfimEeCPG5ImOgba0Q"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_Dp4mZvimEeCPG5ImOgba0Q" y="40"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Dp4mYfimEeCPG5ImOgba0Q" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_Dp4mY_imEeCPG5ImOgba0Q" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Dp4mYvimEeCPG5ImOgba0Q" points="[-1, -2, 0, -1]$[-1, -1, 0, 0]"/>
-    </edges>
-    <edges xmi:id="_DsU2YPimEeCPG5ImOgba0Q" type="Transition" element="_Dd71JfimEeCPG5ImOgba0Q" source="_Dd5Y_vimEeCPG5ImOgba0Q" target="_Dd6ANvimEeCPG5ImOgba0Q">
-      <children xsi:type="notation:DecorationNode" xmi:id="_DsVdcfimEeCPG5ImOgba0Q" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_DsVdcvimEeCPG5ImOgba0Q"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_DsVdc_imEeCPG5ImOgba0Q" y="40"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_DsU2YfimEeCPG5ImOgba0Q" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_DsVdcPimEeCPG5ImOgba0Q" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_DsU2YvimEeCPG5ImOgba0Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
-    </edges>
-    <edges xmi:id="_DsXSoPimEeCPG5ImOgba0Q" type="Transition" element="_Dd71IPimEeCPG5ImOgba0Q" source="_Dd5Y8vimEeCPG5ImOgba0Q" target="_Dd5Y_vimEeCPG5ImOgba0Q">
-      <children xsi:type="notation:DecorationNode" xmi:id="_DsX5sPimEeCPG5ImOgba0Q" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_DsX5sfimEeCPG5ImOgba0Q"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_DsX5svimEeCPG5ImOgba0Q" y="40"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_DsXSofimEeCPG5ImOgba0Q" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_DsXSo_imEeCPG5ImOgba0Q" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_DsXSovimEeCPG5ImOgba0Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
-    </edges>
-    <edges xmi:id="_DvpQIPimEeCPG5ImOgba0Q" type="Transition" element="_Dd71EvimEeCPG5ImOgba0Q" source="_Dd5Y0PimEeCPG5ImOgba0Q" target="_Dd5Y3PimEeCPG5ImOgba0Q">
-      <children xsi:type="notation:DecorationNode" xmi:id="_Dvp3MfimEeCPG5ImOgba0Q" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_Dvp3MvimEeCPG5ImOgba0Q"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_Dvp3M_imEeCPG5ImOgba0Q" x="26" y="-22"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_DvpQIfimEeCPG5ImOgba0Q" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_Dvp3MPimEeCPG5ImOgba0Q" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_DvpQIvimEeCPG5ImOgba0Q" points="[26, -3, -108, 13]$[128, -16, -6, 0]"/>
-      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_2JjJsPisEeCPG5ImOgba0Q" id="(0.8431372549019608,0.30158730158730157)"/>
-      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_LF1akPimEeCPG5ImOgba0Q" id="(0.007643312101910828,0.21561969439728354)"/>
-    </edges>
-    <edges xmi:id="_DvrFUPimEeCPG5ImOgba0Q" type="Transition" element="_Dd71GPimEeCPG5ImOgba0Q" source="_Dd5Y3PimEeCPG5ImOgba0Q" target="_Dd5Y0PimEeCPG5ImOgba0Q">
-      <children xsi:type="notation:DecorationNode" xmi:id="_DvrFVPimEeCPG5ImOgba0Q" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_DvrFVfimEeCPG5ImOgba0Q"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_DvrFVvimEeCPG5ImOgba0Q" x="12" y="-20"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_DvrFUfimEeCPG5ImOgba0Q" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_DvrFU_imEeCPG5ImOgba0Q" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_DvrFUvimEeCPG5ImOgba0Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
-      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_29WlMPisEeCPG5ImOgba0Q" id="(0.012738853503184714,0.2614601018675722)"/>
-    </edges>
-    <edges xmi:id="_DvsTcPimEeCPG5ImOgba0Q" type="Transition" element="_Dd71EPimEeCPG5ImOgba0Q" source="_Dd4xwfimEeCPG5ImOgba0Q" target="_Dd5Y0PimEeCPG5ImOgba0Q">
-      <children xsi:type="notation:DecorationNode" xmi:id="_DvsTdPimEeCPG5ImOgba0Q" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_DvsTdfimEeCPG5ImOgba0Q"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_DvsTdvimEeCPG5ImOgba0Q" y="40"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_DvsTcfimEeCPG5ImOgba0Q" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_DvsTc_imEeCPG5ImOgba0Q" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_DvsTcvimEeCPG5ImOgba0Q" points="[-1, -2, 0, -1]$[-1, -1, 0, 0]"/>
-    </edges>
-    <edges xmi:id="_QlcSUPiwEeCmAZxZWLaQmA" type="Transition" element="_QlbEMPiwEeCmAZxZWLaQmA" source="_Pk2YAPiwEeCmAZxZWLaQmA" target="_Dd5Y8vimEeCPG5ImOgba0Q">
-      <children xsi:type="notation:DecorationNode" xmi:id="_Qlc5YfiwEeCmAZxZWLaQmA" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_Qlc5YviwEeCmAZxZWLaQmA"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_Qlc5Y_iwEeCmAZxZWLaQmA" y="40"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_QlcSUfiwEeCmAZxZWLaQmA" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_Qlc5YPiwEeCmAZxZWLaQmA" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_QlcSUviwEeCmAZxZWLaQmA" points="[7, 0, -93, -17]$[94, -14, -6, -31]"/>
-    </edges>
-    <edges xmi:id="_Tymx4PiwEeCmAZxZWLaQmA" type="Transition" element="_TyjukPiwEeCmAZxZWLaQmA" source="_TCSIMPiwEeCmAZxZWLaQmA" target="_Dd6AB_imEeCPG5ImOgba0Q">
-      <children xsi:type="notation:DecorationNode" xmi:id="_Tymx5PiwEeCmAZxZWLaQmA" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_Tymx5fiwEeCmAZxZWLaQmA"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_Tymx5viwEeCmAZxZWLaQmA" y="40"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Tymx4fiwEeCmAZxZWLaQmA" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_Tymx4_iwEeCmAZxZWLaQmA" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Tymx4viwEeCmAZxZWLaQmA" points="[7, 0, -45, 3]$[41, -9, -11, -6]"/>
-      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_TzQSIPiwEeCmAZxZWLaQmA" id="(0.21568627450980393,0.38095238095238093)"/>
-    </edges>
-  </notation:Diagram>
-</xmi:XMI>
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_XoS0wPZlEeCSetPXFd1ZUw" specification="interface:&#xA;in event event1&#xA;in event event2&#xA;in event event3&#xA;in event event4&#xA;in event event5&#xA;in event event6&#xA;in event event7&#xA;in event event8&#xA;in event event9&#xA;&#xA;" name="DeepHistory">
+    <regions xmi:id="_XoTb0vZlEeCSetPXFd1ZUw" name="mainRegion">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_Dd7OAPimEeCPG5ImOgba0Q">
+        <outgoingTransitions xmi:id="_Dd71EPimEeCPG5ImOgba0Q" target="_Dd71EfimEeCPG5ImOgba0Q"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_Dd71EfimEeCPG5ImOgba0Q" name="State1" incomingTransitions="_Dd71EPimEeCPG5ImOgba0Q _Dd71GPimEeCPG5ImOgba0Q">
+        <outgoingTransitions xmi:id="_Dd71EvimEeCPG5ImOgba0Q" specification="event1" target="_Dd71F_imEeCPG5ImOgba0Q"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_Dd71F_imEeCPG5ImOgba0Q" name="State2" incomingTransitions="_Dd71EvimEeCPG5ImOgba0Q">
+        <outgoingTransitions xmi:id="_Dd71GPimEeCPG5ImOgba0Q" specification="event2" target="_Dd71EfimEeCPG5ImOgba0Q"/>
+        <regions xmi:id="_Dd71HPimEeCPG5ImOgba0Q">
+          <vertices xsi:type="sgraph:State" xmi:id="_Dd71H_imEeCPG5ImOgba0Q" name="a" incomingTransitions="_QlbEMPiwEeCmAZxZWLaQmA">
+            <outgoingTransitions xmi:id="_Dd71IPimEeCPG5ImOgba0Q" specification="" target="_Dd71JPimEeCPG5ImOgba0Q"/>
+          </vertices>
+          <vertices xsi:type="sgraph:State" xmi:id="_Dd71JPimEeCPG5ImOgba0Q" name="State4" incomingTransitions="_Dd71IPimEeCPG5ImOgba0Q">
+            <outgoingTransitions xmi:id="_Dd71JfimEeCPG5ImOgba0Q" specification="event4" target="_Dd8cPPimEeCPG5ImOgba0Q"/>
+            <regions xmi:id="_Dd8cIvimEeCPG5ImOgba0Q">
+              <vertices xsi:type="sgraph:Entry" xmi:id="_Dd8cI_imEeCPG5ImOgba0Q">
+                <outgoingTransitions xmi:id="_Dd8cJPimEeCPG5ImOgba0Q" target="_Dd8cJfimEeCPG5ImOgba0Q"/>
+              </vertices>
+              <vertices xsi:type="sgraph:State" xmi:id="_Dd8cJfimEeCPG5ImOgba0Q" name="State6" incomingTransitions="_Dd8cJPimEeCPG5ImOgba0Q _Dd8cK_imEeCPG5ImOgba0Q">
+                <outgoingTransitions xmi:id="_Dd8cJvimEeCPG5ImOgba0Q" specification="event5" target="_Dd8cKvimEeCPG5ImOgba0Q"/>
+              </vertices>
+              <vertices xsi:type="sgraph:State" xmi:id="_Dd8cKvimEeCPG5ImOgba0Q" name="State7" incomingTransitions="_Dd8cJvimEeCPG5ImOgba0Q">
+                <outgoingTransitions xmi:id="_Dd8cK_imEeCPG5ImOgba0Q" specification="event6" target="_Dd8cJfimEeCPG5ImOgba0Q"/>
+                <regions xmi:id="_Dd8cL_imEeCPG5ImOgba0Q">
+                  <vertices xsi:type="sgraph:State" xmi:id="_Dd8cMPimEeCPG5ImOgba0Q" name="State8" incomingTransitions="_Dd8cNvimEeCPG5ImOgba0Q _TyjukPiwEeCmAZxZWLaQmA">
+                    <outgoingTransitions xmi:id="_Dd8cMfimEeCPG5ImOgba0Q" specification="event7" target="_Dd8cNfimEeCPG5ImOgba0Q"/>
+                  </vertices>
+                  <vertices xsi:type="sgraph:State" xmi:id="_Dd8cNfimEeCPG5ImOgba0Q" name="State9" incomingTransitions="_Dd8cMfimEeCPG5ImOgba0Q">
+                    <outgoingTransitions xmi:id="_Dd8cNvimEeCPG5ImOgba0Q" specification="event8" target="_Dd8cMPimEeCPG5ImOgba0Q"/>
+                  </vertices>
+                  <vertices xsi:type="sgraph:Entry" xmi:id="_TCRhIPiwEeCmAZxZWLaQmA">
+                    <outgoingTransitions xmi:id="_TyjukPiwEeCmAZxZWLaQmA" target="_Dd8cMPimEeCPG5ImOgba0Q"/>
+                  </vertices>
+                </regions>
+              </vertices>
+            </regions>
+          </vertices>
+          <vertices xsi:type="sgraph:State" xmi:id="_Dd8cPPimEeCPG5ImOgba0Q" name="State5" incomingTransitions="_Dd71JfimEeCPG5ImOgba0Q"/>
+          <vertices xsi:type="sgraph:Entry" xmi:id="_PkyGkPiwEeCmAZxZWLaQmA" kind="DEEP_HISTORY">
+            <outgoingTransitions xmi:id="_QlbEMPiwEeCmAZxZWLaQmA" target="_Dd71H_imEeCPG5ImOgba0Q"/>
+          </vertices>
+        </regions>
+      </vertices>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_XoTb0PZlEeCSetPXFd1ZUw" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_XoS0wPZlEeCSetPXFd1ZUw" measurementUnit="Pixel">
+    <children xmi:id="_XoUC4PZlEeCSetPXFd1ZUw" type="Region" element="_XoTb0vZlEeCSetPXFd1ZUw">
+      <children xsi:type="notation:DecorationNode" xmi:id="_XoUC4_ZlEeCSetPXFd1ZUw" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_XoUC5PZlEeCSetPXFd1ZUw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_XoUC5fZlEeCSetPXFd1ZUw"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_XoUC5vZlEeCSetPXFd1ZUw" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_Dd4xwfimEeCPG5ImOgba0Q" type="Entry" element="_Dd7OAPimEeCPG5ImOgba0Q">
+          <children xmi:id="_Dd4xwvimEeCPG5ImOgba0Q" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_Dd4xw_imEeCPG5ImOgba0Q" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd4xxPimEeCPG5ImOgba0Q"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd4xxfimEeCPG5ImOgba0Q"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd4xxvimEeCPG5ImOgba0Q" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd4xx_imEeCPG5ImOgba0Q"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd4xyPimEeCPG5ImOgba0Q" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd4xyfimEeCPG5ImOgba0Q" x="80" y="30"/>
+        </children>
+        <children xmi:id="_Dd5Y0PimEeCPG5ImOgba0Q" type="State" element="_Dd71EfimEeCPG5ImOgba0Q">
+          <children xsi:type="notation:DecorationNode" xmi:id="_Dd5Y0fimEeCPG5ImOgba0Q" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5Y0vimEeCPG5ImOgba0Q"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5Y0_imEeCPG5ImOgba0Q"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_Dd5Y1PimEeCPG5ImOgba0Q" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_Dd5Y1fimEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5Y1vimEeCPG5ImOgba0Q"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_Dd5Y1_imEeCPG5ImOgba0Q" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5Y2PimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_Dd5Y2fimEeCPG5ImOgba0Q"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd5Y2vimEeCPG5ImOgba0Q"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5Y2_imEeCPG5ImOgba0Q" x="19" y="135" width="96"/>
+        </children>
+        <children xmi:id="_Dd5Y3PimEeCPG5ImOgba0Q" type="State" element="_Dd71F_imEeCPG5ImOgba0Q">
+          <children xsi:type="notation:DecorationNode" xmi:id="_Dd5Y3fimEeCPG5ImOgba0Q" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5Y3vimEeCPG5ImOgba0Q"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5Y3_imEeCPG5ImOgba0Q"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_Dd5Y4PimEeCPG5ImOgba0Q" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_Dd5Y4fimEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5Y4vimEeCPG5ImOgba0Q"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_Dd5Y4_imEeCPG5ImOgba0Q" type="StateFigureCompartment">
+            <children xmi:id="_Dd5Y5PimEeCPG5ImOgba0Q" type="Region" element="_Dd71HPimEeCPG5ImOgba0Q">
+              <children xsi:type="notation:DecorationNode" xmi:id="_Dd5Y5fimEeCPG5ImOgba0Q" type="RegionName">
+                <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5Y5vimEeCPG5ImOgba0Q"/>
+                <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5Y5_imEeCPG5ImOgba0Q"/>
+              </children>
+              <children xsi:type="notation:Shape" xmi:id="_Dd5Y6PimEeCPG5ImOgba0Q" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+                <children xmi:id="_Dd5Y8vimEeCPG5ImOgba0Q" type="State" element="_Dd71H_imEeCPG5ImOgba0Q">
+                  <children xsi:type="notation:DecorationNode" xmi:id="_Dd5Y8_imEeCPG5ImOgba0Q" type="StateName">
+                    <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5Y9PimEeCPG5ImOgba0Q"/>
+                    <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5Y9fimEeCPG5ImOgba0Q"/>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_Dd5Y9vimEeCPG5ImOgba0Q" type="StateTextCompartment">
+                    <children xsi:type="notation:Shape" xmi:id="_Dd5Y9_imEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5Y-PimEeCPG5ImOgba0Q"/>
+                    </children>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_Dd5Y-fimEeCPG5ImOgba0Q" type="StateFigureCompartment"/>
+                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5Y-vimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+                  <styles xsi:type="notation:FontStyle" xmi:id="_Dd5Y-_imEeCPG5ImOgba0Q"/>
+                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd5Y_PimEeCPG5ImOgba0Q"/>
+                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5Y_fimEeCPG5ImOgba0Q" x="115" y="49" width="72"/>
+                </children>
+                <children xmi:id="_Dd5Y_vimEeCPG5ImOgba0Q" type="State" element="_Dd71JPimEeCPG5ImOgba0Q">
+                  <children xsi:type="notation:DecorationNode" xmi:id="_Dd5Y__imEeCPG5ImOgba0Q" type="StateName">
+                    <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5ZAPimEeCPG5ImOgba0Q"/>
+                    <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5ZAfimEeCPG5ImOgba0Q"/>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_Dd5ZAvimEeCPG5ImOgba0Q" type="StateTextCompartment">
+                    <children xsi:type="notation:Shape" xmi:id="_Dd5ZA_imEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5ZBPimEeCPG5ImOgba0Q"/>
+                    </children>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_Dd5ZBfimEeCPG5ImOgba0Q" type="StateFigureCompartment">
+                    <children xmi:id="_Dd5_4PimEeCPG5ImOgba0Q" type="Region" element="_Dd8cIvimEeCPG5ImOgba0Q">
+                      <children xsi:type="notation:DecorationNode" xmi:id="_Dd5_4fimEeCPG5ImOgba0Q" type="RegionName">
+                        <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5_4vimEeCPG5ImOgba0Q"/>
+                        <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5_4_imEeCPG5ImOgba0Q"/>
+                      </children>
+                      <children xsi:type="notation:Shape" xmi:id="_Dd5_5PimEeCPG5ImOgba0Q" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+                        <children xmi:id="_Dd5_5fimEeCPG5ImOgba0Q" type="Entry" element="_Dd8cI_imEeCPG5ImOgba0Q">
+                          <children xmi:id="_Dd5_5vimEeCPG5ImOgba0Q" type="BorderItemLabelContainer">
+                            <children xsi:type="notation:DecorationNode" xmi:id="_Dd5_5_imEeCPG5ImOgba0Q" type="BorderItemLabel">
+                              <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5_6PimEeCPG5ImOgba0Q"/>
+                              <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5_6fimEeCPG5ImOgba0Q"/>
+                            </children>
+                            <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5_6vimEeCPG5ImOgba0Q" fontName="Verdana" lineColor="4210752"/>
+                            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5_6_imEeCPG5ImOgba0Q"/>
+                          </children>
+                          <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5_7PimEeCPG5ImOgba0Q" fontName="Verdana" lineColor="4210752"/>
+                          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5_7fimEeCPG5ImOgba0Q" x="19" y="31"/>
+                        </children>
+                        <children xmi:id="_Dd5_7vimEeCPG5ImOgba0Q" type="State" element="_Dd8cJfimEeCPG5ImOgba0Q">
+                          <children xsi:type="notation:DecorationNode" xmi:id="_Dd5_7_imEeCPG5ImOgba0Q" type="StateName">
+                            <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5_8PimEeCPG5ImOgba0Q"/>
+                            <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5_8fimEeCPG5ImOgba0Q"/>
+                          </children>
+                          <children xsi:type="notation:Compartment" xmi:id="_Dd5_8vimEeCPG5ImOgba0Q" type="StateTextCompartment">
+                            <children xsi:type="notation:Shape" xmi:id="_Dd5_8_imEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+                              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5_9PimEeCPG5ImOgba0Q"/>
+                            </children>
+                          </children>
+                          <children xsi:type="notation:Compartment" xmi:id="_Dd5_9fimEeCPG5ImOgba0Q" type="StateFigureCompartment"/>
+                          <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5_9vimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+                          <styles xsi:type="notation:FontStyle" xmi:id="_Dd5_9_imEeCPG5ImOgba0Q"/>
+                          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd5_-PimEeCPG5ImOgba0Q"/>
+                          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5_-fimEeCPG5ImOgba0Q" x="198" y="19" width="75"/>
+                        </children>
+                        <children xmi:id="_Dd5_-vimEeCPG5ImOgba0Q" type="State" element="_Dd8cKvimEeCPG5ImOgba0Q">
+                          <children xsi:type="notation:DecorationNode" xmi:id="_Dd5_-_imEeCPG5ImOgba0Q" type="StateName">
+                            <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5__PimEeCPG5ImOgba0Q"/>
+                            <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5__fimEeCPG5ImOgba0Q"/>
+                          </children>
+                          <children xsi:type="notation:Compartment" xmi:id="_Dd5__vimEeCPG5ImOgba0Q" type="StateTextCompartment" collapsed="true">
+                            <children xsi:type="notation:Shape" xmi:id="_Dd5___imEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+                              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AAPimEeCPG5ImOgba0Q"/>
+                            </children>
+                          </children>
+                          <children xsi:type="notation:Compartment" xmi:id="_Dd6AAfimEeCPG5ImOgba0Q" type="StateFigureCompartment">
+                            <children xmi:id="_Dd6AAvimEeCPG5ImOgba0Q" type="Region" element="_Dd8cL_imEeCPG5ImOgba0Q">
+                              <children xsi:type="notation:DecorationNode" xmi:id="_Dd6AA_imEeCPG5ImOgba0Q" type="RegionName">
+                                <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6ABPimEeCPG5ImOgba0Q"/>
+                                <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd6ABfimEeCPG5ImOgba0Q"/>
+                              </children>
+                              <children xsi:type="notation:Shape" xmi:id="_Dd6ABvimEeCPG5ImOgba0Q" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+                                <children xmi:id="_Dd6AB_imEeCPG5ImOgba0Q" type="State" element="_Dd8cMPimEeCPG5ImOgba0Q">
+                                  <children xsi:type="notation:DecorationNode" xmi:id="_Dd6ACPimEeCPG5ImOgba0Q" type="StateName">
+                                    <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6ACfimEeCPG5ImOgba0Q"/>
+                                    <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd6ACvimEeCPG5ImOgba0Q"/>
+                                  </children>
+                                  <children xsi:type="notation:Compartment" xmi:id="_Dd6AC_imEeCPG5ImOgba0Q" type="StateTextCompartment">
+                                    <children xsi:type="notation:Shape" xmi:id="_Dd6ADPimEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+                                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6ADfimEeCPG5ImOgba0Q"/>
+                                    </children>
+                                  </children>
+                                  <children xsi:type="notation:Compartment" xmi:id="_Dd6ADvimEeCPG5ImOgba0Q" type="StateFigureCompartment"/>
+                                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AD_imEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+                                  <styles xsi:type="notation:FontStyle" xmi:id="_Dd6AEPimEeCPG5ImOgba0Q"/>
+                                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd6AEfimEeCPG5ImOgba0Q"/>
+                                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AEvimEeCPG5ImOgba0Q" x="71" y="7" width="72"/>
+                                </children>
+                                <children xmi:id="_Dd6AE_imEeCPG5ImOgba0Q" type="State" element="_Dd8cNfimEeCPG5ImOgba0Q">
+                                  <children xsi:type="notation:DecorationNode" xmi:id="_Dd6AFPimEeCPG5ImOgba0Q" type="StateName">
+                                    <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AFfimEeCPG5ImOgba0Q"/>
+                                    <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd6AFvimEeCPG5ImOgba0Q"/>
+                                  </children>
+                                  <children xsi:type="notation:Compartment" xmi:id="_Dd6AF_imEeCPG5ImOgba0Q" type="StateTextCompartment">
+                                    <children xsi:type="notation:Shape" xmi:id="_Dd6AGPimEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+                                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AGfimEeCPG5ImOgba0Q"/>
+                                    </children>
+                                  </children>
+                                  <children xsi:type="notation:Compartment" xmi:id="_Dd6AGvimEeCPG5ImOgba0Q" type="StateFigureCompartment"/>
+                                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AG_imEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+                                  <styles xsi:type="notation:FontStyle" xmi:id="_Dd6AHPimEeCPG5ImOgba0Q"/>
+                                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd6AHfimEeCPG5ImOgba0Q"/>
+                                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AHvimEeCPG5ImOgba0Q" x="219" y="13" width="74"/>
+                                </children>
+                                <children xmi:id="_TCSIMPiwEeCmAZxZWLaQmA" type="Entry" element="_TCRhIPiwEeCmAZxZWLaQmA">
+                                  <children xmi:id="_TCSvQPiwEeCmAZxZWLaQmA" type="BorderItemLabelContainer">
+                                    <children xsi:type="notation:DecorationNode" xmi:id="_TCSvQ_iwEeCmAZxZWLaQmA" type="BorderItemLabel">
+                                      <styles xsi:type="notation:ShapeStyle" xmi:id="_TCSvRPiwEeCmAZxZWLaQmA"/>
+                                      <layoutConstraint xsi:type="notation:Location" xmi:id="_TCSvRfiwEeCmAZxZWLaQmA"/>
+                                    </children>
+                                    <styles xsi:type="notation:ShapeStyle" xmi:id="_TCSvQfiwEeCmAZxZWLaQmA" fontName="Verdana" lineColor="4210752"/>
+                                    <layoutConstraint xsi:type="notation:Bounds" xmi:id="_TCSvQviwEeCmAZxZWLaQmA"/>
+                                  </children>
+                                  <styles xsi:type="notation:ShapeStyle" xmi:id="_TCSIMfiwEeCmAZxZWLaQmA" fontName="Verdana" lineColor="4210752"/>
+                                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_TCSIMviwEeCmAZxZWLaQmA" x="23" y="27"/>
+                                </children>
+                                <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AKPimEeCPG5ImOgba0Q"/>
+                              </children>
+                              <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AKfimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+                              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AKvimEeCPG5ImOgba0Q"/>
+                            </children>
+                          </children>
+                          <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AK_imEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+                          <styles xsi:type="notation:FontStyle" xmi:id="_Dd6ALPimEeCPG5ImOgba0Q"/>
+                          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd6ALfimEeCPG5ImOgba0Q"/>
+                          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6ALvimEeCPG5ImOgba0Q" x="33" y="127" width="354" height="225"/>
+                        </children>
+                        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AL_imEeCPG5ImOgba0Q"/>
+                      </children>
+                      <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AMPimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AMfimEeCPG5ImOgba0Q"/>
+                    </children>
+                  </children>
+                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AMvimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+                  <styles xsi:type="notation:FontStyle" xmi:id="_Dd6AM_imEeCPG5ImOgba0Q"/>
+                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd6ANPimEeCPG5ImOgba0Q"/>
+                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6ANfimEeCPG5ImOgba0Q" x="278" y="5" width="441" height="447"/>
+                </children>
+                <children xmi:id="_Dd6ANvimEeCPG5ImOgba0Q" type="State" element="_Dd8cPPimEeCPG5ImOgba0Q">
+                  <children xsi:type="notation:DecorationNode" xmi:id="_Dd6AN_imEeCPG5ImOgba0Q" type="StateName">
+                    <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AOPimEeCPG5ImOgba0Q"/>
+                    <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd6AOfimEeCPG5ImOgba0Q"/>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_Dd6AOvimEeCPG5ImOgba0Q" type="StateTextCompartment">
+                    <children xsi:type="notation:Shape" xmi:id="_Dd6AO_imEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6APPimEeCPG5ImOgba0Q"/>
+                    </children>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_Dd6APfimEeCPG5ImOgba0Q" type="StateFigureCompartment"/>
+                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6APvimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+                  <styles xsi:type="notation:FontStyle" xmi:id="_Dd6AP_imEeCPG5ImOgba0Q"/>
+                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd6AQPimEeCPG5ImOgba0Q"/>
+                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6m8PimEeCPG5ImOgba0Q" x="62" y="355" width="86"/>
+                </children>
+                <children xmi:id="_Pk2YAPiwEeCmAZxZWLaQmA" type="DeepHistory" element="_PkyGkPiwEeCmAZxZWLaQmA">
+                  <children xmi:id="_Pk3mIPiwEeCmAZxZWLaQmA" type="BorderItemLabelContainer">
+                    <children xsi:type="notation:DecorationNode" xmi:id="_Pk4NMPiwEeCmAZxZWLaQmA" type="BorderItemLabel">
+                      <styles xsi:type="notation:ShapeStyle" xmi:id="_Pk4NMfiwEeCmAZxZWLaQmA"/>
+                      <layoutConstraint xsi:type="notation:Location" xmi:id="_Pk4NMviwEeCmAZxZWLaQmA"/>
+                    </children>
+                    <styles xsi:type="notation:ShapeStyle" xmi:id="_Pk3mIfiwEeCmAZxZWLaQmA" fontName="Verdana" lineColor="4210752"/>
+                    <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Pk3mIviwEeCmAZxZWLaQmA"/>
+                  </children>
+                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Pk2YAfiwEeCmAZxZWLaQmA" fontName="Verdana" lineColor="4210752"/>
+                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Pk2YAviwEeCmAZxZWLaQmA" x="39" y="28"/>
+                </children>
+                <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6m8fimEeCPG5ImOgba0Q"/>
+              </children>
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6m8vimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6m8_imEeCPG5ImOgba0Q"/>
+            </children>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6m9PimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_Dd6m9fimEeCPG5ImOgba0Q"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd6m9vimEeCPG5ImOgba0Q"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6m9_imEeCPG5ImOgba0Q" x="215" y="23" width="785" height="589"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_XoUC5_ZlEeCSetPXFd1ZUw"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_XoUC4fZlEeCSetPXFd1ZUw" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_XoUp8PZlEeCSetPXFd1ZUw" x="220" y="10" width="993" height="675"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_XoXGN_ZlEeCSetPXFd1ZUw" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_XoXtQPZlEeCSetPXFd1ZUw" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_XoXtQfZlEeCSetPXFd1ZUw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_XoXtQvZlEeCSetPXFd1ZUw"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_XoXtQ_ZlEeCSetPXFd1ZUw" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_XoXtRPZlEeCSetPXFd1ZUw"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_XoXtRfZlEeCSetPXFd1ZUw" x="12" y="10" width="200" height="400"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_XoTb0fZlEeCSetPXFd1ZUw"/>
+    <edges xmi:id="_DmuksPimEeCPG5ImOgba0Q" type="Transition" element="_Dd8cMfimEeCPG5ImOgba0Q" source="_Dd6AB_imEeCPG5ImOgba0Q" target="_Dd6AE_imEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_DmuktPimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_DmuktfimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_DmuktvimEeCPG5ImOgba0Q" x="1" y="-10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_DmuksfimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Dmuks_imEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_DmuksvimEeCPG5ImOgba0Q" points="[26, 6, -122, 0]$[74, -9, -74, -15]$[123, 6, -25, 0]"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_NnamgPimEeCPG5ImOgba0Q" id="(0.09803921568627451,0.31746031746031744)"/>
+    </edges>
+    <edges xmi:id="_Dmvy0PimEeCPG5ImOgba0Q" type="Transition" element="_Dd8cNvimEeCPG5ImOgba0Q" source="_Dd6AE_imEeCPG5ImOgba0Q" target="_Dd6AB_imEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Dmvy1PimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Dmvy1fimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Dmvy1vimEeCPG5ImOgba0Q" y="-13"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Dmvy0fimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Dmvy0_imEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Dmvy0vimEeCPG5ImOgba0Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_OM7HUPimEeCPG5ImOgba0Q" id="(0.0392156862745098,0.6349206349206349)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_PgEKMPimEeCPG5ImOgba0Q" id="(0.9607843137254902,0.7619047619047619)"/>
+    </edges>
+    <edges xmi:id="_Dp2KIPimEeCPG5ImOgba0Q" type="Transition" element="_Dd8cK_imEeCPG5ImOgba0Q" source="_Dd5_-vimEeCPG5ImOgba0Q" target="_Dd5_7vimEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Dp2xMfimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Dp2xMvimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Dp2xM_imEeCPG5ImOgba0Q" x="-16" y="26"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Dp2KIfimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Dp2xMPimEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Dp2KIvimEeCPG5ImOgba0Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_CQIyYEs-EeGdEbcgyE6NOQ" id="(0.5875706214689266,0.013333333333333334)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_B88woEs-EeGdEbcgyE6NOQ" id="(0.9056603773584906,0.6964285714285714)"/>
+    </edges>
+    <edges xmi:id="_Dp3YQPimEeCPG5ImOgba0Q" type="Transition" element="_Dd8cJvimEeCPG5ImOgba0Q" source="_Dd5_7vimEeCPG5ImOgba0Q" target="_Dd5_-vimEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Dp3YRPimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Dp3YRfimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Dp3_UPimEeCPG5ImOgba0Q" x="-5" y="30"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Dp3YQfimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Dp3YQ_imEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Dp3YQvimEeCPG5ImOgba0Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_Cp4IEEs-EeGdEbcgyE6NOQ" id="(0.32075471698113206,0.8928571428571429)"/>
+    </edges>
+    <edges xmi:id="_Dp4mYPimEeCPG5ImOgba0Q" type="Transition" element="_Dd8cJPimEeCPG5ImOgba0Q" source="_Dd5_5fimEeCPG5ImOgba0Q" target="_Dd5_7vimEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Dp4mZPimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Dp4mZfimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Dp4mZvimEeCPG5ImOgba0Q" y="40"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Dp4mYfimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Dp4mY_imEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Dp4mYvimEeCPG5ImOgba0Q" points="[-1, -2, 0, -1]$[-1, -1, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_DsU2YPimEeCPG5ImOgba0Q" type="Transition" element="_Dd71JfimEeCPG5ImOgba0Q" source="_Dd5Y_vimEeCPG5ImOgba0Q" target="_Dd6ANvimEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_DsVdcfimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_DsVdcvimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_DsVdc_imEeCPG5ImOgba0Q" y="40"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_DsU2YfimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_DsVdcPimEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_DsU2YvimEeCPG5ImOgba0Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_DsXSoPimEeCPG5ImOgba0Q" type="Transition" element="_Dd71IPimEeCPG5ImOgba0Q" source="_Dd5Y8vimEeCPG5ImOgba0Q" target="_Dd5Y_vimEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_DsX5sPimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_DsX5sfimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_DsX5svimEeCPG5ImOgba0Q" y="40"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_DsXSofimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_DsXSo_imEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_DsXSovimEeCPG5ImOgba0Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_DvpQIPimEeCPG5ImOgba0Q" type="Transition" element="_Dd71EvimEeCPG5ImOgba0Q" source="_Dd5Y0PimEeCPG5ImOgba0Q" target="_Dd5Y3PimEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Dvp3MfimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Dvp3MvimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Dvp3M_imEeCPG5ImOgba0Q" x="26" y="-22"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_DvpQIfimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Dvp3MPimEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_DvpQIvimEeCPG5ImOgba0Q" points="[26, -3, -108, 13]$[128, -16, -6, 0]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_2JjJsPisEeCPG5ImOgba0Q" id="(0.8431372549019608,0.30158730158730157)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_LF1akPimEeCPG5ImOgba0Q" id="(0.007643312101910828,0.21561969439728354)"/>
+    </edges>
+    <edges xmi:id="_DvrFUPimEeCPG5ImOgba0Q" type="Transition" element="_Dd71GPimEeCPG5ImOgba0Q" source="_Dd5Y3PimEeCPG5ImOgba0Q" target="_Dd5Y0PimEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_DvrFVPimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_DvrFVfimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_DvrFVvimEeCPG5ImOgba0Q" x="12" y="-20"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_DvrFUfimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_DvrFU_imEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_DvrFUvimEeCPG5ImOgba0Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_29WlMPisEeCPG5ImOgba0Q" id="(0.012738853503184714,0.2614601018675722)"/>
+    </edges>
+    <edges xmi:id="_DvsTcPimEeCPG5ImOgba0Q" type="Transition" element="_Dd71EPimEeCPG5ImOgba0Q" source="_Dd4xwfimEeCPG5ImOgba0Q" target="_Dd5Y0PimEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_DvsTdPimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_DvsTdfimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_DvsTdvimEeCPG5ImOgba0Q" y="40"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_DvsTcfimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_DvsTc_imEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_DvsTcvimEeCPG5ImOgba0Q" points="[-1, -2, 0, -1]$[-1, -1, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_QlcSUPiwEeCmAZxZWLaQmA" type="Transition" element="_QlbEMPiwEeCmAZxZWLaQmA" source="_Pk2YAPiwEeCmAZxZWLaQmA" target="_Dd5Y8vimEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Qlc5YfiwEeCmAZxZWLaQmA" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Qlc5YviwEeCmAZxZWLaQmA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Qlc5Y_iwEeCmAZxZWLaQmA" y="40"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_QlcSUfiwEeCmAZxZWLaQmA" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Qlc5YPiwEeCmAZxZWLaQmA" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_QlcSUviwEeCmAZxZWLaQmA" points="[7, 0, -93, -17]$[94, -14, -6, -31]"/>
+    </edges>
+    <edges xmi:id="_Tymx4PiwEeCmAZxZWLaQmA" type="Transition" element="_TyjukPiwEeCmAZxZWLaQmA" source="_TCSIMPiwEeCmAZxZWLaQmA" target="_Dd6AB_imEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Tymx5PiwEeCmAZxZWLaQmA" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Tymx5fiwEeCmAZxZWLaQmA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Tymx5viwEeCmAZxZWLaQmA" y="40"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Tymx4fiwEeCmAZxZWLaQmA" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Tymx4_iwEeCmAZxZWLaQmA" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Tymx4viwEeCmAZxZWLaQmA" points="[7, 0, -45, 3]$[41, -9, -11, -6]"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_TzQSIPiwEeCmAZxZWLaQmA" id="(0.21568627450980393,0.38095238095238093)"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

+ 1 - 1
test-plugins/org.yakindu.sct.test.models/testmodels/ExitOnSelfTransition.sct

@@ -78,7 +78,7 @@
       <children xsi:type="notation:Shape" xmi:id="_wsq41fZpEeGg3a5RiiuycA" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
         <layoutConstraint xsi:type="notation:Bounds" xmi:id="_wsq41vZpEeGg3a5RiiuycA"/>
       </children>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_wsrf4PZpEeGg3a5RiiuycA" x="10" y="10" width="200" height="400"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_wsrf4PZpEeGg3a5RiiuycA" x="8" y="10" width="200" height="400"/>
     </children>
     <styles xsi:type="notation:DiagramStyle" xmi:id="_wsbBMfZpEeGg3a5RiiuycA"/>
     <edges xmi:id="_wspqsPZpEeGg3a5RiiuycA" type="Transition" element="_wsmAUPZpEeGg3a5RiiuycA" source="_wsiV8PZpEeGg3a5RiiuycA" target="_wskLIPZpEeGg3a5RiiuycA">

+ 115 - 115
test-plugins/org.yakindu.sct.test.models/testmodels/FeatureCalls.sct

@@ -1,115 +1,115 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
-  <sgraph:Statechart xmi:id="_e2LuoIlsEeGdSfnRraevSA" specification="interface MyInterface:&#xD;&#xA;in event Event1&#xD;&#xA;var myInt : integer" name="FeatureCalls">
-    <regions xmi:id="_e2R1QolsEeGdSfnRraevSA" name="main region">
-      <vertices xsi:type="sgraph:Entry" xmi:id="_e3JX8IlsEeGdSfnRraevSA">
-        <outgoingTransitions xmi:id="_e3QFoYlsEeGdSfnRraevSA" target="_e3L0MolsEeGdSfnRraevSA"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_e3L0MolsEeGdSfnRraevSA" name="A" incomingTransitions="_e3QFoYlsEeGdSfnRraevSA _6_eWIKmNEeGHLMtw-ncbeA">
-        <outgoingTransitions xmi:id="_lf50oIlsEeGdSfnRraevSA" specification="MyInterface.Event1" target="_kjQmMIlsEeGdSfnRraevSA"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_kjQmMIlsEeGdSfnRraevSA" specification="entry / MyInterface.myInt = 42&#xD;&#xA;entry/ raise MyInterface.Event1" name="B" incomingTransitions="_lf50oIlsEeGdSfnRraevSA">
-        <outgoingTransitions xmi:id="_6_eWIKmNEeGHLMtw-ncbeA" specification="MyInterface.Event1" target="_e3L0MolsEeGdSfnRraevSA"/>
-      </vertices>
-    </regions>
-  </sgraph:Statechart>
-  <notation:Diagram xmi:id="_e2R1QIlsEeGdSfnRraevSA" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_e2LuoIlsEeGdSfnRraevSA" measurementUnit="Pixel">
-    <children xmi:id="_e2eCgIlsEeGdSfnRraevSA" type="Region" element="_e2R1QolsEeGdSfnRraevSA">
-      <children xsi:type="notation:DecorationNode" xmi:id="_e3G7sIlsEeGdSfnRraevSA" type="RegionName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_e3G7sYlsEeGdSfnRraevSA"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_e3G7solsEeGdSfnRraevSA"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_e3HiwIlsEeGdSfnRraevSA" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
-        <children xmi:id="_e3J_AIlsEeGdSfnRraevSA" type="Entry" element="_e3JX8IlsEeGdSfnRraevSA">
-          <children xmi:id="_e3KmEIlsEeGdSfnRraevSA" type="BorderItemLabelContainer">
-            <children xsi:type="notation:DecorationNode" xmi:id="_e3LNIolsEeGdSfnRraevSA" type="BorderItemLabel">
-              <styles xsi:type="notation:ShapeStyle" xmi:id="_e3LNI4lsEeGdSfnRraevSA"/>
-              <layoutConstraint xsi:type="notation:Location" xmi:id="_e3L0MIlsEeGdSfnRraevSA"/>
-            </children>
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_e3LNIIlsEeGdSfnRraevSA" fontName="Verdana" lineColor="4210752"/>
-            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3LNIYlsEeGdSfnRraevSA"/>
-          </children>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_e3J_AYlsEeGdSfnRraevSA" fontName="Verdana" lineColor="4210752"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3L0MYlsEeGdSfnRraevSA" x="43" y="22"/>
-        </children>
-        <children xmi:id="_e3NCUIlsEeGdSfnRraevSA" type="State" element="_e3L0MolsEeGdSfnRraevSA">
-          <children xsi:type="notation:DecorationNode" xmi:id="_e3NpYIlsEeGdSfnRraevSA" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_e3NpYYlsEeGdSfnRraevSA"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_e3OQcIlsEeGdSfnRraevSA"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_e3O3gIlsEeGdSfnRraevSA" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_e3O3gYlsEeGdSfnRraevSA" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3O3golsEeGdSfnRraevSA"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_e3PekIlsEeGdSfnRraevSA" type="StateFigureCompartment"/>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_e3NCUYlsEeGdSfnRraevSA" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_e3NCUolsEeGdSfnRraevSA"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_e3PekYlsEeGdSfnRraevSA"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3QFoIlsEeGdSfnRraevSA" x="36" y="99"/>
-        </children>
-        <children xmi:id="_kjkIMIlsEeGdSfnRraevSA" type="State" element="_kjQmMIlsEeGdSfnRraevSA">
-          <children xsi:type="notation:DecorationNode" xmi:id="_kjlWUIlsEeGdSfnRraevSA" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_kjlWUYlsEeGdSfnRraevSA"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_kjlWUolsEeGdSfnRraevSA"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_kjl9YIlsEeGdSfnRraevSA" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_kjl9YYlsEeGdSfnRraevSA" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_kjl9YolsEeGdSfnRraevSA"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_kjmkcIlsEeGdSfnRraevSA" type="StateFigureCompartment"/>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_kjkIMYlsEeGdSfnRraevSA" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_kjkIMolsEeGdSfnRraevSA"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_kjmkcYlsEeGdSfnRraevSA"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_kjkIM4lsEeGdSfnRraevSA" x="239" y="77" width="101" height="101"/>
-        </children>
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3HiwYlsEeGdSfnRraevSA"/>
-      </children>
-      <styles xsi:type="notation:ShapeStyle" xmi:id="_e2eCgYlsEeGdSfnRraevSA" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3Iw4IlsEeGdSfnRraevSA" x="220" y="10" width="400" height="266"/>
-    </children>
-    <children xsi:type="notation:Shape" xmi:id="_e3U-IIlsEeGdSfnRraevSA" type="StatechartText" fontName="Verdana" lineColor="4210752">
-      <children xsi:type="notation:DecorationNode" xmi:id="_e3VlMIlsEeGdSfnRraevSA" type="StatechartName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_e3VlMYlsEeGdSfnRraevSA"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_e3WMQIlsEeGdSfnRraevSA"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_e3WMQYlsEeGdSfnRraevSA" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3WMQolsEeGdSfnRraevSA"/>
-      </children>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3WzUIlsEeGdSfnRraevSA" x="10" y="10" width="200" height="206"/>
-    </children>
-    <styles xsi:type="notation:DiagramStyle" xmi:id="_e2R1QYlsEeGdSfnRraevSA"/>
-    <edges xmi:id="_e3TI8IlsEeGdSfnRraevSA" type="Transition" element="_e3QFoYlsEeGdSfnRraevSA" source="_e3J_AIlsEeGdSfnRraevSA" target="_e3NCUIlsEeGdSfnRraevSA">
-      <children xsi:type="notation:DecorationNode" xmi:id="_e3UXEIlsEeGdSfnRraevSA" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_e3UXEYlsEeGdSfnRraevSA"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_e3UXEolsEeGdSfnRraevSA" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_e3TI8YlsEeGdSfnRraevSA" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_e3TwAIlsEeGdSfnRraevSA" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_e3TI8olsEeGdSfnRraevSA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
-    </edges>
-    <edges xmi:id="_lgC-kIlsEeGdSfnRraevSA" type="Transition" element="_lf50oIlsEeGdSfnRraevSA" source="_e3NCUIlsEeGdSfnRraevSA" target="_kjkIMIlsEeGdSfnRraevSA">
-      <children xsi:type="notation:DecorationNode" xmi:id="_lgEMsIlsEeGdSfnRraevSA" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_lgEMsYlsEeGdSfnRraevSA"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_lgEMsolsEeGdSfnRraevSA" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_lgC-kYlsEeGdSfnRraevSA" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_lgDloIlsEeGdSfnRraevSA" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_lgC-kolsEeGdSfnRraevSA" points="[0, 0, -116, 20]$[117, -37, 1, -17]"/>
-      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_lgSPIIlsEeGdSfnRraevSA" id="(0.675,0.21428571428571427)"/>
-      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_lgSPIYlsEeGdSfnRraevSA" id="(0.2,0.3392857142857143)"/>
-    </edges>
-    <edges xmi:id="_6_oHIKmNEeGHLMtw-ncbeA" type="Transition" element="_6_eWIKmNEeGHLMtw-ncbeA" source="_kjkIMIlsEeGdSfnRraevSA" target="_e3NCUIlsEeGdSfnRraevSA">
-      <children xsi:type="notation:DecorationNode" xmi:id="_6_oHJKmNEeGHLMtw-ncbeA" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_6_oHJamNEeGHLMtw-ncbeA"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_6_oHJqmNEeGHLMtw-ncbeA" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_6_oHIamNEeGHLMtw-ncbeA" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_6_oHI6mNEeGHLMtw-ncbeA" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_6_oHIqmNEeGHLMtw-ncbeA" points="[0, 6, 192, 5]$[-190, 7, 2, 6]"/>
-      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_6_oHJ6mNEeGHLMtw-ncbeA" id="(0.009900990099009901,0.7631578947368421)"/>
-      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_6_oHKKmNEeGHLMtw-ncbeA" id="(0.325,0.8928571428571429)"/>
-    </edges>
-  </notation:Diagram>
-</xmi:XMI>
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_e2LuoIlsEeGdSfnRraevSA" specification="interface MyInterface:&#xD;&#xA;in event Event1&#xD;&#xA;var myInt : integer" name="FeatureCalls">
+    <regions xmi:id="_e2R1QolsEeGdSfnRraevSA" name="main region">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_e3JX8IlsEeGdSfnRraevSA">
+        <outgoingTransitions xmi:id="_e3QFoYlsEeGdSfnRraevSA" target="_e3L0MolsEeGdSfnRraevSA"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_e3L0MolsEeGdSfnRraevSA" name="A" incomingTransitions="_e3QFoYlsEeGdSfnRraevSA _6_eWIKmNEeGHLMtw-ncbeA">
+        <outgoingTransitions xmi:id="_lf50oIlsEeGdSfnRraevSA" specification="MyInterface.Event1" target="_kjQmMIlsEeGdSfnRraevSA"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_kjQmMIlsEeGdSfnRraevSA" specification="entry / MyInterface.myInt = 42&#xD;&#xA;entry/ raise MyInterface.Event1" name="B" incomingTransitions="_lf50oIlsEeGdSfnRraevSA">
+        <outgoingTransitions xmi:id="_6_eWIKmNEeGHLMtw-ncbeA" specification="MyInterface.Event1" target="_e3L0MolsEeGdSfnRraevSA"/>
+      </vertices>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_e2R1QIlsEeGdSfnRraevSA" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_e2LuoIlsEeGdSfnRraevSA" measurementUnit="Pixel">
+    <children xmi:id="_e2eCgIlsEeGdSfnRraevSA" type="Region" element="_e2R1QolsEeGdSfnRraevSA">
+      <children xsi:type="notation:DecorationNode" xmi:id="_e3G7sIlsEeGdSfnRraevSA" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_e3G7sYlsEeGdSfnRraevSA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_e3G7solsEeGdSfnRraevSA"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_e3HiwIlsEeGdSfnRraevSA" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_e3J_AIlsEeGdSfnRraevSA" type="Entry" element="_e3JX8IlsEeGdSfnRraevSA">
+          <children xmi:id="_e3KmEIlsEeGdSfnRraevSA" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_e3LNIolsEeGdSfnRraevSA" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_e3LNI4lsEeGdSfnRraevSA"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_e3L0MIlsEeGdSfnRraevSA"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_e3LNIIlsEeGdSfnRraevSA" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3LNIYlsEeGdSfnRraevSA"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_e3J_AYlsEeGdSfnRraevSA" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3L0MYlsEeGdSfnRraevSA" x="43" y="22"/>
+        </children>
+        <children xmi:id="_e3NCUIlsEeGdSfnRraevSA" type="State" element="_e3L0MolsEeGdSfnRraevSA">
+          <children xsi:type="notation:DecorationNode" xmi:id="_e3NpYIlsEeGdSfnRraevSA" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_e3NpYYlsEeGdSfnRraevSA"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_e3OQcIlsEeGdSfnRraevSA"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_e3O3gIlsEeGdSfnRraevSA" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_e3O3gYlsEeGdSfnRraevSA" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3O3golsEeGdSfnRraevSA"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_e3PekIlsEeGdSfnRraevSA" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_e3NCUYlsEeGdSfnRraevSA" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_e3NCUolsEeGdSfnRraevSA"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_e3PekYlsEeGdSfnRraevSA"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3QFoIlsEeGdSfnRraevSA" x="36" y="99"/>
+        </children>
+        <children xmi:id="_kjkIMIlsEeGdSfnRraevSA" type="State" element="_kjQmMIlsEeGdSfnRraevSA">
+          <children xsi:type="notation:DecorationNode" xmi:id="_kjlWUIlsEeGdSfnRraevSA" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_kjlWUYlsEeGdSfnRraevSA"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_kjlWUolsEeGdSfnRraevSA"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_kjl9YIlsEeGdSfnRraevSA" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_kjl9YYlsEeGdSfnRraevSA" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_kjl9YolsEeGdSfnRraevSA"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_kjmkcIlsEeGdSfnRraevSA" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_kjkIMYlsEeGdSfnRraevSA" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_kjkIMolsEeGdSfnRraevSA"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_kjmkcYlsEeGdSfnRraevSA"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_kjkIM4lsEeGdSfnRraevSA" x="239" y="77" width="101" height="101"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3HiwYlsEeGdSfnRraevSA"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_e2eCgYlsEeGdSfnRraevSA" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3Iw4IlsEeGdSfnRraevSA" x="220" y="10" width="400" height="266"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_e3U-IIlsEeGdSfnRraevSA" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_e3VlMIlsEeGdSfnRraevSA" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_e3VlMYlsEeGdSfnRraevSA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_e3WMQIlsEeGdSfnRraevSA"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_e3WMQYlsEeGdSfnRraevSA" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3WMQolsEeGdSfnRraevSA"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3WzUIlsEeGdSfnRraevSA" x="12" y="10" width="200" height="206"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_e2R1QYlsEeGdSfnRraevSA"/>
+    <edges xmi:id="_e3TI8IlsEeGdSfnRraevSA" type="Transition" element="_e3QFoYlsEeGdSfnRraevSA" source="_e3J_AIlsEeGdSfnRraevSA" target="_e3NCUIlsEeGdSfnRraevSA">
+      <children xsi:type="notation:DecorationNode" xmi:id="_e3UXEIlsEeGdSfnRraevSA" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_e3UXEYlsEeGdSfnRraevSA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_e3UXEolsEeGdSfnRraevSA" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_e3TI8YlsEeGdSfnRraevSA" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_e3TwAIlsEeGdSfnRraevSA" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_e3TI8olsEeGdSfnRraevSA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_lgC-kIlsEeGdSfnRraevSA" type="Transition" element="_lf50oIlsEeGdSfnRraevSA" source="_e3NCUIlsEeGdSfnRraevSA" target="_kjkIMIlsEeGdSfnRraevSA">
+      <children xsi:type="notation:DecorationNode" xmi:id="_lgEMsIlsEeGdSfnRraevSA" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_lgEMsYlsEeGdSfnRraevSA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_lgEMsolsEeGdSfnRraevSA" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_lgC-kYlsEeGdSfnRraevSA" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_lgDloIlsEeGdSfnRraevSA" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_lgC-kolsEeGdSfnRraevSA" points="[0, 0, -116, 20]$[117, -37, 1, -17]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_lgSPIIlsEeGdSfnRraevSA" id="(0.675,0.21428571428571427)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_lgSPIYlsEeGdSfnRraevSA" id="(0.2,0.3392857142857143)"/>
+    </edges>
+    <edges xmi:id="_6_oHIKmNEeGHLMtw-ncbeA" type="Transition" element="_6_eWIKmNEeGHLMtw-ncbeA" source="_kjkIMIlsEeGdSfnRraevSA" target="_e3NCUIlsEeGdSfnRraevSA">
+      <children xsi:type="notation:DecorationNode" xmi:id="_6_oHJKmNEeGHLMtw-ncbeA" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_6_oHJamNEeGHLMtw-ncbeA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_6_oHJqmNEeGHLMtw-ncbeA" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_6_oHIamNEeGHLMtw-ncbeA" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_6_oHI6mNEeGHLMtw-ncbeA" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_6_oHIqmNEeGHLMtw-ncbeA" points="[0, 6, 192, 5]$[-190, 7, 2, 6]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_6_oHJ6mNEeGHLMtw-ncbeA" id="(0.009900990099009901,0.7631578947368421)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_6_oHKKmNEeGHLMtw-ncbeA" id="(0.325,0.8928571428571429)"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

+ 126 - 126
test-plugins/org.yakindu.sct.test.models/testmodels/Guard.sct

@@ -1,126 +1,126 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
-  <sgraph:Statechart xmi:id="_RHEiAHNtEeGtAMDjlTj9eQ" specification="interface:&#xD;&#xA;in event Event1&#xD;&#xA;in event Event2&#xD;&#xA;in event Return&#xD;&#xA;var MyVar : integer = 0" name="Guard">
-    <regions xmi:id="_RHIMYnNtEeGtAMDjlTj9eQ" name="main region">
-      <vertices xsi:type="sgraph:Entry" xmi:id="_RHZSIXNtEeGtAMDjlTj9eQ">
-        <outgoingTransitions xmi:id="_RHjDIXNtEeGtAMDjlTj9eQ" target="_RHc8gXNtEeGtAMDjlTj9eQ"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_RHc8gXNtEeGtAMDjlTj9eQ" name="A" incomingTransitions="_RHjDIXNtEeGtAMDjlTj9eQ _a5PQkHN2EeGvE6zPcInM6Q">
-        <outgoingTransitions xmi:id="_Wl3F8HNtEeGtAMDjlTj9eQ" specification="Event1 [MyVar == 10]" target="_V-iAMHNtEeGtAMDjlTj9eQ"/>
-        <outgoingTransitions xmi:id="_WXQTIHN2EeGvE6zPcInM6Q" specification="Event2" target="_V-iAMHNtEeGtAMDjlTj9eQ"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_V-iAMHNtEeGtAMDjlTj9eQ" specification="entry / MyVar = 10" name="B" incomingTransitions="_Wl3F8HNtEeGtAMDjlTj9eQ _WXQTIHN2EeGvE6zPcInM6Q">
-        <outgoingTransitions xmi:id="_a5PQkHN2EeGvE6zPcInM6Q" specification="Return" target="_RHc8gXNtEeGtAMDjlTj9eQ"/>
-      </vertices>
-    </regions>
-  </sgraph:Statechart>
-  <notation:Diagram xmi:id="_RHIMYHNtEeGtAMDjlTj9eQ" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_RHEiAHNtEeGtAMDjlTj9eQ" measurementUnit="Pixel">
-    <children xmi:id="_RHRWUHNtEeGtAMDjlTj9eQ" type="Region" element="_RHIMYnNtEeGtAMDjlTj9eQ">
-      <children xsi:type="notation:DecorationNode" xmi:id="_RHW14HNtEeGtAMDjlTj9eQ" type="RegionName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_RHW14XNtEeGtAMDjlTj9eQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_RHW14nNtEeGtAMDjlTj9eQ"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_RHXc8HNtEeGtAMDjlTj9eQ" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
-        <children xmi:id="_RHZ5MHNtEeGtAMDjlTj9eQ" type="Entry" element="_RHZSIXNtEeGtAMDjlTj9eQ">
-          <children xmi:id="_RHbHUHNtEeGtAMDjlTj9eQ" type="BorderItemLabelContainer">
-            <children xsi:type="notation:DecorationNode" xmi:id="_RHcVcHNtEeGtAMDjlTj9eQ" type="BorderItemLabel">
-              <styles xsi:type="notation:ShapeStyle" xmi:id="_RHcVcXNtEeGtAMDjlTj9eQ"/>
-              <layoutConstraint xsi:type="notation:Location" xmi:id="_RHcVcnNtEeGtAMDjlTj9eQ"/>
-            </children>
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_RHbHUXNtEeGtAMDjlTj9eQ" fontName="Verdana" lineColor="4210752"/>
-            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHbHUnNtEeGtAMDjlTj9eQ"/>
-          </children>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_RHZ5MXNtEeGtAMDjlTj9eQ" fontName="Verdana" lineColor="4210752"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHc8gHNtEeGtAMDjlTj9eQ" x="70" y="20"/>
-        </children>
-        <children xmi:id="_RHeKoHNtEeGtAMDjlTj9eQ" type="State" element="_RHc8gXNtEeGtAMDjlTj9eQ">
-          <children xsi:type="notation:DecorationNode" xmi:id="_RHf_0HNtEeGtAMDjlTj9eQ" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_RHf_0XNtEeGtAMDjlTj9eQ"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_RHf_0nNtEeGtAMDjlTj9eQ"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_RHhN8HNtEeGtAMDjlTj9eQ" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_RHhN8XNtEeGtAMDjlTj9eQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHhN8nNtEeGtAMDjlTj9eQ"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_RHicEHNtEeGtAMDjlTj9eQ" type="StateFigureCompartment"/>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_RHexsHNtEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_RHexsXNtEeGtAMDjlTj9eQ"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_RHicEXNtEeGtAMDjlTj9eQ"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHjDIHNtEeGtAMDjlTj9eQ" x="50" y="80"/>
-        </children>
-        <children xmi:id="_V-m4sHNtEeGtAMDjlTj9eQ" type="State" element="_V-iAMHNtEeGtAMDjlTj9eQ">
-          <children xsi:type="notation:DecorationNode" xmi:id="_V-oG0HNtEeGtAMDjlTj9eQ" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_V-oG0XNtEeGtAMDjlTj9eQ"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_V-oG0nNtEeGtAMDjlTj9eQ"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_V-ot4HNtEeGtAMDjlTj9eQ" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_V-ot4XNtEeGtAMDjlTj9eQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_V-ot4nNtEeGtAMDjlTj9eQ"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_V-p8AHNtEeGtAMDjlTj9eQ" type="StateFigureCompartment"/>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_V-m4sXNtEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_V-m4snNtEeGtAMDjlTj9eQ"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_V-p8AXNtEeGtAMDjlTj9eQ"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_V-m4s3NtEeGtAMDjlTj9eQ" x="234" y="78" width="151"/>
-        </children>
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHXc8XNtEeGtAMDjlTj9eQ"/>
-      </children>
-      <styles xsi:type="notation:ShapeStyle" xmi:id="_RHRWUXNtEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHZSIHNtEeGtAMDjlTj9eQ" x="220" y="10" width="446" height="336"/>
-    </children>
-    <children xsi:type="notation:Shape" xmi:id="_RHn7oHNtEeGtAMDjlTj9eQ" type="StatechartText" fontName="Verdana" lineColor="4210752">
-      <children xsi:type="notation:DecorationNode" xmi:id="_RHpJwHNtEeGtAMDjlTj9eQ" type="StatechartName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_RHpJwXNtEeGtAMDjlTj9eQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_RHpJwnNtEeGtAMDjlTj9eQ"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_RHpJw3NtEeGtAMDjlTj9eQ" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHpJxHNtEeGtAMDjlTj9eQ"/>
-      </children>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHqX4HNtEeGtAMDjlTj9eQ" x="10" y="10" width="200" height="191"/>
-    </children>
-    <styles xsi:type="notation:DiagramStyle" xmi:id="_RHIMYXNtEeGtAMDjlTj9eQ"/>
-    <edges xmi:id="_RHlfYHNtEeGtAMDjlTj9eQ" type="Transition" element="_RHjDIXNtEeGtAMDjlTj9eQ" source="_RHZ5MHNtEeGtAMDjlTj9eQ" target="_RHeKoHNtEeGtAMDjlTj9eQ">
-      <children xsi:type="notation:DecorationNode" xmi:id="_RHnUkHNtEeGtAMDjlTj9eQ" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_RHnUkXNtEeGtAMDjlTj9eQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_RHnUknNtEeGtAMDjlTj9eQ" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_RHlfYXNtEeGtAMDjlTj9eQ" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_RHmtgHNtEeGtAMDjlTj9eQ" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_RHmGcHNtEeGtAMDjlTj9eQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
-    </edges>
-    <edges xmi:id="_Wl6wUHNtEeGtAMDjlTj9eQ" type="Transition" element="_Wl3F8HNtEeGtAMDjlTj9eQ" source="_RHeKoHNtEeGtAMDjlTj9eQ" target="_V-m4sHNtEeGtAMDjlTj9eQ">
-      <children xsi:type="notation:DecorationNode" xmi:id="_Wl7XYXNtEeGtAMDjlTj9eQ" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_Wl7-cHNtEeGtAMDjlTj9eQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_Wl7-cXNtEeGtAMDjlTj9eQ" x="-2" y="-12"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Wl6wUXNtEeGtAMDjlTj9eQ" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_Wl7XYHNtEeGtAMDjlTj9eQ" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Wl6wUnNtEeGtAMDjlTj9eQ" points="[18, 4, -191, -4]$[207, -17, -2, -25]"/>
-      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_U7k_UHN2EeGvE6zPcInM6Q" id="(0.825,0.14285714285714285)"/>
-      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_Vek-sHN2EeGvE6zPcInM6Q" id="(0.039735099337748346,0.13114754098360656)"/>
-    </edges>
-    <edges xmi:id="_WXTWcHN2EeGvE6zPcInM6Q" type="Transition" element="_WXQTIHN2EeGvE6zPcInM6Q" source="_RHeKoHNtEeGtAMDjlTj9eQ" target="_V-m4sHNtEeGtAMDjlTj9eQ">
-      <children xsi:type="notation:DecorationNode" xmi:id="_WXUkkHN2EeGvE6zPcInM6Q" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_WXUkkXN2EeGvE6zPcInM6Q"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_WXUkknN2EeGvE6zPcInM6Q" x="1" y="-7"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_WXTWcXN2EeGvE6zPcInM6Q" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_WXT9gHN2EeGvE6zPcInM6Q" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_WXTWcnN2EeGvE6zPcInM6Q" points="[18, 1, -156, -6]$[175, 29, 1, 22]"/>
-      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_WXarMHN2EeGvE6zPcInM6Q" id="(0.052980132450331126,0.6229508196721312)"/>
-    </edges>
-    <edges xmi:id="_a5XMYHN2EeGvE6zPcInM6Q" type="Transition" element="_a5PQkHN2EeGvE6zPcInM6Q" source="_V-m4sHNtEeGtAMDjlTj9eQ" target="_RHeKoHNtEeGtAMDjlTj9eQ">
-      <children xsi:type="notation:DecorationNode" xmi:id="_a5YagHN2EeGvE6zPcInM6Q" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_a5YagXN2EeGvE6zPcInM6Q"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_a5YagnN2EeGvE6zPcInM6Q" x="14" y="13"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_a5XMYXN2EeGvE6zPcInM6Q" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_a5XzcHN2EeGvE6zPcInM6Q" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_a5XMYnN2EeGvE6zPcInM6Q" points="[8, 49, 225, 45]$[8, 79, 225, 75]$[-209, 79, 8, 75]$[-209, 46, 8, 42]"/>
-      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_a5ehIHN2EeGvE6zPcInM6Q" id="(0.2913907284768212,0.13114754098360656)"/>
-      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_a5ehIXN2EeGvE6zPcInM6Q" id="(0.275,0.17857142857142858)"/>
-    </edges>
-  </notation:Diagram>
-</xmi:XMI>
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_RHEiAHNtEeGtAMDjlTj9eQ" specification="interface:&#xD;&#xA;in event Event1&#xD;&#xA;in event Event2&#xD;&#xA;in event Return&#xD;&#xA;var MyVar : integer = 0" name="Guard">
+    <regions xmi:id="_RHIMYnNtEeGtAMDjlTj9eQ" name="main region">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_RHZSIXNtEeGtAMDjlTj9eQ">
+        <outgoingTransitions xmi:id="_RHjDIXNtEeGtAMDjlTj9eQ" target="_RHc8gXNtEeGtAMDjlTj9eQ"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_RHc8gXNtEeGtAMDjlTj9eQ" name="A" incomingTransitions="_RHjDIXNtEeGtAMDjlTj9eQ _a5PQkHN2EeGvE6zPcInM6Q">
+        <outgoingTransitions xmi:id="_Wl3F8HNtEeGtAMDjlTj9eQ" specification="Event1 [MyVar == 10]" target="_V-iAMHNtEeGtAMDjlTj9eQ"/>
+        <outgoingTransitions xmi:id="_WXQTIHN2EeGvE6zPcInM6Q" specification="Event2" target="_V-iAMHNtEeGtAMDjlTj9eQ"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_V-iAMHNtEeGtAMDjlTj9eQ" specification="entry / MyVar = 10" name="B" incomingTransitions="_Wl3F8HNtEeGtAMDjlTj9eQ _WXQTIHN2EeGvE6zPcInM6Q">
+        <outgoingTransitions xmi:id="_a5PQkHN2EeGvE6zPcInM6Q" specification="Return" target="_RHc8gXNtEeGtAMDjlTj9eQ"/>
+      </vertices>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_RHIMYHNtEeGtAMDjlTj9eQ" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_RHEiAHNtEeGtAMDjlTj9eQ" measurementUnit="Pixel">
+    <children xmi:id="_RHRWUHNtEeGtAMDjlTj9eQ" type="Region" element="_RHIMYnNtEeGtAMDjlTj9eQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_RHW14HNtEeGtAMDjlTj9eQ" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_RHW14XNtEeGtAMDjlTj9eQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_RHW14nNtEeGtAMDjlTj9eQ"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_RHXc8HNtEeGtAMDjlTj9eQ" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_RHZ5MHNtEeGtAMDjlTj9eQ" type="Entry" element="_RHZSIXNtEeGtAMDjlTj9eQ">
+          <children xmi:id="_RHbHUHNtEeGtAMDjlTj9eQ" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_RHcVcHNtEeGtAMDjlTj9eQ" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_RHcVcXNtEeGtAMDjlTj9eQ"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_RHcVcnNtEeGtAMDjlTj9eQ"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_RHbHUXNtEeGtAMDjlTj9eQ" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHbHUnNtEeGtAMDjlTj9eQ"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_RHZ5MXNtEeGtAMDjlTj9eQ" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHc8gHNtEeGtAMDjlTj9eQ" x="70" y="20"/>
+        </children>
+        <children xmi:id="_RHeKoHNtEeGtAMDjlTj9eQ" type="State" element="_RHc8gXNtEeGtAMDjlTj9eQ">
+          <children xsi:type="notation:DecorationNode" xmi:id="_RHf_0HNtEeGtAMDjlTj9eQ" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_RHf_0XNtEeGtAMDjlTj9eQ"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_RHf_0nNtEeGtAMDjlTj9eQ"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_RHhN8HNtEeGtAMDjlTj9eQ" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_RHhN8XNtEeGtAMDjlTj9eQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHhN8nNtEeGtAMDjlTj9eQ"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_RHicEHNtEeGtAMDjlTj9eQ" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_RHexsHNtEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_RHexsXNtEeGtAMDjlTj9eQ"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_RHicEXNtEeGtAMDjlTj9eQ"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHjDIHNtEeGtAMDjlTj9eQ" x="50" y="80"/>
+        </children>
+        <children xmi:id="_V-m4sHNtEeGtAMDjlTj9eQ" type="State" element="_V-iAMHNtEeGtAMDjlTj9eQ">
+          <children xsi:type="notation:DecorationNode" xmi:id="_V-oG0HNtEeGtAMDjlTj9eQ" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_V-oG0XNtEeGtAMDjlTj9eQ"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_V-oG0nNtEeGtAMDjlTj9eQ"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_V-ot4HNtEeGtAMDjlTj9eQ" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_V-ot4XNtEeGtAMDjlTj9eQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_V-ot4nNtEeGtAMDjlTj9eQ"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_V-p8AHNtEeGtAMDjlTj9eQ" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_V-m4sXNtEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_V-m4snNtEeGtAMDjlTj9eQ"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_V-p8AXNtEeGtAMDjlTj9eQ"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_V-m4s3NtEeGtAMDjlTj9eQ" x="234" y="78" width="151"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHXc8XNtEeGtAMDjlTj9eQ"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_RHRWUXNtEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHZSIHNtEeGtAMDjlTj9eQ" x="220" y="10" width="446" height="336"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_RHn7oHNtEeGtAMDjlTj9eQ" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_RHpJwHNtEeGtAMDjlTj9eQ" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_RHpJwXNtEeGtAMDjlTj9eQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_RHpJwnNtEeGtAMDjlTj9eQ"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_RHpJw3NtEeGtAMDjlTj9eQ" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHpJxHNtEeGtAMDjlTj9eQ"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHqX4HNtEeGtAMDjlTj9eQ" x="12" y="10" width="200" height="191"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_RHIMYXNtEeGtAMDjlTj9eQ"/>
+    <edges xmi:id="_RHlfYHNtEeGtAMDjlTj9eQ" type="Transition" element="_RHjDIXNtEeGtAMDjlTj9eQ" source="_RHZ5MHNtEeGtAMDjlTj9eQ" target="_RHeKoHNtEeGtAMDjlTj9eQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_RHnUkHNtEeGtAMDjlTj9eQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_RHnUkXNtEeGtAMDjlTj9eQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_RHnUknNtEeGtAMDjlTj9eQ" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_RHlfYXNtEeGtAMDjlTj9eQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_RHmtgHNtEeGtAMDjlTj9eQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_RHmGcHNtEeGtAMDjlTj9eQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_Wl6wUHNtEeGtAMDjlTj9eQ" type="Transition" element="_Wl3F8HNtEeGtAMDjlTj9eQ" source="_RHeKoHNtEeGtAMDjlTj9eQ" target="_V-m4sHNtEeGtAMDjlTj9eQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Wl7XYXNtEeGtAMDjlTj9eQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Wl7-cHNtEeGtAMDjlTj9eQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Wl7-cXNtEeGtAMDjlTj9eQ" x="-2" y="-12"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Wl6wUXNtEeGtAMDjlTj9eQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Wl7XYHNtEeGtAMDjlTj9eQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Wl6wUnNtEeGtAMDjlTj9eQ" points="[18, 4, -191, -4]$[207, -17, -2, -25]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_U7k_UHN2EeGvE6zPcInM6Q" id="(0.825,0.14285714285714285)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_Vek-sHN2EeGvE6zPcInM6Q" id="(0.039735099337748346,0.13114754098360656)"/>
+    </edges>
+    <edges xmi:id="_WXTWcHN2EeGvE6zPcInM6Q" type="Transition" element="_WXQTIHN2EeGvE6zPcInM6Q" source="_RHeKoHNtEeGtAMDjlTj9eQ" target="_V-m4sHNtEeGtAMDjlTj9eQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_WXUkkHN2EeGvE6zPcInM6Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_WXUkkXN2EeGvE6zPcInM6Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_WXUkknN2EeGvE6zPcInM6Q" x="1" y="-7"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_WXTWcXN2EeGvE6zPcInM6Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_WXT9gHN2EeGvE6zPcInM6Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_WXTWcnN2EeGvE6zPcInM6Q" points="[18, 1, -156, -6]$[175, 29, 1, 22]"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_WXarMHN2EeGvE6zPcInM6Q" id="(0.052980132450331126,0.6229508196721312)"/>
+    </edges>
+    <edges xmi:id="_a5XMYHN2EeGvE6zPcInM6Q" type="Transition" element="_a5PQkHN2EeGvE6zPcInM6Q" source="_V-m4sHNtEeGtAMDjlTj9eQ" target="_RHeKoHNtEeGtAMDjlTj9eQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_a5YagHN2EeGvE6zPcInM6Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_a5YagXN2EeGvE6zPcInM6Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_a5YagnN2EeGvE6zPcInM6Q" x="14" y="13"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_a5XMYXN2EeGvE6zPcInM6Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_a5XzcHN2EeGvE6zPcInM6Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_a5XMYnN2EeGvE6zPcInM6Q" points="[8, 49, 225, 45]$[8, 79, 225, 75]$[-209, 79, 8, 75]$[-209, 46, 8, 42]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_a5ehIHN2EeGvE6zPcInM6Q" id="(0.2913907284768212,0.13114754098360656)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_a5ehIXN2EeGvE6zPcInM6Q" id="(0.275,0.17857142857142858)"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

File diff suppressed because it is too large
+ 112 - 112
test-plugins/org.yakindu.sct.test.models/testmodels/IntegerExpressions.sct


+ 1 - 1
test-plugins/org.yakindu.sct.test.models/testmodels/InternalEventLifeCycle.sct

@@ -88,7 +88,7 @@
       <children xsi:type="notation:Shape" xmi:id="_PbmVM_ZzEeGjYrgSHyBHaA" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
         <layoutConstraint xsi:type="notation:Bounds" xmi:id="_PbmVNPZzEeGjYrgSHyBHaA"/>
       </children>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Pbm8QPZzEeGjYrgSHyBHaA" x="10" y="10" width="200" height="400"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Pbm8QPZzEeGjYrgSHyBHaA" x="8" y="10" width="200" height="400"/>
     </children>
     <children xmi:id="_1kn6sPZzEeGjYrgSHyBHaA" type="Region" element="_1kk3YPZzEeGjYrgSHyBHaA">
       <children xsi:type="notation:DecorationNode" xmi:id="_1kohwPZzEeGjYrgSHyBHaA" type="RegionName">

+ 1 - 1
test-plugins/org.yakindu.sct.test.models/testmodels/PerformanceTest.sct

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
-  <sgraph:Statechart xmi:id="_pyTdwANZEeKwQP8D-v2eag" specification="&#xA;interface:&#xA;&#xA;&#x9;in event e1&#xA;&#x9;in event e2&#xA;&#x9;in event e3&#xA;&#x9;&#xA;&#x9;var x : integer = 0&#xA;&#xA;&#x9;var a : integer = 0&#xA;&#x9;&#xA;&#x9;var c: integer = 0&#xA;&#x9;&#xA;&#x9;&#xA;internal:&#xA;&#xA;&#x9;always / c += 1" name="PerformanceTest">
+  <sgraph:Statechart xmi:id="_pyTdwANZEeKwQP8D-v2eag" specification="&#xA;interface:&#xA;&#xA;&#x9;in event e1&#xA;&#x9;in event e2&#xA;&#x9;in event e3&#xA;&#x9;&#xA;&#x9;var x : integer = 0&#xA;&#xA;&#x9;var a : integer = 0&#xA;&#x9;&#xA;&#x9;var c: integer = 0&#xA;&#x9;&#xA;&#x9;&#xA;internal:&#xA;&#xA;&#x9;always / c += 1&#xA;&#x9;every 2000ms / raise e2; raise e1&#xA;&#x9;every 6200ms / raise e3&#xA;" name="PerformanceTest">
     <regions xmi:id="_pyUr4gNZEeKwQP8D-v2eag" name="mr">
       <vertices xsi:type="sgraph:Entry" xmi:id="_pyYWQwNZEeKwQP8D-v2eag">
         <outgoingTransitions xmi:id="_pyaygQNZEeKwQP8D-v2eag" target="_pyZkYQNZEeKwQP8D-v2eag"/>

+ 186 - 186
test-plugins/org.yakindu.sct.test.models/testmodels/RaiseEvent.sct

@@ -1,186 +1,186 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
-  <sgraph:Statechart xmi:id="_lIoDMMv-EeGZoP1H_25Cxw" specification="interface:&#xD;&#xA;out event e1&#xD;&#xA;in event e2" name="RaiseEvent">
-    <regions xmi:id="_lI6-Isv-EeGZoP1H_25Cxw" name="main region">
-      <vertices xsi:type="sgraph:Entry" xmi:id="_lJEvJsv-EeGZoP1H_25Cxw">
-        <outgoingTransitions xmi:id="_lJN5Ecv-EeGZoP1H_25Cxw" target="_lJEvMcv-EeGZoP1H_25Cxw"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_lJEvMcv-EeGZoP1H_25Cxw" name="StateA" incomingTransitions="_lJN5Ecv-EeGZoP1H_25Cxw">
-        <outgoingTransitions xmi:id="_x8CrUMv-EeGZoP1H_25Cxw" specification="e2" target="_wsBN4Mv-EeGZoP1H_25Cxw"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_wsBN4Mv-EeGZoP1H_25Cxw" specification="entry / raise e1" name="StateB" incomingTransitions="_x8CrUMv-EeGZoP1H_25Cxw"/>
-    </regions>
-    <regions xmi:id="_z616UMv-EeGZoP1H_25Cxw" name="second region">
-      <vertices xsi:type="sgraph:Entry" xmi:id="_1WMeAMv-EeGZoP1H_25Cxw">
-        <outgoingTransitions xmi:id="_3p3JwMv-EeGZoP1H_25Cxw" specification="" target="_18MHAMv-EeGZoP1H_25Cxw"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_18MHAMv-EeGZoP1H_25Cxw" name="SateA" incomingTransitions="_3p3JwMv-EeGZoP1H_25Cxw">
-        <outgoingTransitions xmi:id="_6m9NAMv-EeGZoP1H_25Cxw" specification="e1" target="_5QFgsMv-EeGZoP1H_25Cxw"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_5QFgsMv-EeGZoP1H_25Cxw" name="StateB" incomingTransitions="_6m9NAMv-EeGZoP1H_25Cxw"/>
-    </regions>
-  </sgraph:Statechart>
-  <notation:Diagram xmi:id="_lI6-IMv-EeGZoP1H_25Cxw" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_lIoDMMv-EeGZoP1H_25Cxw" measurementUnit="Pixel">
-    <children xmi:id="_lI6-I8v-EeGZoP1H_25Cxw" type="Region" element="_lI6-Isv-EeGZoP1H_25Cxw">
-      <children xsi:type="notation:DecorationNode" xmi:id="_lJEvIMv-EeGZoP1H_25Cxw" type="RegionName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_lJEvIcv-EeGZoP1H_25Cxw"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_lJEvIsv-EeGZoP1H_25Cxw"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_lJEvI8v-EeGZoP1H_25Cxw" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
-        <children xmi:id="_lJEvJ8v-EeGZoP1H_25Cxw" type="Entry" element="_lJEvJsv-EeGZoP1H_25Cxw">
-          <children xmi:id="_lJEvKsv-EeGZoP1H_25Cxw" type="BorderItemLabelContainer">
-            <children xsi:type="notation:DecorationNode" xmi:id="_lJEvLcv-EeGZoP1H_25Cxw" type="BorderItemLabel">
-              <styles xsi:type="notation:ShapeStyle" xmi:id="_lJEvLsv-EeGZoP1H_25Cxw"/>
-              <layoutConstraint xsi:type="notation:Location" xmi:id="_lJEvL8v-EeGZoP1H_25Cxw"/>
-            </children>
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_lJEvK8v-EeGZoP1H_25Cxw" fontName="Verdana" lineColor="4210752"/>
-            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJEvLMv-EeGZoP1H_25Cxw"/>
-          </children>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_lJEvKMv-EeGZoP1H_25Cxw" fontName="Verdana" lineColor="4210752"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJEvMMv-EeGZoP1H_25Cxw" x="85" y="4"/>
-        </children>
-        <children xmi:id="_lJEvM8v-EeGZoP1H_25Cxw" type="State" element="_lJEvMcv-EeGZoP1H_25Cxw">
-          <children xsi:type="notation:DecorationNode" xmi:id="_lJEvN8v-EeGZoP1H_25Cxw" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_lJEvOMv-EeGZoP1H_25Cxw"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_lJEvOcv-EeGZoP1H_25Cxw"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_lJEvOsv-EeGZoP1H_25Cxw" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_lJEvO8v-EeGZoP1H_25Cxw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJEvPMv-EeGZoP1H_25Cxw"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_lJEvPcv-EeGZoP1H_25Cxw" type="StateFigureCompartment"/>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_lJEvNMv-EeGZoP1H_25Cxw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_lJEvNcv-EeGZoP1H_25Cxw"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_lJEvPsv-EeGZoP1H_25Cxw"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJN5EMv-EeGZoP1H_25Cxw" x="46" y="64" width="99" height="96"/>
-        </children>
-        <children xmi:id="_wsUI0Mv-EeGZoP1H_25Cxw" type="State" element="_wsBN4Mv-EeGZoP1H_25Cxw">
-          <children xsi:type="notation:DecorationNode" xmi:id="_wsUI1Mv-EeGZoP1H_25Cxw" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_wsUI1cv-EeGZoP1H_25Cxw"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_wsUI1sv-EeGZoP1H_25Cxw"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_wsUI18v-EeGZoP1H_25Cxw" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_wsUI2Mv-EeGZoP1H_25Cxw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_wsUI2cv-EeGZoP1H_25Cxw"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_wsUI2sv-EeGZoP1H_25Cxw" type="StateFigureCompartment"/>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_wsUI0cv-EeGZoP1H_25Cxw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_wsUI0sv-EeGZoP1H_25Cxw"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_wsUI28v-EeGZoP1H_25Cxw"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_wsUI08v-EeGZoP1H_25Cxw" x="239" y="79" width="76" height="93"/>
-        </children>
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJEvJMv-EeGZoP1H_25Cxw"/>
-      </children>
-      <styles xsi:type="notation:ShapeStyle" xmi:id="_lI6-JMv-EeGZoP1H_25Cxw" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJEvJcv-EeGZoP1H_25Cxw" x="220" y="10" width="400" height="231"/>
-    </children>
-    <children xsi:type="notation:Shape" xmi:id="_lJN5Gcv-EeGZoP1H_25Cxw" type="StatechartText" fontName="Verdana" lineColor="4210752">
-      <children xsi:type="notation:DecorationNode" xmi:id="_lJN5G8v-EeGZoP1H_25Cxw" type="StatechartName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_lJN5HMv-EeGZoP1H_25Cxw"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_lJN5Hcv-EeGZoP1H_25Cxw"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_lJN5Hsv-EeGZoP1H_25Cxw" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJN5H8v-EeGZoP1H_25Cxw"/>
-      </children>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJN5IMv-EeGZoP1H_25Cxw" x="10" y="10" width="200" height="435"/>
-    </children>
-    <children xmi:id="_z616Ucv-EeGZoP1H_25Cxw" type="Region" element="_z616UMv-EeGZoP1H_25Cxw">
-      <children xsi:type="notation:DecorationNode" xmi:id="_z616VMv-EeGZoP1H_25Cxw" type="RegionName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_z616Vcv-EeGZoP1H_25Cxw"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_z616Vsv-EeGZoP1H_25Cxw"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_z616V8v-EeGZoP1H_25Cxw" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
-        <children xmi:id="_1WVn8Mv-EeGZoP1H_25Cxw" type="Entry" element="_1WMeAMv-EeGZoP1H_25Cxw">
-          <children xmi:id="_1WVn88v-EeGZoP1H_25Cxw" type="BorderItemLabelContainer">
-            <children xsi:type="notation:DecorationNode" xmi:id="_1WVn9sv-EeGZoP1H_25Cxw" type="BorderItemLabel">
-              <styles xsi:type="notation:ShapeStyle" xmi:id="_1WVn98v-EeGZoP1H_25Cxw"/>
-              <layoutConstraint xsi:type="notation:Location" xmi:id="_1WVn-Mv-EeGZoP1H_25Cxw"/>
-            </children>
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_1WVn9Mv-EeGZoP1H_25Cxw" fontName="Verdana" lineColor="4210752"/>
-            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_1WVn9cv-EeGZoP1H_25Cxw"/>
-          </children>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_1WVn8cv-EeGZoP1H_25Cxw" fontName="Verdana" lineColor="4210752"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_1WVn8sv-EeGZoP1H_25Cxw" x="43" y="28"/>
-        </children>
-        <children xmi:id="_18V4AMv-EeGZoP1H_25Cxw" type="State" element="_18MHAMv-EeGZoP1H_25Cxw">
-          <children xsi:type="notation:DecorationNode" xmi:id="_18V4BMv-EeGZoP1H_25Cxw" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_18V4Bcv-EeGZoP1H_25Cxw"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_18V4Bsv-EeGZoP1H_25Cxw"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_18fB8Mv-EeGZoP1H_25Cxw" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_18fB8cv-EeGZoP1H_25Cxw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_18fB8sv-EeGZoP1H_25Cxw"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_18fB88v-EeGZoP1H_25Cxw" type="StateFigureCompartment"/>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_18V4Acv-EeGZoP1H_25Cxw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_18V4Asv-EeGZoP1H_25Cxw"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_18fB9Mv-EeGZoP1H_25Cxw"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_18V4A8v-EeGZoP1H_25Cxw" x="85" y="17" width="86" height="73"/>
-        </children>
-        <children xmi:id="_5QYboMv-EeGZoP1H_25Cxw" type="State" element="_5QFgsMv-EeGZoP1H_25Cxw">
-          <children xsi:type="notation:DecorationNode" xmi:id="_5QYbpMv-EeGZoP1H_25Cxw" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_5QYbpcv-EeGZoP1H_25Cxw"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_5QYbpsv-EeGZoP1H_25Cxw"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_5QYbp8v-EeGZoP1H_25Cxw" type="StateTextCompartment" collapsed="true">
-            <children xsi:type="notation:Shape" xmi:id="_5QYbqMv-EeGZoP1H_25Cxw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_5QYbqcv-EeGZoP1H_25Cxw"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_5QYbqsv-EeGZoP1H_25Cxw" type="StateFigureCompartment"/>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_5QYbocv-EeGZoP1H_25Cxw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_5QYbosv-EeGZoP1H_25Cxw"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_5QYbq8v-EeGZoP1H_25Cxw"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_5QYbo8v-EeGZoP1H_25Cxw" x="260" y="25" width="71" height="75"/>
-        </children>
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_z616WMv-EeGZoP1H_25Cxw"/>
-      </children>
-      <styles xsi:type="notation:ShapeStyle" xmi:id="_z616Usv-EeGZoP1H_25Cxw" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_z616U8v-EeGZoP1H_25Cxw" x="220" y="245" width="400" height="200"/>
-    </children>
-    <styles xsi:type="notation:DiagramStyle" xmi:id="_lI6-Icv-EeGZoP1H_25Cxw"/>
-    <edges xmi:id="_lJN5Esv-EeGZoP1H_25Cxw" type="Transition" element="_lJN5Ecv-EeGZoP1H_25Cxw" source="_lJEvJ8v-EeGZoP1H_25Cxw" target="_lJEvM8v-EeGZoP1H_25Cxw">
-      <children xsi:type="notation:DecorationNode" xmi:id="_lJN5Fsv-EeGZoP1H_25Cxw" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_lJN5F8v-EeGZoP1H_25Cxw"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_lJN5GMv-EeGZoP1H_25Cxw" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_lJN5E8v-EeGZoP1H_25Cxw" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_lJN5Fcv-EeGZoP1H_25Cxw" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_lJN5FMv-EeGZoP1H_25Cxw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
-    </edges>
-    <edges xmi:id="_x8L1QMv-EeGZoP1H_25Cxw" type="Transition" element="_x8CrUMv-EeGZoP1H_25Cxw" source="_lJEvM8v-EeGZoP1H_25Cxw" target="_wsUI0Mv-EeGZoP1H_25Cxw">
-      <children xsi:type="notation:DecorationNode" xmi:id="_x8L1RMv-EeGZoP1H_25Cxw" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_x8L1Rcv-EeGZoP1H_25Cxw"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_x8L1Rsv-EeGZoP1H_25Cxw" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_x8L1Qcv-EeGZoP1H_25Cxw" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_x8L1Q8v-EeGZoP1H_25Cxw" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_x8L1Qsv-EeGZoP1H_25Cxw" points="[10, -1, -92, 1]$[103, -9, 1, -7]"/>
-      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_x8VmQMv-EeGZoP1H_25Cxw" id="(0.8214285714285714,0.375)"/>
-      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_x8VmQcv-EeGZoP1H_25Cxw" id="(0.013157894736842105,0.2)"/>
-    </edges>
-    <edges xmi:id="_3qA6wMv-EeGZoP1H_25Cxw" type="Transition" element="_3p3JwMv-EeGZoP1H_25Cxw" source="_1WVn8Mv-EeGZoP1H_25Cxw" target="_18V4AMv-EeGZoP1H_25Cxw">
-      <children xsi:type="notation:DecorationNode" xmi:id="_3qA6xMv-EeGZoP1H_25Cxw" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_3qA6xcv-EeGZoP1H_25Cxw"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_3qA6xsv-EeGZoP1H_25Cxw" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_3qA6wcv-EeGZoP1H_25Cxw" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_3qA6w8v-EeGZoP1H_25Cxw" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_3qA6wsv-EeGZoP1H_25Cxw" points="[7, 2, -32, -10]$[41, -1, 2, -13]"/>
-      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_3qKEsMv-EeGZoP1H_25Cxw" id="(0.23529411764705882,0.35714285714285715)"/>
-    </edges>
-    <edges xmi:id="_6nG-AMv-EeGZoP1H_25Cxw" type="Transition" element="_6m9NAMv-EeGZoP1H_25Cxw" source="_18V4AMv-EeGZoP1H_25Cxw" target="_5QYboMv-EeGZoP1H_25Cxw">
-      <children xsi:type="notation:DecorationNode" xmi:id="_6nG-BMv-EeGZoP1H_25Cxw" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_6nG-Bcv-EeGZoP1H_25Cxw"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_6nG-Bsv-EeGZoP1H_25Cxw" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_6nG-Acv-EeGZoP1H_25Cxw" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_6nG-A8v-EeGZoP1H_25Cxw" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_6nG-Asv-EeGZoP1H_25Cxw" points="[23, 2, -89, 2]$[113, -20, 1, -20]"/>
-      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_6nQH8Mv-EeGZoP1H_25Cxw" id="(0.05357142857142857,0.39285714285714285)"/>
-    </edges>
-  </notation:Diagram>
-</xmi:XMI>
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_lIoDMMv-EeGZoP1H_25Cxw" specification="interface:&#xD;&#xA;out event e1&#xD;&#xA;in event e2" name="RaiseEvent">
+    <regions xmi:id="_lI6-Isv-EeGZoP1H_25Cxw" name="main region">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_lJEvJsv-EeGZoP1H_25Cxw">
+        <outgoingTransitions xmi:id="_lJN5Ecv-EeGZoP1H_25Cxw" target="_lJEvMcv-EeGZoP1H_25Cxw"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_lJEvMcv-EeGZoP1H_25Cxw" name="StateA" incomingTransitions="_lJN5Ecv-EeGZoP1H_25Cxw">
+        <outgoingTransitions xmi:id="_x8CrUMv-EeGZoP1H_25Cxw" specification="e2" target="_wsBN4Mv-EeGZoP1H_25Cxw"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_wsBN4Mv-EeGZoP1H_25Cxw" specification="entry / raise e1" name="StateB" incomingTransitions="_x8CrUMv-EeGZoP1H_25Cxw"/>
+    </regions>
+    <regions xmi:id="_z616UMv-EeGZoP1H_25Cxw" name="second region">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_1WMeAMv-EeGZoP1H_25Cxw">
+        <outgoingTransitions xmi:id="_3p3JwMv-EeGZoP1H_25Cxw" specification="" target="_18MHAMv-EeGZoP1H_25Cxw"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_18MHAMv-EeGZoP1H_25Cxw" name="SateA" incomingTransitions="_3p3JwMv-EeGZoP1H_25Cxw">
+        <outgoingTransitions xmi:id="_6m9NAMv-EeGZoP1H_25Cxw" specification="e1" target="_5QFgsMv-EeGZoP1H_25Cxw"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_5QFgsMv-EeGZoP1H_25Cxw" name="StateB" incomingTransitions="_6m9NAMv-EeGZoP1H_25Cxw"/>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_lI6-IMv-EeGZoP1H_25Cxw" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_lIoDMMv-EeGZoP1H_25Cxw" measurementUnit="Pixel">
+    <children xmi:id="_lI6-I8v-EeGZoP1H_25Cxw" type="Region" element="_lI6-Isv-EeGZoP1H_25Cxw">
+      <children xsi:type="notation:DecorationNode" xmi:id="_lJEvIMv-EeGZoP1H_25Cxw" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_lJEvIcv-EeGZoP1H_25Cxw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_lJEvIsv-EeGZoP1H_25Cxw"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_lJEvI8v-EeGZoP1H_25Cxw" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_lJEvJ8v-EeGZoP1H_25Cxw" type="Entry" element="_lJEvJsv-EeGZoP1H_25Cxw">
+          <children xmi:id="_lJEvKsv-EeGZoP1H_25Cxw" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_lJEvLcv-EeGZoP1H_25Cxw" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_lJEvLsv-EeGZoP1H_25Cxw"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_lJEvL8v-EeGZoP1H_25Cxw"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_lJEvK8v-EeGZoP1H_25Cxw" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJEvLMv-EeGZoP1H_25Cxw"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_lJEvKMv-EeGZoP1H_25Cxw" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJEvMMv-EeGZoP1H_25Cxw" x="85" y="4"/>
+        </children>
+        <children xmi:id="_lJEvM8v-EeGZoP1H_25Cxw" type="State" element="_lJEvMcv-EeGZoP1H_25Cxw">
+          <children xsi:type="notation:DecorationNode" xmi:id="_lJEvN8v-EeGZoP1H_25Cxw" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_lJEvOMv-EeGZoP1H_25Cxw"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_lJEvOcv-EeGZoP1H_25Cxw"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_lJEvOsv-EeGZoP1H_25Cxw" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_lJEvO8v-EeGZoP1H_25Cxw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJEvPMv-EeGZoP1H_25Cxw"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_lJEvPcv-EeGZoP1H_25Cxw" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_lJEvNMv-EeGZoP1H_25Cxw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_lJEvNcv-EeGZoP1H_25Cxw"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_lJEvPsv-EeGZoP1H_25Cxw"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJN5EMv-EeGZoP1H_25Cxw" x="46" y="64" width="99" height="96"/>
+        </children>
+        <children xmi:id="_wsUI0Mv-EeGZoP1H_25Cxw" type="State" element="_wsBN4Mv-EeGZoP1H_25Cxw">
+          <children xsi:type="notation:DecorationNode" xmi:id="_wsUI1Mv-EeGZoP1H_25Cxw" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_wsUI1cv-EeGZoP1H_25Cxw"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_wsUI1sv-EeGZoP1H_25Cxw"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_wsUI18v-EeGZoP1H_25Cxw" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_wsUI2Mv-EeGZoP1H_25Cxw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_wsUI2cv-EeGZoP1H_25Cxw"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_wsUI2sv-EeGZoP1H_25Cxw" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_wsUI0cv-EeGZoP1H_25Cxw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_wsUI0sv-EeGZoP1H_25Cxw"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_wsUI28v-EeGZoP1H_25Cxw"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_wsUI08v-EeGZoP1H_25Cxw" x="239" y="79" width="76" height="93"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJEvJMv-EeGZoP1H_25Cxw"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_lI6-JMv-EeGZoP1H_25Cxw" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJEvJcv-EeGZoP1H_25Cxw" x="220" y="10" width="400" height="231"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_lJN5Gcv-EeGZoP1H_25Cxw" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_lJN5G8v-EeGZoP1H_25Cxw" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_lJN5HMv-EeGZoP1H_25Cxw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_lJN5Hcv-EeGZoP1H_25Cxw"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_lJN5Hsv-EeGZoP1H_25Cxw" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJN5H8v-EeGZoP1H_25Cxw"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJN5IMv-EeGZoP1H_25Cxw" x="8" y="10" width="200" height="435"/>
+    </children>
+    <children xmi:id="_z616Ucv-EeGZoP1H_25Cxw" type="Region" element="_z616UMv-EeGZoP1H_25Cxw">
+      <children xsi:type="notation:DecorationNode" xmi:id="_z616VMv-EeGZoP1H_25Cxw" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_z616Vcv-EeGZoP1H_25Cxw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_z616Vsv-EeGZoP1H_25Cxw"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_z616V8v-EeGZoP1H_25Cxw" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_1WVn8Mv-EeGZoP1H_25Cxw" type="Entry" element="_1WMeAMv-EeGZoP1H_25Cxw">
+          <children xmi:id="_1WVn88v-EeGZoP1H_25Cxw" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_1WVn9sv-EeGZoP1H_25Cxw" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_1WVn98v-EeGZoP1H_25Cxw"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_1WVn-Mv-EeGZoP1H_25Cxw"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_1WVn9Mv-EeGZoP1H_25Cxw" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_1WVn9cv-EeGZoP1H_25Cxw"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_1WVn8cv-EeGZoP1H_25Cxw" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_1WVn8sv-EeGZoP1H_25Cxw" x="43" y="28"/>
+        </children>
+        <children xmi:id="_18V4AMv-EeGZoP1H_25Cxw" type="State" element="_18MHAMv-EeGZoP1H_25Cxw">
+          <children xsi:type="notation:DecorationNode" xmi:id="_18V4BMv-EeGZoP1H_25Cxw" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_18V4Bcv-EeGZoP1H_25Cxw"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_18V4Bsv-EeGZoP1H_25Cxw"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_18fB8Mv-EeGZoP1H_25Cxw" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_18fB8cv-EeGZoP1H_25Cxw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_18fB8sv-EeGZoP1H_25Cxw"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_18fB88v-EeGZoP1H_25Cxw" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_18V4Acv-EeGZoP1H_25Cxw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_18V4Asv-EeGZoP1H_25Cxw"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_18fB9Mv-EeGZoP1H_25Cxw"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_18V4A8v-EeGZoP1H_25Cxw" x="85" y="17" width="86" height="73"/>
+        </children>
+        <children xmi:id="_5QYboMv-EeGZoP1H_25Cxw" type="State" element="_5QFgsMv-EeGZoP1H_25Cxw">
+          <children xsi:type="notation:DecorationNode" xmi:id="_5QYbpMv-EeGZoP1H_25Cxw" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_5QYbpcv-EeGZoP1H_25Cxw"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_5QYbpsv-EeGZoP1H_25Cxw"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_5QYbp8v-EeGZoP1H_25Cxw" type="StateTextCompartment" collapsed="true">
+            <children xsi:type="notation:Shape" xmi:id="_5QYbqMv-EeGZoP1H_25Cxw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_5QYbqcv-EeGZoP1H_25Cxw"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_5QYbqsv-EeGZoP1H_25Cxw" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_5QYbocv-EeGZoP1H_25Cxw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_5QYbosv-EeGZoP1H_25Cxw"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_5QYbq8v-EeGZoP1H_25Cxw"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_5QYbo8v-EeGZoP1H_25Cxw" x="260" y="25" width="71" height="75"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_z616WMv-EeGZoP1H_25Cxw"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_z616Usv-EeGZoP1H_25Cxw" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_z616U8v-EeGZoP1H_25Cxw" x="220" y="245" width="400" height="200"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_lI6-Icv-EeGZoP1H_25Cxw"/>
+    <edges xmi:id="_lJN5Esv-EeGZoP1H_25Cxw" type="Transition" element="_lJN5Ecv-EeGZoP1H_25Cxw" source="_lJEvJ8v-EeGZoP1H_25Cxw" target="_lJEvM8v-EeGZoP1H_25Cxw">
+      <children xsi:type="notation:DecorationNode" xmi:id="_lJN5Fsv-EeGZoP1H_25Cxw" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_lJN5F8v-EeGZoP1H_25Cxw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_lJN5GMv-EeGZoP1H_25Cxw" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_lJN5E8v-EeGZoP1H_25Cxw" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_lJN5Fcv-EeGZoP1H_25Cxw" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_lJN5FMv-EeGZoP1H_25Cxw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_x8L1QMv-EeGZoP1H_25Cxw" type="Transition" element="_x8CrUMv-EeGZoP1H_25Cxw" source="_lJEvM8v-EeGZoP1H_25Cxw" target="_wsUI0Mv-EeGZoP1H_25Cxw">
+      <children xsi:type="notation:DecorationNode" xmi:id="_x8L1RMv-EeGZoP1H_25Cxw" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_x8L1Rcv-EeGZoP1H_25Cxw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_x8L1Rsv-EeGZoP1H_25Cxw" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_x8L1Qcv-EeGZoP1H_25Cxw" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_x8L1Q8v-EeGZoP1H_25Cxw" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_x8L1Qsv-EeGZoP1H_25Cxw" points="[10, -1, -92, 1]$[103, -9, 1, -7]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_x8VmQMv-EeGZoP1H_25Cxw" id="(0.8214285714285714,0.375)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_x8VmQcv-EeGZoP1H_25Cxw" id="(0.013157894736842105,0.2)"/>
+    </edges>
+    <edges xmi:id="_3qA6wMv-EeGZoP1H_25Cxw" type="Transition" element="_3p3JwMv-EeGZoP1H_25Cxw" source="_1WVn8Mv-EeGZoP1H_25Cxw" target="_18V4AMv-EeGZoP1H_25Cxw">
+      <children xsi:type="notation:DecorationNode" xmi:id="_3qA6xMv-EeGZoP1H_25Cxw" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_3qA6xcv-EeGZoP1H_25Cxw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_3qA6xsv-EeGZoP1H_25Cxw" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_3qA6wcv-EeGZoP1H_25Cxw" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_3qA6w8v-EeGZoP1H_25Cxw" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_3qA6wsv-EeGZoP1H_25Cxw" points="[7, 2, -32, -10]$[41, -1, 2, -13]"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_3qKEsMv-EeGZoP1H_25Cxw" id="(0.23529411764705882,0.35714285714285715)"/>
+    </edges>
+    <edges xmi:id="_6nG-AMv-EeGZoP1H_25Cxw" type="Transition" element="_6m9NAMv-EeGZoP1H_25Cxw" source="_18V4AMv-EeGZoP1H_25Cxw" target="_5QYboMv-EeGZoP1H_25Cxw">
+      <children xsi:type="notation:DecorationNode" xmi:id="_6nG-BMv-EeGZoP1H_25Cxw" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_6nG-Bcv-EeGZoP1H_25Cxw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_6nG-Bsv-EeGZoP1H_25Cxw" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_6nG-Acv-EeGZoP1H_25Cxw" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_6nG-A8v-EeGZoP1H_25Cxw" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_6nG-Asv-EeGZoP1H_25Cxw" points="[23, 2, -89, 2]$[113, -20, 1, -20]"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_6nQH8Mv-EeGZoP1H_25Cxw" id="(0.05357142857142857,0.39285714285714285)"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

+ 187 - 187
test-plugins/org.yakindu.sct.test.models/testmodels/SameNameDifferentRegion.sct

@@ -1,187 +1,187 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
-  <sgraph:Statechart xmi:id="_llXNcMnYEeG-eM2T7cZLNw" specification="interface:&#xD;&#xA;in event e1&#xD;&#xA;" name="SameNameDifferentRegion">
-    <regions xmi:id="_ln5kEMnYEeG-eM2T7cZLNw" name="main region">
-      <vertices xsi:type="sgraph:Entry" xmi:id="_lrecgMnYEeG-eM2T7cZLNw">
-        <outgoingTransitions xmi:id="_ltHbQMnYEeG-eM2T7cZLNw" target="_lrxXcMnYEeG-eM2T7cZLNw"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_lrxXcMnYEeG-eM2T7cZLNw" name="StateA" incomingTransitions="_ltHbQMnYEeG-eM2T7cZLNw">
-        <outgoingTransitions xmi:id="_xBAxYMnYEeG-eM2T7cZLNw" specification="e1" target="_wRex4MnYEeG-eM2T7cZLNw"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_wRex4MnYEeG-eM2T7cZLNw" name="StateB" incomingTransitions="_xBAxYMnYEeG-eM2T7cZLNw">
-        <regions xmi:id="_wRex4snYEeG-eM2T7cZLNw" name="r1">
-          <vertices xsi:type="sgraph:Entry" xmi:id="_3N1mQOFhEeGAOK6qzLDFeg">
-            <outgoingTransitions xmi:id="_W9dZsOFiEeGAOK6qzLDFeg" specification="" target="_VBVrQOFiEeGAOK6qzLDFeg"/>
-          </vertices>
-          <vertices xsi:type="sgraph:State" xmi:id="_VBVrQOFiEeGAOK6qzLDFeg" name="StateA" incomingTransitions="_W9dZsOFiEeGAOK6qzLDFeg">
-            <outgoingTransitions xmi:id="_ZLLOcOFiEeGAOK6qzLDFeg" specification="e1" target="_X4xLYOFiEeGAOK6qzLDFeg"/>
-          </vertices>
-          <vertices xsi:type="sgraph:State" xmi:id="_X4xLYOFiEeGAOK6qzLDFeg" name="StateB" incomingTransitions="_ZLLOcOFiEeGAOK6qzLDFeg"/>
-        </regions>
-      </vertices>
-    </regions>
-  </sgraph:Statechart>
-  <notation:Diagram xmi:id="_lnc4IMnYEeG-eM2T7cZLNw" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_llXNcMnYEeG-eM2T7cZLNw" measurementUnit="Pixel">
-    <children xmi:id="_loCuAMnYEeG-eM2T7cZLNw" type="Region" element="_ln5kEMnYEeG-eM2T7cZLNw">
-      <children xsi:type="notation:DecorationNode" xmi:id="_lqbToMnYEeG-eM2T7cZLNw" type="RegionName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_lqbTocnYEeG-eM2T7cZLNw"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_lqbTosnYEeG-eM2T7cZLNw"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_lqlEoMnYEeG-eM2T7cZLNw" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
-        <children xmi:id="_lrecgcnYEeG-eM2T7cZLNw" type="Entry" element="_lrecgMnYEeG-eM2T7cZLNw">
-          <children xmi:id="_lrechMnYEeG-eM2T7cZLNw" type="BorderItemLabelContainer">
-            <children xsi:type="notation:DecorationNode" xmi:id="_lrech8nYEeG-eM2T7cZLNw" type="BorderItemLabel">
-              <styles xsi:type="notation:ShapeStyle" xmi:id="_lreciMnYEeG-eM2T7cZLNw"/>
-              <layoutConstraint xsi:type="notation:Location" xmi:id="_lrecicnYEeG-eM2T7cZLNw"/>
-            </children>
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_lrechcnYEeG-eM2T7cZLNw" fontName="Verdana" lineColor="4210752"/>
-            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lrechsnYEeG-eM2T7cZLNw"/>
-          </children>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_lrecgsnYEeG-eM2T7cZLNw" fontName="Verdana" lineColor="4210752"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lrecisnYEeG-eM2T7cZLNw" x="45" y="14"/>
-        </children>
-        <children xmi:id="_lsqvUcnYEeG-eM2T7cZLNw" type="State" element="_lrxXcMnYEeG-eM2T7cZLNw">
-          <children xsi:type="notation:DecorationNode" xmi:id="_lsqvVcnYEeG-eM2T7cZLNw" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_lsqvVsnYEeG-eM2T7cZLNw"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_lsqvV8nYEeG-eM2T7cZLNw"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_lsqvWMnYEeG-eM2T7cZLNw" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_lsqvWcnYEeG-eM2T7cZLNw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lsqvWsnYEeG-eM2T7cZLNw"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_lsqvW8nYEeG-eM2T7cZLNw" type="StateFigureCompartment"/>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_lsqvUsnYEeG-eM2T7cZLNw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_lsqvU8nYEeG-eM2T7cZLNw"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_lsz5QMnYEeG-eM2T7cZLNw"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lsz5QcnYEeG-eM2T7cZLNw" x="17" y="144" width="76"/>
-        </children>
-        <children xmi:id="_wRn70MnYEeG-eM2T7cZLNw" type="State" element="_wRex4MnYEeG-eM2T7cZLNw">
-          <children xsi:type="notation:DecorationNode" xmi:id="_wRn71MnYEeG-eM2T7cZLNw" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_wRn71cnYEeG-eM2T7cZLNw"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_wRn71snYEeG-eM2T7cZLNw"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_wRn718nYEeG-eM2T7cZLNw" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_wRn72MnYEeG-eM2T7cZLNw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_wRn72cnYEeG-eM2T7cZLNw"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_wRn72snYEeG-eM2T7cZLNw" type="StateFigureCompartment">
-            <children xmi:id="_wSOYwMnYEeG-eM2T7cZLNw" type="Region" element="_wRex4snYEeG-eM2T7cZLNw">
-              <children xsi:type="notation:DecorationNode" xmi:id="_wSOYw8nYEeG-eM2T7cZLNw" type="RegionName">
-                <styles xsi:type="notation:ShapeStyle" xmi:id="_wSOYxMnYEeG-eM2T7cZLNw"/>
-                <layoutConstraint xsi:type="notation:Location" xmi:id="_wSOYxcnYEeG-eM2T7cZLNw"/>
-              </children>
-              <children xsi:type="notation:Shape" xmi:id="_wSXisMnYEeG-eM2T7cZLNw" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
-                <children xmi:id="_3N_XQOFhEeGAOK6qzLDFeg" type="Entry" element="_3N1mQOFhEeGAOK6qzLDFeg">
-                  <children xmi:id="_3N_XQ-FhEeGAOK6qzLDFeg" type="BorderItemLabelContainer">
-                    <children xsi:type="notation:DecorationNode" xmi:id="_3OIhMOFhEeGAOK6qzLDFeg" type="BorderItemLabel">
-                      <styles xsi:type="notation:ShapeStyle" xmi:id="_3OIhMeFhEeGAOK6qzLDFeg"/>
-                      <layoutConstraint xsi:type="notation:Location" xmi:id="_3OIhMuFhEeGAOK6qzLDFeg"/>
-                    </children>
-                    <styles xsi:type="notation:ShapeStyle" xmi:id="_3N_XROFhEeGAOK6qzLDFeg" fontName="Verdana" lineColor="4210752"/>
-                    <layoutConstraint xsi:type="notation:Bounds" xmi:id="_3N_XReFhEeGAOK6qzLDFeg"/>
-                  </children>
-                  <styles xsi:type="notation:ShapeStyle" xmi:id="_3N_XQeFhEeGAOK6qzLDFeg" fontName="Verdana" lineColor="4210752"/>
-                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_3N_XQuFhEeGAOK6qzLDFeg" x="8" y="3"/>
-                </children>
-                <children xmi:id="_VBomMOFiEeGAOK6qzLDFeg" type="State" element="_VBVrQOFiEeGAOK6qzLDFeg">
-                  <children xsi:type="notation:DecorationNode" xmi:id="_VBomNOFiEeGAOK6qzLDFeg" type="StateName">
-                    <styles xsi:type="notation:ShapeStyle" xmi:id="_VBomNeFiEeGAOK6qzLDFeg"/>
-                    <layoutConstraint xsi:type="notation:Location" xmi:id="_VBomNuFiEeGAOK6qzLDFeg"/>
-                  </children>
-                  <children xsi:type="notation:Compartment" xmi:id="_VBomN-FiEeGAOK6qzLDFeg" type="StateTextCompartment">
-                    <children xsi:type="notation:Shape" xmi:id="_VBomOOFiEeGAOK6qzLDFeg" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_VBomOeFiEeGAOK6qzLDFeg"/>
-                    </children>
-                  </children>
-                  <children xsi:type="notation:Compartment" xmi:id="_VBomOuFiEeGAOK6qzLDFeg" type="StateFigureCompartment"/>
-                  <styles xsi:type="notation:ShapeStyle" xmi:id="_VBomMeFiEeGAOK6qzLDFeg" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-                  <styles xsi:type="notation:FontStyle" xmi:id="_VBomMuFiEeGAOK6qzLDFeg"/>
-                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_VBomO-FiEeGAOK6qzLDFeg"/>
-                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_VBomM-FiEeGAOK6qzLDFeg" x="8" y="63" width="91" height="71"/>
-                </children>
-                <children xmi:id="_X5EGUOFiEeGAOK6qzLDFeg" type="State" element="_X4xLYOFiEeGAOK6qzLDFeg">
-                  <children xsi:type="notation:DecorationNode" xmi:id="_X5EGVOFiEeGAOK6qzLDFeg" type="StateName">
-                    <styles xsi:type="notation:ShapeStyle" xmi:id="_X5EGVeFiEeGAOK6qzLDFeg"/>
-                    <layoutConstraint xsi:type="notation:Location" xmi:id="_X5EGVuFiEeGAOK6qzLDFeg"/>
-                  </children>
-                  <children xsi:type="notation:Compartment" xmi:id="_X5EGV-FiEeGAOK6qzLDFeg" type="StateTextCompartment">
-                    <children xsi:type="notation:Shape" xmi:id="_X5EGWOFiEeGAOK6qzLDFeg" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_X5EGWeFiEeGAOK6qzLDFeg"/>
-                    </children>
-                  </children>
-                  <children xsi:type="notation:Compartment" xmi:id="_X5EGWuFiEeGAOK6qzLDFeg" type="StateFigureCompartment"/>
-                  <styles xsi:type="notation:ShapeStyle" xmi:id="_X5EGUeFiEeGAOK6qzLDFeg" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-                  <styles xsi:type="notation:FontStyle" xmi:id="_X5EGUuFiEeGAOK6qzLDFeg"/>
-                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_X5EGW-FiEeGAOK6qzLDFeg"/>
-                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_X5EGU-FiEeGAOK6qzLDFeg" x="143" y="68" width="81" height="61"/>
-                </children>
-                <layoutConstraint xsi:type="notation:Bounds" xmi:id="_wSXiscnYEeG-eM2T7cZLNw"/>
-              </children>
-              <styles xsi:type="notation:ShapeStyle" xmi:id="_wSOYwcnYEeG-eM2T7cZLNw" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_wSOYwsnYEeG-eM2T7cZLNw"/>
-            </children>
-          </children>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_wRn70cnYEeG-eM2T7cZLNw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_wRn70snYEeG-eM2T7cZLNw"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_wRn728nYEeG-eM2T7cZLNw"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_wRn708nYEeG-eM2T7cZLNw" x="124" y="64" width="271" height="356"/>
-        </children>
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lqlEocnYEeG-eM2T7cZLNw"/>
-      </children>
-      <styles xsi:type="notation:ShapeStyle" xmi:id="_loCuAcnYEeG-eM2T7cZLNw" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lqu1oMnYEeG-eM2T7cZLNw" x="220" y="10" width="466" height="476"/>
-    </children>
-    <children xsi:type="notation:Shape" xmi:id="_luAMF8nYEeG-eM2T7cZLNw" type="StatechartText" fontName="Verdana" lineColor="4210752">
-      <children xsi:type="notation:DecorationNode" xmi:id="_luAMGcnYEeG-eM2T7cZLNw" type="StatechartName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_luAMGsnYEeG-eM2T7cZLNw"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_luAMG8nYEeG-eM2T7cZLNw"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_luAMHMnYEeG-eM2T7cZLNw" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_luAMHcnYEeG-eM2T7cZLNw"/>
-      </children>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_luAMHsnYEeG-eM2T7cZLNw" x="10" y="10" width="200" height="400"/>
-    </children>
-    <styles xsi:type="notation:DiagramStyle" xmi:id="_lnc4IcnYEeG-eM2T7cZLNw"/>
-    <edges xmi:id="_luAMEMnYEeG-eM2T7cZLNw" type="Transition" element="_ltHbQMnYEeG-eM2T7cZLNw" source="_lrecgcnYEeG-eM2T7cZLNw" target="_lsqvUcnYEeG-eM2T7cZLNw">
-      <children xsi:type="notation:DecorationNode" xmi:id="_luAMFMnYEeG-eM2T7cZLNw" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_luAMFcnYEeG-eM2T7cZLNw"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_luAMFsnYEeG-eM2T7cZLNw" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_luAMEcnYEeG-eM2T7cZLNw" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_luAME8nYEeG-eM2T7cZLNw" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_luAMEsnYEeG-eM2T7cZLNw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
-    </edges>
-    <edges xmi:id="_xBAxYcnYEeG-eM2T7cZLNw" type="Transition" element="_xBAxYMnYEeG-eM2T7cZLNw" source="_lsqvUcnYEeG-eM2T7cZLNw" target="_wRn70MnYEeG-eM2T7cZLNw">
-      <children xsi:type="notation:DecorationNode" xmi:id="_xBAxZcnYEeG-eM2T7cZLNw" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_xBAxZsnYEeG-eM2T7cZLNw"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_xBAxZ8nYEeG-eM2T7cZLNw" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_xBAxYsnYEeG-eM2T7cZLNw" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_xBAxZMnYEeG-eM2T7cZLNw" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_xBAxY8nYEeG-eM2T7cZLNw" points="[32, 4, -169, -19]$[202, 8, 1, -15]"/>
-      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_xBKiYMnYEeG-eM2T7cZLNw" id="(0.17647058823529413,0.30357142857142855)"/>
-    </edges>
-    <edges xmi:id="_W9nKsOFiEeGAOK6qzLDFeg" type="Transition" element="_W9dZsOFiEeGAOK6qzLDFeg" source="_3N_XQOFhEeGAOK6qzLDFeg" target="_VBomMOFiEeGAOK6qzLDFeg">
-      <children xsi:type="notation:DecorationNode" xmi:id="_W9nKtOFiEeGAOK6qzLDFeg" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_W9nKteFiEeGAOK6qzLDFeg"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_W9nKtuFiEeGAOK6qzLDFeg" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_W9nKseFiEeGAOK6qzLDFeg" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_W9nKs-FiEeGAOK6qzLDFeg" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_W9nKsuFiEeGAOK6qzLDFeg" points="[0, 7, 2, -55]$[-1, 53, 1, -9]"/>
-      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_W9w7sOFiEeGAOK6qzLDFeg" id="(0.06593406593406594,0.14084507042253522)"/>
-    </edges>
-    <edges xmi:id="_ZLLOceFiEeGAOK6qzLDFeg" type="Transition" element="_ZLLOcOFiEeGAOK6qzLDFeg" source="_VBomMOFiEeGAOK6qzLDFeg" target="_X5EGUOFiEeGAOK6qzLDFeg">
-      <children xsi:type="notation:DecorationNode" xmi:id="_ZLLOdeFiEeGAOK6qzLDFeg" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_ZLLOduFiEeGAOK6qzLDFeg"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_ZLLOd-FiEeGAOK6qzLDFeg" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_ZLLOcuFiEeGAOK6qzLDFeg" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_ZLLOdOFiEeGAOK6qzLDFeg" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_ZLLOc-FiEeGAOK6qzLDFeg" points="[15, 0, -87, 1]$[101, 27, -1, 28]"/>
-      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_ZLUYYOFiEeGAOK6qzLDFeg" id="(0.8351648351648352,0.5211267605633803)"/>
-    </edges>
-  </notation:Diagram>
-</xmi:XMI>
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_llXNcMnYEeG-eM2T7cZLNw" specification="interface:&#xD;&#xA;in event e1&#xD;&#xA;" name="SameNameDifferentRegion">
+    <regions xmi:id="_ln5kEMnYEeG-eM2T7cZLNw" name="main region">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_lrecgMnYEeG-eM2T7cZLNw">
+        <outgoingTransitions xmi:id="_ltHbQMnYEeG-eM2T7cZLNw" target="_lrxXcMnYEeG-eM2T7cZLNw"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_lrxXcMnYEeG-eM2T7cZLNw" name="StateA" incomingTransitions="_ltHbQMnYEeG-eM2T7cZLNw">
+        <outgoingTransitions xmi:id="_xBAxYMnYEeG-eM2T7cZLNw" specification="e1" target="_wRex4MnYEeG-eM2T7cZLNw"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_wRex4MnYEeG-eM2T7cZLNw" name="StateB" incomingTransitions="_xBAxYMnYEeG-eM2T7cZLNw">
+        <regions xmi:id="_wRex4snYEeG-eM2T7cZLNw" name="r1">
+          <vertices xsi:type="sgraph:Entry" xmi:id="_3N1mQOFhEeGAOK6qzLDFeg">
+            <outgoingTransitions xmi:id="_W9dZsOFiEeGAOK6qzLDFeg" specification="" target="_VBVrQOFiEeGAOK6qzLDFeg"/>
+          </vertices>
+          <vertices xsi:type="sgraph:State" xmi:id="_VBVrQOFiEeGAOK6qzLDFeg" name="StateA" incomingTransitions="_W9dZsOFiEeGAOK6qzLDFeg">
+            <outgoingTransitions xmi:id="_ZLLOcOFiEeGAOK6qzLDFeg" specification="e1" target="_X4xLYOFiEeGAOK6qzLDFeg"/>
+          </vertices>
+          <vertices xsi:type="sgraph:State" xmi:id="_X4xLYOFiEeGAOK6qzLDFeg" name="StateB" incomingTransitions="_ZLLOcOFiEeGAOK6qzLDFeg"/>
+        </regions>
+      </vertices>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_lnc4IMnYEeG-eM2T7cZLNw" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_llXNcMnYEeG-eM2T7cZLNw" measurementUnit="Pixel">
+    <children xmi:id="_loCuAMnYEeG-eM2T7cZLNw" type="Region" element="_ln5kEMnYEeG-eM2T7cZLNw">
+      <children xsi:type="notation:DecorationNode" xmi:id="_lqbToMnYEeG-eM2T7cZLNw" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_lqbTocnYEeG-eM2T7cZLNw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_lqbTosnYEeG-eM2T7cZLNw"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_lqlEoMnYEeG-eM2T7cZLNw" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_lrecgcnYEeG-eM2T7cZLNw" type="Entry" element="_lrecgMnYEeG-eM2T7cZLNw">
+          <children xmi:id="_lrechMnYEeG-eM2T7cZLNw" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_lrech8nYEeG-eM2T7cZLNw" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_lreciMnYEeG-eM2T7cZLNw"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_lrecicnYEeG-eM2T7cZLNw"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_lrechcnYEeG-eM2T7cZLNw" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lrechsnYEeG-eM2T7cZLNw"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_lrecgsnYEeG-eM2T7cZLNw" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lrecisnYEeG-eM2T7cZLNw" x="45" y="14"/>
+        </children>
+        <children xmi:id="_lsqvUcnYEeG-eM2T7cZLNw" type="State" element="_lrxXcMnYEeG-eM2T7cZLNw">
+          <children xsi:type="notation:DecorationNode" xmi:id="_lsqvVcnYEeG-eM2T7cZLNw" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_lsqvVsnYEeG-eM2T7cZLNw"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_lsqvV8nYEeG-eM2T7cZLNw"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_lsqvWMnYEeG-eM2T7cZLNw" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_lsqvWcnYEeG-eM2T7cZLNw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lsqvWsnYEeG-eM2T7cZLNw"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_lsqvW8nYEeG-eM2T7cZLNw" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_lsqvUsnYEeG-eM2T7cZLNw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_lsqvU8nYEeG-eM2T7cZLNw"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_lsz5QMnYEeG-eM2T7cZLNw"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lsz5QcnYEeG-eM2T7cZLNw" x="17" y="144" width="76"/>
+        </children>
+        <children xmi:id="_wRn70MnYEeG-eM2T7cZLNw" type="State" element="_wRex4MnYEeG-eM2T7cZLNw">
+          <children xsi:type="notation:DecorationNode" xmi:id="_wRn71MnYEeG-eM2T7cZLNw" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_wRn71cnYEeG-eM2T7cZLNw"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_wRn71snYEeG-eM2T7cZLNw"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_wRn718nYEeG-eM2T7cZLNw" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_wRn72MnYEeG-eM2T7cZLNw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_wRn72cnYEeG-eM2T7cZLNw"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_wRn72snYEeG-eM2T7cZLNw" type="StateFigureCompartment">
+            <children xmi:id="_wSOYwMnYEeG-eM2T7cZLNw" type="Region" element="_wRex4snYEeG-eM2T7cZLNw">
+              <children xsi:type="notation:DecorationNode" xmi:id="_wSOYw8nYEeG-eM2T7cZLNw" type="RegionName">
+                <styles xsi:type="notation:ShapeStyle" xmi:id="_wSOYxMnYEeG-eM2T7cZLNw"/>
+                <layoutConstraint xsi:type="notation:Location" xmi:id="_wSOYxcnYEeG-eM2T7cZLNw"/>
+              </children>
+              <children xsi:type="notation:Shape" xmi:id="_wSXisMnYEeG-eM2T7cZLNw" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+                <children xmi:id="_3N_XQOFhEeGAOK6qzLDFeg" type="Entry" element="_3N1mQOFhEeGAOK6qzLDFeg">
+                  <children xmi:id="_3N_XQ-FhEeGAOK6qzLDFeg" type="BorderItemLabelContainer">
+                    <children xsi:type="notation:DecorationNode" xmi:id="_3OIhMOFhEeGAOK6qzLDFeg" type="BorderItemLabel">
+                      <styles xsi:type="notation:ShapeStyle" xmi:id="_3OIhMeFhEeGAOK6qzLDFeg"/>
+                      <layoutConstraint xsi:type="notation:Location" xmi:id="_3OIhMuFhEeGAOK6qzLDFeg"/>
+                    </children>
+                    <styles xsi:type="notation:ShapeStyle" xmi:id="_3N_XROFhEeGAOK6qzLDFeg" fontName="Verdana" lineColor="4210752"/>
+                    <layoutConstraint xsi:type="notation:Bounds" xmi:id="_3N_XReFhEeGAOK6qzLDFeg"/>
+                  </children>
+                  <styles xsi:type="notation:ShapeStyle" xmi:id="_3N_XQeFhEeGAOK6qzLDFeg" fontName="Verdana" lineColor="4210752"/>
+                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_3N_XQuFhEeGAOK6qzLDFeg" x="8" y="3"/>
+                </children>
+                <children xmi:id="_VBomMOFiEeGAOK6qzLDFeg" type="State" element="_VBVrQOFiEeGAOK6qzLDFeg">
+                  <children xsi:type="notation:DecorationNode" xmi:id="_VBomNOFiEeGAOK6qzLDFeg" type="StateName">
+                    <styles xsi:type="notation:ShapeStyle" xmi:id="_VBomNeFiEeGAOK6qzLDFeg"/>
+                    <layoutConstraint xsi:type="notation:Location" xmi:id="_VBomNuFiEeGAOK6qzLDFeg"/>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_VBomN-FiEeGAOK6qzLDFeg" type="StateTextCompartment">
+                    <children xsi:type="notation:Shape" xmi:id="_VBomOOFiEeGAOK6qzLDFeg" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_VBomOeFiEeGAOK6qzLDFeg"/>
+                    </children>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_VBomOuFiEeGAOK6qzLDFeg" type="StateFigureCompartment"/>
+                  <styles xsi:type="notation:ShapeStyle" xmi:id="_VBomMeFiEeGAOK6qzLDFeg" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+                  <styles xsi:type="notation:FontStyle" xmi:id="_VBomMuFiEeGAOK6qzLDFeg"/>
+                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_VBomO-FiEeGAOK6qzLDFeg"/>
+                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_VBomM-FiEeGAOK6qzLDFeg" x="8" y="63" width="91" height="71"/>
+                </children>
+                <children xmi:id="_X5EGUOFiEeGAOK6qzLDFeg" type="State" element="_X4xLYOFiEeGAOK6qzLDFeg">
+                  <children xsi:type="notation:DecorationNode" xmi:id="_X5EGVOFiEeGAOK6qzLDFeg" type="StateName">
+                    <styles xsi:type="notation:ShapeStyle" xmi:id="_X5EGVeFiEeGAOK6qzLDFeg"/>
+                    <layoutConstraint xsi:type="notation:Location" xmi:id="_X5EGVuFiEeGAOK6qzLDFeg"/>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_X5EGV-FiEeGAOK6qzLDFeg" type="StateTextCompartment">
+                    <children xsi:type="notation:Shape" xmi:id="_X5EGWOFiEeGAOK6qzLDFeg" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_X5EGWeFiEeGAOK6qzLDFeg"/>
+                    </children>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_X5EGWuFiEeGAOK6qzLDFeg" type="StateFigureCompartment"/>
+                  <styles xsi:type="notation:ShapeStyle" xmi:id="_X5EGUeFiEeGAOK6qzLDFeg" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+                  <styles xsi:type="notation:FontStyle" xmi:id="_X5EGUuFiEeGAOK6qzLDFeg"/>
+                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_X5EGW-FiEeGAOK6qzLDFeg"/>
+                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_X5EGU-FiEeGAOK6qzLDFeg" x="143" y="68" width="81" height="61"/>
+                </children>
+                <layoutConstraint xsi:type="notation:Bounds" xmi:id="_wSXiscnYEeG-eM2T7cZLNw"/>
+              </children>
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_wSOYwcnYEeG-eM2T7cZLNw" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_wSOYwsnYEeG-eM2T7cZLNw"/>
+            </children>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_wRn70cnYEeG-eM2T7cZLNw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_wRn70snYEeG-eM2T7cZLNw"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_wRn728nYEeG-eM2T7cZLNw"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_wRn708nYEeG-eM2T7cZLNw" x="124" y="64" width="271" height="356"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lqlEocnYEeG-eM2T7cZLNw"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_loCuAcnYEeG-eM2T7cZLNw" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lqu1oMnYEeG-eM2T7cZLNw" x="220" y="10" width="466" height="476"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_luAMF8nYEeG-eM2T7cZLNw" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_luAMGcnYEeG-eM2T7cZLNw" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_luAMGsnYEeG-eM2T7cZLNw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_luAMG8nYEeG-eM2T7cZLNw"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_luAMHMnYEeG-eM2T7cZLNw" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_luAMHcnYEeG-eM2T7cZLNw"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_luAMHsnYEeG-eM2T7cZLNw" x="8" y="10" width="200" height="400"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_lnc4IcnYEeG-eM2T7cZLNw"/>
+    <edges xmi:id="_luAMEMnYEeG-eM2T7cZLNw" type="Transition" element="_ltHbQMnYEeG-eM2T7cZLNw" source="_lrecgcnYEeG-eM2T7cZLNw" target="_lsqvUcnYEeG-eM2T7cZLNw">
+      <children xsi:type="notation:DecorationNode" xmi:id="_luAMFMnYEeG-eM2T7cZLNw" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_luAMFcnYEeG-eM2T7cZLNw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_luAMFsnYEeG-eM2T7cZLNw" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_luAMEcnYEeG-eM2T7cZLNw" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_luAME8nYEeG-eM2T7cZLNw" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_luAMEsnYEeG-eM2T7cZLNw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_xBAxYcnYEeG-eM2T7cZLNw" type="Transition" element="_xBAxYMnYEeG-eM2T7cZLNw" source="_lsqvUcnYEeG-eM2T7cZLNw" target="_wRn70MnYEeG-eM2T7cZLNw">
+      <children xsi:type="notation:DecorationNode" xmi:id="_xBAxZcnYEeG-eM2T7cZLNw" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_xBAxZsnYEeG-eM2T7cZLNw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_xBAxZ8nYEeG-eM2T7cZLNw" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_xBAxYsnYEeG-eM2T7cZLNw" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_xBAxZMnYEeG-eM2T7cZLNw" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_xBAxY8nYEeG-eM2T7cZLNw" points="[32, 4, -169, -19]$[202, 8, 1, -15]"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_xBKiYMnYEeG-eM2T7cZLNw" id="(0.17647058823529413,0.30357142857142855)"/>
+    </edges>
+    <edges xmi:id="_W9nKsOFiEeGAOK6qzLDFeg" type="Transition" element="_W9dZsOFiEeGAOK6qzLDFeg" source="_3N_XQOFhEeGAOK6qzLDFeg" target="_VBomMOFiEeGAOK6qzLDFeg">
+      <children xsi:type="notation:DecorationNode" xmi:id="_W9nKtOFiEeGAOK6qzLDFeg" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_W9nKteFiEeGAOK6qzLDFeg"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_W9nKtuFiEeGAOK6qzLDFeg" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_W9nKseFiEeGAOK6qzLDFeg" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_W9nKs-FiEeGAOK6qzLDFeg" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_W9nKsuFiEeGAOK6qzLDFeg" points="[0, 7, 2, -55]$[-1, 53, 1, -9]"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_W9w7sOFiEeGAOK6qzLDFeg" id="(0.06593406593406594,0.14084507042253522)"/>
+    </edges>
+    <edges xmi:id="_ZLLOceFiEeGAOK6qzLDFeg" type="Transition" element="_ZLLOcOFiEeGAOK6qzLDFeg" source="_VBomMOFiEeGAOK6qzLDFeg" target="_X5EGUOFiEeGAOK6qzLDFeg">
+      <children xsi:type="notation:DecorationNode" xmi:id="_ZLLOdeFiEeGAOK6qzLDFeg" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_ZLLOduFiEeGAOK6qzLDFeg"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_ZLLOd-FiEeGAOK6qzLDFeg" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_ZLLOcuFiEeGAOK6qzLDFeg" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_ZLLOdOFiEeGAOK6qzLDFeg" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_ZLLOc-FiEeGAOK6qzLDFeg" points="[15, 0, -87, 1]$[101, 27, -1, 28]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_ZLUYYOFiEeGAOK6qzLDFeg" id="(0.8351648351648352,0.5211267605633803)"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

+ 158 - 158
test-plugins/org.yakindu.sct.test.models/testmodels/SimpleHierachy.sct

@@ -1,158 +1,158 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
-  <sgraph:Statechart xmi:id="_7tWuQHNzEeGtAMDjlTj9eQ" specification="interface:&#xD;&#xA;in event Event1 : void" name="SimpleHierachy">
-    <regions xmi:id="_7tYjcnNzEeGtAMDjlTj9eQ" name="main region">
-      <vertices xsi:type="sgraph:Entry" xmi:id="_7tbmwXNzEeGtAMDjlTj9eQ">
-        <outgoingTransitions xmi:id="_7tiUcXNzEeGtAMDjlTj9eQ" target="_7teqEHNzEeGtAMDjlTj9eQ"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_7teqEHNzEeGtAMDjlTj9eQ" name="A" incomingTransitions="_7tiUcXNzEeGtAMDjlTj9eQ">
-        <outgoingTransitions xmi:id="_9lmCQHNzEeGtAMDjlTj9eQ" specification="Event1" target="_8YlckHNzEeGtAMDjlTj9eQ"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_8YlckHNzEeGtAMDjlTj9eQ" name="B" incomingTransitions="_9lmCQHNzEeGtAMDjlTj9eQ">
-        <regions xmi:id="_-bcsMHNzEeGtAMDjlTj9eQ" name="subregion1">
-          <vertices xsi:type="sgraph:State" xmi:id="_EUXAUHN0EeGtAMDjlTj9eQ" name="B1" incomingTransitions="_GE5J0HN0EeGtAMDjlTj9eQ"/>
-          <vertices xsi:type="sgraph:Entry" xmi:id="_Fq8_0HN0EeGtAMDjlTj9eQ">
-            <outgoingTransitions xmi:id="_GE5J0HN0EeGtAMDjlTj9eQ" specification="" target="_EUXAUHN0EeGtAMDjlTj9eQ"/>
-          </vertices>
-        </regions>
-      </vertices>
-    </regions>
-  </sgraph:Statechart>
-  <notation:Diagram xmi:id="_7tYjcHNzEeGtAMDjlTj9eQ" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_7tWuQHNzEeGtAMDjlTj9eQ" measurementUnit="Pixel">
-    <children xmi:id="_7tYjc3NzEeGtAMDjlTj9eQ" type="Region" element="_7tYjcnNzEeGtAMDjlTj9eQ">
-      <children xsi:type="notation:DecorationNode" xmi:id="_7tZxkHNzEeGtAMDjlTj9eQ" type="RegionName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_7tZxkXNzEeGtAMDjlTj9eQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_7tZxknNzEeGtAMDjlTj9eQ"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_7ta_sHNzEeGtAMDjlTj9eQ" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
-        <children xmi:id="_7tcN0HNzEeGtAMDjlTj9eQ" type="Entry" element="_7tbmwXNzEeGtAMDjlTj9eQ">
-          <children xmi:id="_7tdb8HNzEeGtAMDjlTj9eQ" type="BorderItemLabelContainer">
-            <children xsi:type="notation:DecorationNode" xmi:id="_7teDAHNzEeGtAMDjlTj9eQ" type="BorderItemLabel">
-              <styles xsi:type="notation:ShapeStyle" xmi:id="_7teDAXNzEeGtAMDjlTj9eQ"/>
-              <layoutConstraint xsi:type="notation:Location" xmi:id="_7teDAnNzEeGtAMDjlTj9eQ"/>
-            </children>
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_7tdb8XNzEeGtAMDjlTj9eQ" fontName="Verdana" lineColor="4210752"/>
-            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7tdb8nNzEeGtAMDjlTj9eQ"/>
-          </children>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_7tcN0XNzEeGtAMDjlTj9eQ" fontName="Verdana" lineColor="4210752"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7teDA3NzEeGtAMDjlTj9eQ" x="70" y="20"/>
-        </children>
-        <children xmi:id="_7tfRIHNzEeGtAMDjlTj9eQ" type="State" element="_7teqEHNzEeGtAMDjlTj9eQ">
-          <children xsi:type="notation:DecorationNode" xmi:id="_7tgfQHNzEeGtAMDjlTj9eQ" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_7tgfQXNzEeGtAMDjlTj9eQ"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_7tgfQnNzEeGtAMDjlTj9eQ"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_7tgfQ3NzEeGtAMDjlTj9eQ" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_7tgfRHNzEeGtAMDjlTj9eQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7tgfRXNzEeGtAMDjlTj9eQ"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_7thtYHNzEeGtAMDjlTj9eQ" type="StateFigureCompartment"/>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_7tfRIXNzEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_7tfRInNzEeGtAMDjlTj9eQ"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_7thtYXNzEeGtAMDjlTj9eQ"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7tiUcHNzEeGtAMDjlTj9eQ" x="10" y="94" width="140" height="115"/>
-        </children>
-        <children xmi:id="_8Yof4HNzEeGtAMDjlTj9eQ" type="State" element="_8YlckHNzEeGtAMDjlTj9eQ">
-          <children xsi:type="notation:DecorationNode" xmi:id="_8YpuAHNzEeGtAMDjlTj9eQ" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_8YpuAXNzEeGtAMDjlTj9eQ"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_8YpuAnNzEeGtAMDjlTj9eQ"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_8YpuA3NzEeGtAMDjlTj9eQ" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_8YqVEHNzEeGtAMDjlTj9eQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_8YqVEXNzEeGtAMDjlTj9eQ"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_8Yq8IHNzEeGtAMDjlTj9eQ" type="StateFigureCompartment">
-            <children xmi:id="_-behYHNzEeGtAMDjlTj9eQ" type="Region" element="_-bcsMHNzEeGtAMDjlTj9eQ">
-              <children xsi:type="notation:DecorationNode" xmi:id="_-bfvgHNzEeGtAMDjlTj9eQ" type="RegionName">
-                <styles xsi:type="notation:ShapeStyle" xmi:id="_-bfvgXNzEeGtAMDjlTj9eQ"/>
-                <layoutConstraint xsi:type="notation:Location" xmi:id="_-bfvgnNzEeGtAMDjlTj9eQ"/>
-              </children>
-              <children xsi:type="notation:Shape" xmi:id="_-bgWkHNzEeGtAMDjlTj9eQ" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
-                <children xmi:id="_EUY1gHN0EeGtAMDjlTj9eQ" type="State" element="_EUXAUHN0EeGtAMDjlTj9eQ">
-                  <children xsi:type="notation:DecorationNode" xmi:id="_EUaDoHN0EeGtAMDjlTj9eQ" type="StateName">
-                    <styles xsi:type="notation:ShapeStyle" xmi:id="_EUaDoXN0EeGtAMDjlTj9eQ"/>
-                    <layoutConstraint xsi:type="notation:Location" xmi:id="_EUaqsHN0EeGtAMDjlTj9eQ"/>
-                  </children>
-                  <children xsi:type="notation:Compartment" xmi:id="_EUaqsXN0EeGtAMDjlTj9eQ" type="StateTextCompartment">
-                    <children xsi:type="notation:Shape" xmi:id="_EUaqsnN0EeGtAMDjlTj9eQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_EUaqs3N0EeGtAMDjlTj9eQ"/>
-                    </children>
-                  </children>
-                  <children xsi:type="notation:Compartment" xmi:id="_EUb40HN0EeGtAMDjlTj9eQ" type="StateFigureCompartment"/>
-                  <styles xsi:type="notation:ShapeStyle" xmi:id="_EUY1gXN0EeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-                  <styles xsi:type="notation:FontStyle" xmi:id="_EUY1gnN0EeGtAMDjlTj9eQ"/>
-                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_EUb40XN0EeGtAMDjlTj9eQ"/>
-                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_EUY1g3N0EeGtAMDjlTj9eQ" x="133" y="33"/>
-                </children>
-                <children xmi:id="_Fq_cEHN0EeGtAMDjlTj9eQ" type="Entry" element="_Fq8_0HN0EeGtAMDjlTj9eQ">
-                  <children xmi:id="_FrAqMHN0EeGtAMDjlTj9eQ" type="BorderItemLabelContainer">
-                    <children xsi:type="notation:DecorationNode" xmi:id="_FrB4UHN0EeGtAMDjlTj9eQ" type="BorderItemLabel">
-                      <styles xsi:type="notation:ShapeStyle" xmi:id="_FrB4UXN0EeGtAMDjlTj9eQ"/>
-                      <layoutConstraint xsi:type="notation:Location" xmi:id="_FrB4UnN0EeGtAMDjlTj9eQ"/>
-                    </children>
-                    <styles xsi:type="notation:ShapeStyle" xmi:id="_FrAqMXN0EeGtAMDjlTj9eQ" fontName="Verdana" lineColor="4210752"/>
-                    <layoutConstraint xsi:type="notation:Bounds" xmi:id="_FrAqMnN0EeGtAMDjlTj9eQ"/>
-                  </children>
-                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Fq_cEXN0EeGtAMDjlTj9eQ" fontName="Verdana" lineColor="4210752"/>
-                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Fq_cEnN0EeGtAMDjlTj9eQ" x="26" y="51"/>
-                </children>
-                <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-bgWkXNzEeGtAMDjlTj9eQ"/>
-              </children>
-              <styles xsi:type="notation:ShapeStyle" xmi:id="_-behYXNzEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-behYnNzEeGtAMDjlTj9eQ"/>
-            </children>
-          </children>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_8Yof4XNzEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_8Yof4nNzEeGtAMDjlTj9eQ"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_8Yq8IXNzEeGtAMDjlTj9eQ"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_8Yof43NzEeGtAMDjlTj9eQ" x="229" y="20" width="246" height="236"/>
-        </children>
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7ta_sXNzEeGtAMDjlTj9eQ"/>
-      </children>
-      <styles xsi:type="notation:ShapeStyle" xmi:id="_7tYjdHNzEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7tbmwHNzEeGtAMDjlTj9eQ" x="220" y="10" width="521" height="306"/>
-    </children>
-    <children xsi:type="notation:Shape" xmi:id="_7tkJoHNzEeGtAMDjlTj9eQ" type="StatechartText" fontName="Verdana" lineColor="4210752">
-      <children xsi:type="notation:DecorationNode" xmi:id="_7tkwsHNzEeGtAMDjlTj9eQ" type="StatechartName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_7tkwsXNzEeGtAMDjlTj9eQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_7tlXwHNzEeGtAMDjlTj9eQ"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_7tlXwXNzEeGtAMDjlTj9eQ" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7tlXwnNzEeGtAMDjlTj9eQ"/>
-      </children>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7tl-0HNzEeGtAMDjlTj9eQ" x="10" y="10" width="200" height="306"/>
-    </children>
-    <styles xsi:type="notation:DiagramStyle" xmi:id="_7tYjcXNzEeGtAMDjlTj9eQ"/>
-    <edges xmi:id="_7ti7gHNzEeGtAMDjlTj9eQ" type="Transition" element="_7tiUcXNzEeGtAMDjlTj9eQ" source="_7tcN0HNzEeGtAMDjlTj9eQ" target="_7tfRIHNzEeGtAMDjlTj9eQ">
-      <children xsi:type="notation:DecorationNode" xmi:id="_7tjikXNzEeGtAMDjlTj9eQ" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_7tjiknNzEeGtAMDjlTj9eQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_7tjik3NzEeGtAMDjlTj9eQ" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_7ti7gXNzEeGtAMDjlTj9eQ" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_7tjikHNzEeGtAMDjlTj9eQ" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_7ti7gnNzEeGtAMDjlTj9eQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
-    </edges>
-    <edges xmi:id="_9loegHNzEeGtAMDjlTj9eQ" type="Transition" element="_9lmCQHNzEeGtAMDjlTj9eQ" source="_7tfRIHNzEeGtAMDjlTj9eQ" target="_8Yof4HNzEeGtAMDjlTj9eQ">
-      <children xsi:type="notation:DecorationNode" xmi:id="_9lpsoHNzEeGtAMDjlTj9eQ" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_9lpsoXNzEeGtAMDjlTj9eQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_9lpsonNzEeGtAMDjlTj9eQ" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_9loegXNzEeGtAMDjlTj9eQ" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_9lpFkHNzEeGtAMDjlTj9eQ" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_9loegnNzEeGtAMDjlTj9eQ" points="[60, 1, -74, -6]$[131, -18, -3, -25]"/>
-      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_9m1_cHNzEeGtAMDjlTj9eQ" id="(0.9357142857142857,0.41739130434782606)"/>
-    </edges>
-    <edges xmi:id="_GE7mEHN0EeGtAMDjlTj9eQ" type="Transition" element="_GE5J0HN0EeGtAMDjlTj9eQ" source="_Fq_cEHN0EeGtAMDjlTj9eQ" target="_EUY1gHN0EeGtAMDjlTj9eQ">
-      <children xsi:type="notation:DecorationNode" xmi:id="_GE80MHN0EeGtAMDjlTj9eQ" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_GE80MXN0EeGtAMDjlTj9eQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_GE80MnN0EeGtAMDjlTj9eQ" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_GE7mEXN0EeGtAMDjlTj9eQ" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_GE8NIHN0EeGtAMDjlTj9eQ" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_GE7mEnN0EeGtAMDjlTj9eQ" points="[7, 0, -97, 5]$[106, -15, 2, -10]"/>
-      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_GGGDsHN0EeGtAMDjlTj9eQ" id="(0.1,0.4642857142857143)"/>
-    </edges>
-  </notation:Diagram>
-</xmi:XMI>
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_7tWuQHNzEeGtAMDjlTj9eQ" specification="interface:&#xD;&#xA;in event Event1 : void" name="SimpleHierachy">
+    <regions xmi:id="_7tYjcnNzEeGtAMDjlTj9eQ" name="main region">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_7tbmwXNzEeGtAMDjlTj9eQ">
+        <outgoingTransitions xmi:id="_7tiUcXNzEeGtAMDjlTj9eQ" target="_7teqEHNzEeGtAMDjlTj9eQ"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_7teqEHNzEeGtAMDjlTj9eQ" name="A" incomingTransitions="_7tiUcXNzEeGtAMDjlTj9eQ">
+        <outgoingTransitions xmi:id="_9lmCQHNzEeGtAMDjlTj9eQ" specification="Event1" target="_8YlckHNzEeGtAMDjlTj9eQ"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_8YlckHNzEeGtAMDjlTj9eQ" name="B" incomingTransitions="_9lmCQHNzEeGtAMDjlTj9eQ">
+        <regions xmi:id="_-bcsMHNzEeGtAMDjlTj9eQ" name="subregion1">
+          <vertices xsi:type="sgraph:State" xmi:id="_EUXAUHN0EeGtAMDjlTj9eQ" name="B1" incomingTransitions="_GE5J0HN0EeGtAMDjlTj9eQ"/>
+          <vertices xsi:type="sgraph:Entry" xmi:id="_Fq8_0HN0EeGtAMDjlTj9eQ">
+            <outgoingTransitions xmi:id="_GE5J0HN0EeGtAMDjlTj9eQ" specification="" target="_EUXAUHN0EeGtAMDjlTj9eQ"/>
+          </vertices>
+        </regions>
+      </vertices>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_7tYjcHNzEeGtAMDjlTj9eQ" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_7tWuQHNzEeGtAMDjlTj9eQ" measurementUnit="Pixel">
+    <children xmi:id="_7tYjc3NzEeGtAMDjlTj9eQ" type="Region" element="_7tYjcnNzEeGtAMDjlTj9eQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_7tZxkHNzEeGtAMDjlTj9eQ" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_7tZxkXNzEeGtAMDjlTj9eQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_7tZxknNzEeGtAMDjlTj9eQ"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_7ta_sHNzEeGtAMDjlTj9eQ" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_7tcN0HNzEeGtAMDjlTj9eQ" type="Entry" element="_7tbmwXNzEeGtAMDjlTj9eQ">
+          <children xmi:id="_7tdb8HNzEeGtAMDjlTj9eQ" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_7teDAHNzEeGtAMDjlTj9eQ" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_7teDAXNzEeGtAMDjlTj9eQ"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_7teDAnNzEeGtAMDjlTj9eQ"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_7tdb8XNzEeGtAMDjlTj9eQ" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7tdb8nNzEeGtAMDjlTj9eQ"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_7tcN0XNzEeGtAMDjlTj9eQ" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7teDA3NzEeGtAMDjlTj9eQ" x="70" y="20"/>
+        </children>
+        <children xmi:id="_7tfRIHNzEeGtAMDjlTj9eQ" type="State" element="_7teqEHNzEeGtAMDjlTj9eQ">
+          <children xsi:type="notation:DecorationNode" xmi:id="_7tgfQHNzEeGtAMDjlTj9eQ" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_7tgfQXNzEeGtAMDjlTj9eQ"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_7tgfQnNzEeGtAMDjlTj9eQ"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_7tgfQ3NzEeGtAMDjlTj9eQ" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_7tgfRHNzEeGtAMDjlTj9eQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7tgfRXNzEeGtAMDjlTj9eQ"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_7thtYHNzEeGtAMDjlTj9eQ" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_7tfRIXNzEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_7tfRInNzEeGtAMDjlTj9eQ"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_7thtYXNzEeGtAMDjlTj9eQ"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7tiUcHNzEeGtAMDjlTj9eQ" x="10" y="94" width="140" height="115"/>
+        </children>
+        <children xmi:id="_8Yof4HNzEeGtAMDjlTj9eQ" type="State" element="_8YlckHNzEeGtAMDjlTj9eQ">
+          <children xsi:type="notation:DecorationNode" xmi:id="_8YpuAHNzEeGtAMDjlTj9eQ" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_8YpuAXNzEeGtAMDjlTj9eQ"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_8YpuAnNzEeGtAMDjlTj9eQ"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_8YpuA3NzEeGtAMDjlTj9eQ" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_8YqVEHNzEeGtAMDjlTj9eQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_8YqVEXNzEeGtAMDjlTj9eQ"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_8Yq8IHNzEeGtAMDjlTj9eQ" type="StateFigureCompartment">
+            <children xmi:id="_-behYHNzEeGtAMDjlTj9eQ" type="Region" element="_-bcsMHNzEeGtAMDjlTj9eQ">
+              <children xsi:type="notation:DecorationNode" xmi:id="_-bfvgHNzEeGtAMDjlTj9eQ" type="RegionName">
+                <styles xsi:type="notation:ShapeStyle" xmi:id="_-bfvgXNzEeGtAMDjlTj9eQ"/>
+                <layoutConstraint xsi:type="notation:Location" xmi:id="_-bfvgnNzEeGtAMDjlTj9eQ"/>
+              </children>
+              <children xsi:type="notation:Shape" xmi:id="_-bgWkHNzEeGtAMDjlTj9eQ" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+                <children xmi:id="_EUY1gHN0EeGtAMDjlTj9eQ" type="State" element="_EUXAUHN0EeGtAMDjlTj9eQ">
+                  <children xsi:type="notation:DecorationNode" xmi:id="_EUaDoHN0EeGtAMDjlTj9eQ" type="StateName">
+                    <styles xsi:type="notation:ShapeStyle" xmi:id="_EUaDoXN0EeGtAMDjlTj9eQ"/>
+                    <layoutConstraint xsi:type="notation:Location" xmi:id="_EUaqsHN0EeGtAMDjlTj9eQ"/>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_EUaqsXN0EeGtAMDjlTj9eQ" type="StateTextCompartment">
+                    <children xsi:type="notation:Shape" xmi:id="_EUaqsnN0EeGtAMDjlTj9eQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_EUaqs3N0EeGtAMDjlTj9eQ"/>
+                    </children>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_EUb40HN0EeGtAMDjlTj9eQ" type="StateFigureCompartment"/>
+                  <styles xsi:type="notation:ShapeStyle" xmi:id="_EUY1gXN0EeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+                  <styles xsi:type="notation:FontStyle" xmi:id="_EUY1gnN0EeGtAMDjlTj9eQ"/>
+                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_EUb40XN0EeGtAMDjlTj9eQ"/>
+                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_EUY1g3N0EeGtAMDjlTj9eQ" x="133" y="33"/>
+                </children>
+                <children xmi:id="_Fq_cEHN0EeGtAMDjlTj9eQ" type="Entry" element="_Fq8_0HN0EeGtAMDjlTj9eQ">
+                  <children xmi:id="_FrAqMHN0EeGtAMDjlTj9eQ" type="BorderItemLabelContainer">
+                    <children xsi:type="notation:DecorationNode" xmi:id="_FrB4UHN0EeGtAMDjlTj9eQ" type="BorderItemLabel">
+                      <styles xsi:type="notation:ShapeStyle" xmi:id="_FrB4UXN0EeGtAMDjlTj9eQ"/>
+                      <layoutConstraint xsi:type="notation:Location" xmi:id="_FrB4UnN0EeGtAMDjlTj9eQ"/>
+                    </children>
+                    <styles xsi:type="notation:ShapeStyle" xmi:id="_FrAqMXN0EeGtAMDjlTj9eQ" fontName="Verdana" lineColor="4210752"/>
+                    <layoutConstraint xsi:type="notation:Bounds" xmi:id="_FrAqMnN0EeGtAMDjlTj9eQ"/>
+                  </children>
+                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Fq_cEXN0EeGtAMDjlTj9eQ" fontName="Verdana" lineColor="4210752"/>
+                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Fq_cEnN0EeGtAMDjlTj9eQ" x="26" y="51"/>
+                </children>
+                <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-bgWkXNzEeGtAMDjlTj9eQ"/>
+              </children>
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_-behYXNzEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-behYnNzEeGtAMDjlTj9eQ"/>
+            </children>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_8Yof4XNzEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_8Yof4nNzEeGtAMDjlTj9eQ"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_8Yq8IXNzEeGtAMDjlTj9eQ"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_8Yof43NzEeGtAMDjlTj9eQ" x="229" y="20" width="246" height="236"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7ta_sXNzEeGtAMDjlTj9eQ"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_7tYjdHNzEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7tbmwHNzEeGtAMDjlTj9eQ" x="220" y="10" width="521" height="306"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_7tkJoHNzEeGtAMDjlTj9eQ" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_7tkwsHNzEeGtAMDjlTj9eQ" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_7tkwsXNzEeGtAMDjlTj9eQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_7tlXwHNzEeGtAMDjlTj9eQ"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_7tlXwXNzEeGtAMDjlTj9eQ" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7tlXwnNzEeGtAMDjlTj9eQ"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7tl-0HNzEeGtAMDjlTj9eQ" x="16" y="10" width="200" height="306"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_7tYjcXNzEeGtAMDjlTj9eQ"/>
+    <edges xmi:id="_7ti7gHNzEeGtAMDjlTj9eQ" type="Transition" element="_7tiUcXNzEeGtAMDjlTj9eQ" source="_7tcN0HNzEeGtAMDjlTj9eQ" target="_7tfRIHNzEeGtAMDjlTj9eQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_7tjikXNzEeGtAMDjlTj9eQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_7tjiknNzEeGtAMDjlTj9eQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_7tjik3NzEeGtAMDjlTj9eQ" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_7ti7gXNzEeGtAMDjlTj9eQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_7tjikHNzEeGtAMDjlTj9eQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_7ti7gnNzEeGtAMDjlTj9eQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_9loegHNzEeGtAMDjlTj9eQ" type="Transition" element="_9lmCQHNzEeGtAMDjlTj9eQ" source="_7tfRIHNzEeGtAMDjlTj9eQ" target="_8Yof4HNzEeGtAMDjlTj9eQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_9lpsoHNzEeGtAMDjlTj9eQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_9lpsoXNzEeGtAMDjlTj9eQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_9lpsonNzEeGtAMDjlTj9eQ" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_9loegXNzEeGtAMDjlTj9eQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_9lpFkHNzEeGtAMDjlTj9eQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_9loegnNzEeGtAMDjlTj9eQ" points="[60, 1, -74, -6]$[131, -18, -3, -25]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_9m1_cHNzEeGtAMDjlTj9eQ" id="(0.9357142857142857,0.41739130434782606)"/>
+    </edges>
+    <edges xmi:id="_GE7mEHN0EeGtAMDjlTj9eQ" type="Transition" element="_GE5J0HN0EeGtAMDjlTj9eQ" source="_Fq_cEHN0EeGtAMDjlTj9eQ" target="_EUY1gHN0EeGtAMDjlTj9eQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_GE80MHN0EeGtAMDjlTj9eQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_GE80MXN0EeGtAMDjlTj9eQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_GE80MnN0EeGtAMDjlTj9eQ" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_GE7mEXN0EeGtAMDjlTj9eQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_GE8NIHN0EeGtAMDjlTj9eQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_GE7mEnN0EeGtAMDjlTj9eQ" points="[7, 0, -97, 5]$[106, -15, 2, -10]"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_GGGDsHN0EeGtAMDjlTj9eQ" id="(0.1,0.4642857142857143)"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

+ 167 - 167
test-plugins/org.yakindu.sct.test.models/testmodels/StatechartLocalReactions.sct

@@ -1,167 +1,167 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
-  <sgraph:Statechart xmi:id="_RFTg0In9EeGKqoh-gt8EXQ" specification="interface:&#xD;&#xA;var myInt : integer&#xD;&#xA;internal:&#xD;&#xA;oncycle / myInt+=1&#xD;&#xA;" name="StatechartLocalReactions">
-    <regions xmi:id="_RFWkIon9EeGKqoh-gt8EXQ" name="main region">
-      <vertices xsi:type="sgraph:Entry" xmi:id="_RGUNcIn9EeGKqoh-gt8EXQ">
-        <outgoingTransitions xmi:id="_RGfMkYn9EeGKqoh-gt8EXQ" target="_RGZtAYn9EeGKqoh-gt8EXQ"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_RGZtAYn9EeGKqoh-gt8EXQ" name="S1" incomingTransitions="_RGfMkYn9EeGKqoh-gt8EXQ _UvZM8In9EeGKqoh-gt8EXQ">
-        <outgoingTransitions xmi:id="_TsF84In9EeGKqoh-gt8EXQ" specification="" target="_TB-B0In9EeGKqoh-gt8EXQ"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_TB-B0In9EeGKqoh-gt8EXQ" name="S2" incomingTransitions="_TsF84In9EeGKqoh-gt8EXQ">
-        <outgoingTransitions xmi:id="_UvZM8In9EeGKqoh-gt8EXQ" specification="" target="_RGZtAYn9EeGKqoh-gt8EXQ"/>
-      </vertices>
-    </regions>
-    <regions xmi:id="_RZW2oI1dEeGmRdyimotffQ" name="region2">
-      <vertices xsi:type="sgraph:Entry" xmi:id="_S0APsI1dEeGmRdyimotffQ">
-        <outgoingTransitions xmi:id="_UVq2wI1dEeGmRdyimotffQ" specification="" target="_TOHY0I1dEeGmRdyimotffQ"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_TOHY0I1dEeGmRdyimotffQ" name="a" incomingTransitions="_UVq2wI1dEeGmRdyimotffQ"/>
-    </regions>
-  </sgraph:Statechart>
-  <notation:Diagram xmi:id="_RFWkIIn9EeGKqoh-gt8EXQ" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_RFTg0In9EeGKqoh-gt8EXQ" measurementUnit="Pixel">
-    <children xmi:id="_RFixYIn9EeGKqoh-gt8EXQ" type="Region" element="_RFWkIon9EeGKqoh-gt8EXQ">
-      <children xsi:type="notation:DecorationNode" xmi:id="_RGQjEIn9EeGKqoh-gt8EXQ" type="RegionName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_RGQjEYn9EeGKqoh-gt8EXQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_RGQjEon9EeGKqoh-gt8EXQ"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_RGRKIIn9EeGKqoh-gt8EXQ" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
-        <children xmi:id="_RGWCoIn9EeGKqoh-gt8EXQ" type="Entry" element="_RGUNcIn9EeGKqoh-gt8EXQ">
-          <children xmi:id="_RGYe4In9EeGKqoh-gt8EXQ" type="BorderItemLabelContainer">
-            <children xsi:type="notation:DecorationNode" xmi:id="_RGZF8In9EeGKqoh-gt8EXQ" type="BorderItemLabel">
-              <styles xsi:type="notation:ShapeStyle" xmi:id="_RGZF8Yn9EeGKqoh-gt8EXQ"/>
-              <layoutConstraint xsi:type="notation:Location" xmi:id="_RGZF8on9EeGKqoh-gt8EXQ"/>
-            </children>
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_RGYe4Yn9EeGKqoh-gt8EXQ" fontName="Verdana" lineColor="4210752"/>
-            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGYe4on9EeGKqoh-gt8EXQ"/>
-          </children>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_RGWCoYn9EeGKqoh-gt8EXQ" fontName="Verdana" lineColor="4210752"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGZtAIn9EeGKqoh-gt8EXQ" x="70" y="20"/>
-        </children>
-        <children xmi:id="_RGbiMIn9EeGKqoh-gt8EXQ" type="State" element="_RGZtAYn9EeGKqoh-gt8EXQ">
-          <children xsi:type="notation:DecorationNode" xmi:id="_RGcJQIn9EeGKqoh-gt8EXQ" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_RGcJQYn9EeGKqoh-gt8EXQ"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_RGcJQon9EeGKqoh-gt8EXQ"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_RGdXYIn9EeGKqoh-gt8EXQ" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_RGdXYYn9EeGKqoh-gt8EXQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGd-cIn9EeGKqoh-gt8EXQ"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_RGd-cYn9EeGKqoh-gt8EXQ" type="StateFigureCompartment"/>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_RGbiMYn9EeGKqoh-gt8EXQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_RGbiMon9EeGKqoh-gt8EXQ"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_RGelgIn9EeGKqoh-gt8EXQ"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGfMkIn9EeGKqoh-gt8EXQ" x="60" y="79"/>
-        </children>
-        <children xmi:id="_TCY4kIn9EeGKqoh-gt8EXQ" type="State" element="_TB-B0In9EeGKqoh-gt8EXQ">
-          <children xsi:type="notation:DecorationNode" xmi:id="_TCaGsIn9EeGKqoh-gt8EXQ" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_TCaGsYn9EeGKqoh-gt8EXQ"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_TCaGson9EeGKqoh-gt8EXQ"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_TCaGs4n9EeGKqoh-gt8EXQ" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_TCatwIn9EeGKqoh-gt8EXQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_TCatwYn9EeGKqoh-gt8EXQ"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_TCbU0In9EeGKqoh-gt8EXQ" type="StateFigureCompartment"/>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_TCY4kYn9EeGKqoh-gt8EXQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_TCY4kon9EeGKqoh-gt8EXQ"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_TCbU0Yn9EeGKqoh-gt8EXQ"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_TCY4k4n9EeGKqoh-gt8EXQ" x="247" y="87"/>
-        </children>
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGRKIYn9EeGKqoh-gt8EXQ"/>
-      </children>
-      <styles xsi:type="notation:ShapeStyle" xmi:id="_RFixYYn9EeGKqoh-gt8EXQ" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGTmYIn9EeGKqoh-gt8EXQ" x="220" y="10" width="400" height="196"/>
-    </children>
-    <children xsi:type="notation:Shape" xmi:id="_RGkFEIn9EeGKqoh-gt8EXQ" type="StatechartText" fontName="Verdana" lineColor="4210752">
-      <children xsi:type="notation:DecorationNode" xmi:id="_RGksIIn9EeGKqoh-gt8EXQ" type="StatechartName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_RGksIYn9EeGKqoh-gt8EXQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_RGksIon9EeGKqoh-gt8EXQ"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_RGlTMIn9EeGKqoh-gt8EXQ" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGlTMYn9EeGKqoh-gt8EXQ"/>
-      </children>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGl6QIn9EeGKqoh-gt8EXQ" x="10" y="10" width="200" height="201"/>
-    </children>
-    <children xmi:id="_RZtb8I1dEeGmRdyimotffQ" type="Region" element="_RZW2oI1dEeGmRdyimotffQ">
-      <children xsi:type="notation:DecorationNode" xmi:id="_RZyUcI1dEeGmRdyimotffQ" type="RegionName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_RZyUcY1dEeGmRdyimotffQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_RZyUco1dEeGmRdyimotffQ"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_RZy7gI1dEeGmRdyimotffQ" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
-        <children xmi:id="_S00IAI1dEeGmRdyimotffQ" type="Entry" element="_S0APsI1dEeGmRdyimotffQ">
-          <children xmi:id="_S01WII1dEeGmRdyimotffQ" type="BorderItemLabelContainer">
-            <children xsi:type="notation:DecorationNode" xmi:id="_S019MI1dEeGmRdyimotffQ" type="BorderItemLabel">
-              <styles xsi:type="notation:ShapeStyle" xmi:id="_S019MY1dEeGmRdyimotffQ"/>
-              <layoutConstraint xsi:type="notation:Location" xmi:id="_S019Mo1dEeGmRdyimotffQ"/>
-            </children>
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_S01WIY1dEeGmRdyimotffQ" fontName="Verdana" lineColor="4210752"/>
-            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_S01WIo1dEeGmRdyimotffQ"/>
-          </children>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_S00IAY1dEeGmRdyimotffQ" fontName="Verdana" lineColor="4210752"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_S00IAo1dEeGmRdyimotffQ" x="26" y="15"/>
-        </children>
-        <children xmi:id="_TOmhAI1dEeGmRdyimotffQ" type="State" element="_TOHY0I1dEeGmRdyimotffQ">
-          <children xsi:type="notation:DecorationNode" xmi:id="_TOnvII1dEeGmRdyimotffQ" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_TOnvIY1dEeGmRdyimotffQ"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_TOnvIo1dEeGmRdyimotffQ"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_TOo9QI1dEeGmRdyimotffQ" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_TOo9QY1dEeGmRdyimotffQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_TOo9Qo1dEeGmRdyimotffQ"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_TOqLYI1dEeGmRdyimotffQ" type="StateFigureCompartment"/>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_TOmhAY1dEeGmRdyimotffQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_TOmhAo1dEeGmRdyimotffQ"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_TOqLYY1dEeGmRdyimotffQ"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_TOmhA41dEeGmRdyimotffQ" x="131" y="32"/>
-        </children>
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RZzikI1dEeGmRdyimotffQ"/>
-      </children>
-      <styles xsi:type="notation:ShapeStyle" xmi:id="_RZtb8Y1dEeGmRdyimotffQ" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RZtb8o1dEeGmRdyimotffQ" x="220" y="210" width="400" height="196"/>
-    </children>
-    <styles xsi:type="notation:DiagramStyle" xmi:id="_RFWkIYn9EeGKqoh-gt8EXQ"/>
-    <edges xmi:id="_RGho0In9EeGKqoh-gt8EXQ" type="Transition" element="_RGfMkYn9EeGKqoh-gt8EXQ" source="_RGWCoIn9EeGKqoh-gt8EXQ" target="_RGbiMIn9EeGKqoh-gt8EXQ">
-      <children xsi:type="notation:DecorationNode" xmi:id="_RGi28Yn9EeGKqoh-gt8EXQ" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_RGi28on9EeGKqoh-gt8EXQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_RGjeAIn9EeGKqoh-gt8EXQ" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_RGho0Yn9EeGKqoh-gt8EXQ" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_RGi28In9EeGKqoh-gt8EXQ" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_RGho0on9EeGKqoh-gt8EXQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
-    </edges>
-    <edges xmi:id="_TsKOUIn9EeGKqoh-gt8EXQ" type="Transition" element="_TsF84In9EeGKqoh-gt8EXQ" source="_RGbiMIn9EeGKqoh-gt8EXQ" target="_TCY4kIn9EeGKqoh-gt8EXQ">
-      <children xsi:type="notation:DecorationNode" xmi:id="_TsK1YIn9EeGKqoh-gt8EXQ" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_TsK1YYn9EeGKqoh-gt8EXQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_TsK1Yon9EeGKqoh-gt8EXQ" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_TsKOUYn9EeGKqoh-gt8EXQ" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_TsKOU4n9EeGKqoh-gt8EXQ" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_TsKOUon9EeGKqoh-gt8EXQ" points="[18, 1, -162, -19]$[177, -5, -3, -25]"/>
-    </edges>
-    <edges xmi:id="_UvfTkIn9EeGKqoh-gt8EXQ" type="Transition" element="_UvZM8In9EeGKqoh-gt8EXQ" source="_TCY4kIn9EeGKqoh-gt8EXQ" target="_RGbiMIn9EeGKqoh-gt8EXQ">
-      <children xsi:type="notation:DecorationNode" xmi:id="_Uvf6oIn9EeGKqoh-gt8EXQ" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_Uvf6oYn9EeGKqoh-gt8EXQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_Uvf6oon9EeGKqoh-gt8EXQ" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_UvfTkYn9EeGKqoh-gt8EXQ" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_UvfTk4n9EeGKqoh-gt8EXQ" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_UvfTkon9EeGKqoh-gt8EXQ" points="[-19, -3, 176, 1]$[-193, -12, 2, -8]"/>
-      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_UwYEYIn9EeGKqoh-gt8EXQ" id="(0.55,0.08928571428571429)"/>
-      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_UwYEYYn9EeGKqoh-gt8EXQ" id="(0.325,0.16071428571428573)"/>
-    </edges>
-    <edges xmi:id="_UV114I1dEeGmRdyimotffQ" type="Transition" element="_UVq2wI1dEeGmRdyimotffQ" source="_S00IAI1dEeGmRdyimotffQ" target="_TOmhAI1dEeGmRdyimotffQ">
-      <children xsi:type="notation:DecorationNode" xmi:id="_UV3EAY1dEeGmRdyimotffQ" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_UV3rEI1dEeGmRdyimotffQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_UV3rEY1dEeGmRdyimotffQ" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_UV114Y1dEeGmRdyimotffQ" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_UV3EAI1dEeGmRdyimotffQ" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_UV114o1dEeGmRdyimotffQ" points="[7, 1, -108, -34]$[113, 10, -2, -25]"/>
-    </edges>
-  </notation:Diagram>
-</xmi:XMI>
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_RFTg0In9EeGKqoh-gt8EXQ" specification="interface:&#xD;&#xA;var myInt : integer&#xD;&#xA;internal:&#xD;&#xA;oncycle / myInt+=1&#xD;&#xA;" name="StatechartLocalReactions">
+    <regions xmi:id="_RFWkIon9EeGKqoh-gt8EXQ" name="main region">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_RGUNcIn9EeGKqoh-gt8EXQ">
+        <outgoingTransitions xmi:id="_RGfMkYn9EeGKqoh-gt8EXQ" target="_RGZtAYn9EeGKqoh-gt8EXQ"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_RGZtAYn9EeGKqoh-gt8EXQ" name="S1" incomingTransitions="_RGfMkYn9EeGKqoh-gt8EXQ _UvZM8In9EeGKqoh-gt8EXQ">
+        <outgoingTransitions xmi:id="_TsF84In9EeGKqoh-gt8EXQ" specification="" target="_TB-B0In9EeGKqoh-gt8EXQ"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_TB-B0In9EeGKqoh-gt8EXQ" name="S2" incomingTransitions="_TsF84In9EeGKqoh-gt8EXQ">
+        <outgoingTransitions xmi:id="_UvZM8In9EeGKqoh-gt8EXQ" specification="" target="_RGZtAYn9EeGKqoh-gt8EXQ"/>
+      </vertices>
+    </regions>
+    <regions xmi:id="_RZW2oI1dEeGmRdyimotffQ" name="region2">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_S0APsI1dEeGmRdyimotffQ">
+        <outgoingTransitions xmi:id="_UVq2wI1dEeGmRdyimotffQ" specification="" target="_TOHY0I1dEeGmRdyimotffQ"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_TOHY0I1dEeGmRdyimotffQ" name="a" incomingTransitions="_UVq2wI1dEeGmRdyimotffQ"/>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_RFWkIIn9EeGKqoh-gt8EXQ" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_RFTg0In9EeGKqoh-gt8EXQ" measurementUnit="Pixel">
+    <children xmi:id="_RFixYIn9EeGKqoh-gt8EXQ" type="Region" element="_RFWkIon9EeGKqoh-gt8EXQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_RGQjEIn9EeGKqoh-gt8EXQ" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_RGQjEYn9EeGKqoh-gt8EXQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_RGQjEon9EeGKqoh-gt8EXQ"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_RGRKIIn9EeGKqoh-gt8EXQ" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_RGWCoIn9EeGKqoh-gt8EXQ" type="Entry" element="_RGUNcIn9EeGKqoh-gt8EXQ">
+          <children xmi:id="_RGYe4In9EeGKqoh-gt8EXQ" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_RGZF8In9EeGKqoh-gt8EXQ" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_RGZF8Yn9EeGKqoh-gt8EXQ"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_RGZF8on9EeGKqoh-gt8EXQ"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_RGYe4Yn9EeGKqoh-gt8EXQ" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGYe4on9EeGKqoh-gt8EXQ"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_RGWCoYn9EeGKqoh-gt8EXQ" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGZtAIn9EeGKqoh-gt8EXQ" x="70" y="20"/>
+        </children>
+        <children xmi:id="_RGbiMIn9EeGKqoh-gt8EXQ" type="State" element="_RGZtAYn9EeGKqoh-gt8EXQ">
+          <children xsi:type="notation:DecorationNode" xmi:id="_RGcJQIn9EeGKqoh-gt8EXQ" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_RGcJQYn9EeGKqoh-gt8EXQ"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_RGcJQon9EeGKqoh-gt8EXQ"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_RGdXYIn9EeGKqoh-gt8EXQ" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_RGdXYYn9EeGKqoh-gt8EXQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGd-cIn9EeGKqoh-gt8EXQ"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_RGd-cYn9EeGKqoh-gt8EXQ" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_RGbiMYn9EeGKqoh-gt8EXQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_RGbiMon9EeGKqoh-gt8EXQ"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_RGelgIn9EeGKqoh-gt8EXQ"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGfMkIn9EeGKqoh-gt8EXQ" x="60" y="79"/>
+        </children>
+        <children xmi:id="_TCY4kIn9EeGKqoh-gt8EXQ" type="State" element="_TB-B0In9EeGKqoh-gt8EXQ">
+          <children xsi:type="notation:DecorationNode" xmi:id="_TCaGsIn9EeGKqoh-gt8EXQ" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_TCaGsYn9EeGKqoh-gt8EXQ"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_TCaGson9EeGKqoh-gt8EXQ"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_TCaGs4n9EeGKqoh-gt8EXQ" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_TCatwIn9EeGKqoh-gt8EXQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_TCatwYn9EeGKqoh-gt8EXQ"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_TCbU0In9EeGKqoh-gt8EXQ" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_TCY4kYn9EeGKqoh-gt8EXQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_TCY4kon9EeGKqoh-gt8EXQ"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_TCbU0Yn9EeGKqoh-gt8EXQ"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_TCY4k4n9EeGKqoh-gt8EXQ" x="247" y="87"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGRKIYn9EeGKqoh-gt8EXQ"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_RFixYYn9EeGKqoh-gt8EXQ" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGTmYIn9EeGKqoh-gt8EXQ" x="220" y="10" width="400" height="196"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_RGkFEIn9EeGKqoh-gt8EXQ" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_RGksIIn9EeGKqoh-gt8EXQ" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_RGksIYn9EeGKqoh-gt8EXQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_RGksIon9EeGKqoh-gt8EXQ"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_RGlTMIn9EeGKqoh-gt8EXQ" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGlTMYn9EeGKqoh-gt8EXQ"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGl6QIn9EeGKqoh-gt8EXQ" x="8" y="10" width="200" height="201"/>
+    </children>
+    <children xmi:id="_RZtb8I1dEeGmRdyimotffQ" type="Region" element="_RZW2oI1dEeGmRdyimotffQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_RZyUcI1dEeGmRdyimotffQ" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_RZyUcY1dEeGmRdyimotffQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_RZyUco1dEeGmRdyimotffQ"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_RZy7gI1dEeGmRdyimotffQ" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_S00IAI1dEeGmRdyimotffQ" type="Entry" element="_S0APsI1dEeGmRdyimotffQ">
+          <children xmi:id="_S01WII1dEeGmRdyimotffQ" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_S019MI1dEeGmRdyimotffQ" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_S019MY1dEeGmRdyimotffQ"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_S019Mo1dEeGmRdyimotffQ"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_S01WIY1dEeGmRdyimotffQ" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_S01WIo1dEeGmRdyimotffQ"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_S00IAY1dEeGmRdyimotffQ" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_S00IAo1dEeGmRdyimotffQ" x="26" y="15"/>
+        </children>
+        <children xmi:id="_TOmhAI1dEeGmRdyimotffQ" type="State" element="_TOHY0I1dEeGmRdyimotffQ">
+          <children xsi:type="notation:DecorationNode" xmi:id="_TOnvII1dEeGmRdyimotffQ" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_TOnvIY1dEeGmRdyimotffQ"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_TOnvIo1dEeGmRdyimotffQ"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_TOo9QI1dEeGmRdyimotffQ" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_TOo9QY1dEeGmRdyimotffQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_TOo9Qo1dEeGmRdyimotffQ"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_TOqLYI1dEeGmRdyimotffQ" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_TOmhAY1dEeGmRdyimotffQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_TOmhAo1dEeGmRdyimotffQ"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_TOqLYY1dEeGmRdyimotffQ"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_TOmhA41dEeGmRdyimotffQ" x="131" y="32"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RZzikI1dEeGmRdyimotffQ"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_RZtb8Y1dEeGmRdyimotffQ" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RZtb8o1dEeGmRdyimotffQ" x="220" y="210" width="400" height="196"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_RFWkIYn9EeGKqoh-gt8EXQ"/>
+    <edges xmi:id="_RGho0In9EeGKqoh-gt8EXQ" type="Transition" element="_RGfMkYn9EeGKqoh-gt8EXQ" source="_RGWCoIn9EeGKqoh-gt8EXQ" target="_RGbiMIn9EeGKqoh-gt8EXQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_RGi28Yn9EeGKqoh-gt8EXQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_RGi28on9EeGKqoh-gt8EXQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_RGjeAIn9EeGKqoh-gt8EXQ" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_RGho0Yn9EeGKqoh-gt8EXQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_RGi28In9EeGKqoh-gt8EXQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_RGho0on9EeGKqoh-gt8EXQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_TsKOUIn9EeGKqoh-gt8EXQ" type="Transition" element="_TsF84In9EeGKqoh-gt8EXQ" source="_RGbiMIn9EeGKqoh-gt8EXQ" target="_TCY4kIn9EeGKqoh-gt8EXQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_TsK1YIn9EeGKqoh-gt8EXQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_TsK1YYn9EeGKqoh-gt8EXQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_TsK1Yon9EeGKqoh-gt8EXQ" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_TsKOUYn9EeGKqoh-gt8EXQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_TsKOU4n9EeGKqoh-gt8EXQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_TsKOUon9EeGKqoh-gt8EXQ" points="[18, 1, -162, -19]$[177, -5, -3, -25]"/>
+    </edges>
+    <edges xmi:id="_UvfTkIn9EeGKqoh-gt8EXQ" type="Transition" element="_UvZM8In9EeGKqoh-gt8EXQ" source="_TCY4kIn9EeGKqoh-gt8EXQ" target="_RGbiMIn9EeGKqoh-gt8EXQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Uvf6oIn9EeGKqoh-gt8EXQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Uvf6oYn9EeGKqoh-gt8EXQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Uvf6oon9EeGKqoh-gt8EXQ" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_UvfTkYn9EeGKqoh-gt8EXQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_UvfTk4n9EeGKqoh-gt8EXQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_UvfTkon9EeGKqoh-gt8EXQ" points="[-19, -3, 176, 1]$[-193, -12, 2, -8]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_UwYEYIn9EeGKqoh-gt8EXQ" id="(0.55,0.08928571428571429)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_UwYEYYn9EeGKqoh-gt8EXQ" id="(0.325,0.16071428571428573)"/>
+    </edges>
+    <edges xmi:id="_UV114I1dEeGmRdyimotffQ" type="Transition" element="_UVq2wI1dEeGmRdyimotffQ" source="_S00IAI1dEeGmRdyimotffQ" target="_TOmhAI1dEeGmRdyimotffQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_UV3EAY1dEeGmRdyimotffQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_UV3rEI1dEeGmRdyimotffQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_UV3rEY1dEeGmRdyimotffQ" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_UV114Y1dEeGmRdyimotffQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_UV3EAI1dEeGmRdyimotffQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_UV114o1dEeGmRdyimotffQ" points="[7, 1, -108, -34]$[113, 10, -2, -25]"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

+ 112 - 112
test-plugins/org.yakindu.sct.test.models/testmodels/StringExpressions.sct

@@ -1,112 +1,112 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
-  <sgraph:Statechart xmi:id="_GAg-QMUEEeGBt-G4bU7TpQ" specification="interface:&#xD;&#xA;var myString :string&#xD;&#xA;var myString2 : string&#xD;&#xA;&#xD;&#xA;var equals : boolean&#xD;&#xA;var notEqual : boolean&#xD;&#xA;&#xD;&#xA;in event e1 &#xD;&#xA;&#xD;&#xA;" name="StringExpressions">
-    <regions xmi:id="_GAg-Q8UEEeGBt-G4bU7TpQ" name="main region">
-      <vertices xsi:type="sgraph:Entry" xmi:id="_GCmo9sUEEeGBt-G4bU7TpQ">
-        <outgoingTransitions xmi:id="_GCmpEMUEEeGBt-G4bU7TpQ" target="_GCmpAcUEEeGBt-G4bU7TpQ"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_GCmpAcUEEeGBt-G4bU7TpQ" specification="entry / myString =&quot;hello&quot;;&#xD;&#xA;myString2 = &quot;world&quot;&#xD;&#xA; " name="StateA" incomingTransitions="_GCmpEMUEEeGBt-G4bU7TpQ">
-        <outgoingTransitions xmi:id="_ecu0gMUPEeGfjbriQ9CjYQ" specification="e1" target="_eaWO4MUPEeGfjbriQ9CjYQ"/>
-      </vertices>
-      <vertices xsi:type="sgraph:State" xmi:id="_eaWO4MUPEeGfjbriQ9CjYQ" specification="entry / equals = (myString == myString2);&#xD;&#xA;notEqual = (myString != myString2 )&#xD;&#xA;" name="StateB" incomingTransitions="_ecu0gMUPEeGfjbriQ9CjYQ"/>
-    </regions>
-  </sgraph:Statechart>
-  <notation:Diagram xmi:id="_GAg-QcUEEeGBt-G4bU7TpQ" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_GAg-QMUEEeGBt-G4bU7TpQ" measurementUnit="Pixel">
-    <children xmi:id="_GAg-RMUEEeGBt-G4bU7TpQ" type="Region" element="_GAg-Q8UEEeGBt-G4bU7TpQ">
-      <children xsi:type="notation:DecorationNode" xmi:id="_GCmo8MUEEeGBt-G4bU7TpQ" type="RegionName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_GCmo8cUEEeGBt-G4bU7TpQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_GCmo8sUEEeGBt-G4bU7TpQ"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_GCmo88UEEeGBt-G4bU7TpQ" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
-        <children xmi:id="_GCmo98UEEeGBt-G4bU7TpQ" type="Entry" element="_GCmo9sUEEeGBt-G4bU7TpQ">
-          <children xmi:id="_GCmo-sUEEeGBt-G4bU7TpQ" type="BorderItemLabelContainer">
-            <children xsi:type="notation:DecorationNode" xmi:id="_GCmo_cUEEeGBt-G4bU7TpQ" type="BorderItemLabel">
-              <styles xsi:type="notation:ShapeStyle" xmi:id="_GCmo_sUEEeGBt-G4bU7TpQ"/>
-              <layoutConstraint xsi:type="notation:Location" xmi:id="_GCmo_8UEEeGBt-G4bU7TpQ"/>
-            </children>
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_GCmo-8UEEeGBt-G4bU7TpQ" fontName="Verdana" lineColor="4210752"/>
-            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_GCmo_MUEEeGBt-G4bU7TpQ"/>
-          </children>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_GCmo-MUEEeGBt-G4bU7TpQ" fontName="Verdana" lineColor="4210752"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_GCmpAMUEEeGBt-G4bU7TpQ" x="134" y="24"/>
-        </children>
-        <children xmi:id="_GCmpA8UEEeGBt-G4bU7TpQ" type="State" element="_GCmpAcUEEeGBt-G4bU7TpQ">
-          <children xsi:type="notation:DecorationNode" xmi:id="_GCmpB8UEEeGBt-G4bU7TpQ" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_GCmpCMUEEeGBt-G4bU7TpQ"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_GCmpCcUEEeGBt-G4bU7TpQ"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_GCmpCsUEEeGBt-G4bU7TpQ" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_GCmpC8UEEeGBt-G4bU7TpQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_GCmpDMUEEeGBt-G4bU7TpQ"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_GCmpDcUEEeGBt-G4bU7TpQ" type="StateFigureCompartment"/>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_GCmpBMUEEeGBt-G4bU7TpQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_GCmpBcUEEeGBt-G4bU7TpQ"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_GCmpDsUEEeGBt-G4bU7TpQ"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_GCmpD8UEEeGBt-G4bU7TpQ" x="52" y="83"/>
-        </children>
-        <children xmi:id="_eb1coMUPEeGfjbriQ9CjYQ" type="State" element="_eaWO4MUPEeGfjbriQ9CjYQ">
-          <children xsi:type="notation:DecorationNode" xmi:id="_ecI-oMUPEeGfjbriQ9CjYQ" type="StateName">
-            <styles xsi:type="notation:ShapeStyle" xmi:id="_ecI-ocUPEeGfjbriQ9CjYQ"/>
-            <layoutConstraint xsi:type="notation:Location" xmi:id="_ecI-osUPEeGfjbriQ9CjYQ"/>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_ecI-o8UPEeGfjbriQ9CjYQ" type="StateTextCompartment">
-            <children xsi:type="notation:Shape" xmi:id="_ecI-pMUPEeGfjbriQ9CjYQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
-              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_ecI-pcUPEeGfjbriQ9CjYQ"/>
-            </children>
-          </children>
-          <children xsi:type="notation:Compartment" xmi:id="_ecI-psUPEeGfjbriQ9CjYQ" type="StateFigureCompartment"/>
-          <styles xsi:type="notation:ShapeStyle" xmi:id="_eb1cocUPEeGfjbriQ9CjYQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
-          <styles xsi:type="notation:FontStyle" xmi:id="_eb1cosUPEeGfjbriQ9CjYQ"/>
-          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_ecI-p8UPEeGfjbriQ9CjYQ"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_eb1co8UPEeGfjbriQ9CjYQ" x="19" y="234" width="326" height="156"/>
-        </children>
-        <children xsi:type="notation:Shape" xmi:id="_1R8RsMUPEeGfjbriQ9CjYQ" type="Note" fontName="Verdana" description="Expectation:&#xD;&#xA;&#xD;&#xA;equal = false&#xD;&#xA;notEqual = true" fillColor="13369343" transparency="0" lineColor="6737151" lineWidth="1">
-          <children xsi:type="notation:BasicDecorationNode" xmi:id="_1R8RtMUPEeGfjbriQ9CjYQ" type="DiagramName">
-            <element xsi:nil="true"/>
-          </children>
-          <children xsi:type="notation:BasicDecorationNode" xmi:id="_1R8RtcUPEeGfjbriQ9CjYQ" type="Description">
-            <element xsi:nil="true"/>
-          </children>
-          <styles xsi:type="notation:TextStyle" xmi:id="_1R8RscUPEeGfjbriQ9CjYQ"/>
-          <styles xsi:type="notation:LineTypeStyle" xmi:id="_1R8RssUPEeGfjbriQ9CjYQ"/>
-          <element xsi:nil="true"/>
-          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_1R8Rs8UPEeGfjbriQ9CjYQ" x="319" y="38" width="121" height="82"/>
-        </children>
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_GCmo9MUEEeGBt-G4bU7TpQ"/>
-      </children>
-      <styles xsi:type="notation:ShapeStyle" xmi:id="_GAg-RcUEEeGBt-G4bU7TpQ" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_GCmo9cUEEeGBt-G4bU7TpQ" x="215" y="5" width="506" height="446"/>
-    </children>
-    <children xsi:type="notation:Shape" xmi:id="_GCmpGMUEEeGBt-G4bU7TpQ" type="StatechartText" fontName="Verdana" lineColor="4210752">
-      <children xsi:type="notation:DecorationNode" xmi:id="_GCmpGsUEEeGBt-G4bU7TpQ" type="StatechartName">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_GCmpG8UEEeGBt-G4bU7TpQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_GCmpHMUEEeGBt-G4bU7TpQ"/>
-      </children>
-      <children xsi:type="notation:Shape" xmi:id="_GCmpHcUEEeGBt-G4bU7TpQ" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
-        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_GCmpHsUEEeGBt-G4bU7TpQ"/>
-      </children>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_GCmpH8UEEeGBt-G4bU7TpQ" x="10" y="10" width="200" height="400"/>
-    </children>
-    <styles xsi:type="notation:DiagramStyle" xmi:id="_GAg-QsUEEeGBt-G4bU7TpQ"/>
-    <edges xmi:id="_GCmpEcUEEeGBt-G4bU7TpQ" type="Transition" element="_GCmpEMUEEeGBt-G4bU7TpQ" source="_GCmo98UEEeGBt-G4bU7TpQ" target="_GCmpA8UEEeGBt-G4bU7TpQ">
-      <children xsi:type="notation:DecorationNode" xmi:id="_GCmpFcUEEeGBt-G4bU7TpQ" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_GCmpFsUEEeGBt-G4bU7TpQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_GCmpF8UEEeGBt-G4bU7TpQ" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_GCmpEsUEEeGBt-G4bU7TpQ" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_GCmpFMUEEeGBt-G4bU7TpQ" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_GCmpE8UEEeGBt-G4bU7TpQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
-    </edges>
-    <edges xmi:id="_edBvcMUPEeGfjbriQ9CjYQ" type="Transition" element="_ecu0gMUPEeGfjbriQ9CjYQ" source="_GCmpA8UEEeGBt-G4bU7TpQ" target="_eb1coMUPEeGfjbriQ9CjYQ">
-      <children xsi:type="notation:DecorationNode" xmi:id="_edBvdMUPEeGfjbriQ9CjYQ" type="TransitionExpression">
-        <styles xsi:type="notation:ShapeStyle" xmi:id="_edBvdcUPEeGfjbriQ9CjYQ"/>
-        <layoutConstraint xsi:type="notation:Location" xmi:id="_edBvdsUPEeGfjbriQ9CjYQ" y="10"/>
-      </children>
-      <styles xsi:type="notation:ConnectorStyle" xmi:id="_edBvccUPEeGfjbriQ9CjYQ" lineColor="4210752"/>
-      <styles xsi:type="notation:FontStyle" xmi:id="_edBvc8UPEeGfjbriQ9CjYQ" fontName="Verdana"/>
-      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_edBvcsUPEeGfjbriQ9CjYQ" points="[-29, -42, 57, 82]$[-84, -121, 2, 3]"/>
-    </edges>
-  </notation:Diagram>
-</xmi:XMI>
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_GAg-QMUEEeGBt-G4bU7TpQ" specification="interface:&#xD;&#xA;var myString :string&#xD;&#xA;var myString2 : string&#xD;&#xA;&#xD;&#xA;var equals : boolean&#xD;&#xA;var notEqual : boolean&#xD;&#xA;&#xD;&#xA;in event e1 &#xD;&#xA;&#xD;&#xA;" name="StringExpressions">
+    <regions xmi:id="_GAg-Q8UEEeGBt-G4bU7TpQ" name="main region">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_GCmo9sUEEeGBt-G4bU7TpQ">
+        <outgoingTransitions xmi:id="_GCmpEMUEEeGBt-G4bU7TpQ" target="_GCmpAcUEEeGBt-G4bU7TpQ"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_GCmpAcUEEeGBt-G4bU7TpQ" specification="entry / myString =&quot;hello&quot;;&#xD;&#xA;myString2 = &quot;world&quot;&#xD;&#xA; " name="StateA" incomingTransitions="_GCmpEMUEEeGBt-G4bU7TpQ">
+        <outgoingTransitions xmi:id="_ecu0gMUPEeGfjbriQ9CjYQ" specification="e1" target="_eaWO4MUPEeGfjbriQ9CjYQ"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_eaWO4MUPEeGfjbriQ9CjYQ" specification="entry / equals = (myString == myString2);&#xD;&#xA;notEqual = (myString != myString2 )&#xD;&#xA;" name="StateB" incomingTransitions="_ecu0gMUPEeGfjbriQ9CjYQ"/>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_GAg-QcUEEeGBt-G4bU7TpQ" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_GAg-QMUEEeGBt-G4bU7TpQ" measurementUnit="Pixel">
+    <children xmi:id="_GAg-RMUEEeGBt-G4bU7TpQ" type="Region" element="_GAg-Q8UEEeGBt-G4bU7TpQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_GCmo8MUEEeGBt-G4bU7TpQ" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_GCmo8cUEEeGBt-G4bU7TpQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_GCmo8sUEEeGBt-G4bU7TpQ"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_GCmo88UEEeGBt-G4bU7TpQ" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_GCmo98UEEeGBt-G4bU7TpQ" type="Entry" element="_GCmo9sUEEeGBt-G4bU7TpQ">
+          <children xmi:id="_GCmo-sUEEeGBt-G4bU7TpQ" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_GCmo_cUEEeGBt-G4bU7TpQ" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_GCmo_sUEEeGBt-G4bU7TpQ"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_GCmo_8UEEeGBt-G4bU7TpQ"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_GCmo-8UEEeGBt-G4bU7TpQ" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_GCmo_MUEEeGBt-G4bU7TpQ"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_GCmo-MUEEeGBt-G4bU7TpQ" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_GCmpAMUEEeGBt-G4bU7TpQ" x="134" y="24"/>
+        </children>
+        <children xmi:id="_GCmpA8UEEeGBt-G4bU7TpQ" type="State" element="_GCmpAcUEEeGBt-G4bU7TpQ">
+          <children xsi:type="notation:DecorationNode" xmi:id="_GCmpB8UEEeGBt-G4bU7TpQ" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_GCmpCMUEEeGBt-G4bU7TpQ"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_GCmpCcUEEeGBt-G4bU7TpQ"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_GCmpCsUEEeGBt-G4bU7TpQ" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_GCmpC8UEEeGBt-G4bU7TpQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_GCmpDMUEEeGBt-G4bU7TpQ"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_GCmpDcUEEeGBt-G4bU7TpQ" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_GCmpBMUEEeGBt-G4bU7TpQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_GCmpBcUEEeGBt-G4bU7TpQ"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_GCmpDsUEEeGBt-G4bU7TpQ"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_GCmpD8UEEeGBt-G4bU7TpQ" x="52" y="83"/>
+        </children>
+        <children xmi:id="_eb1coMUPEeGfjbriQ9CjYQ" type="State" element="_eaWO4MUPEeGfjbriQ9CjYQ">
+          <children xsi:type="notation:DecorationNode" xmi:id="_ecI-oMUPEeGfjbriQ9CjYQ" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_ecI-ocUPEeGfjbriQ9CjYQ"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_ecI-osUPEeGfjbriQ9CjYQ"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_ecI-o8UPEeGfjbriQ9CjYQ" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_ecI-pMUPEeGfjbriQ9CjYQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_ecI-pcUPEeGfjbriQ9CjYQ"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_ecI-psUPEeGfjbriQ9CjYQ" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_eb1cocUPEeGfjbriQ9CjYQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_eb1cosUPEeGfjbriQ9CjYQ"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_ecI-p8UPEeGfjbriQ9CjYQ"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_eb1co8UPEeGfjbriQ9CjYQ" x="19" y="234" width="326" height="156"/>
+        </children>
+        <children xsi:type="notation:Shape" xmi:id="_1R8RsMUPEeGfjbriQ9CjYQ" type="Note" fontName="Verdana" description="Expectation:&#xD;&#xA;&#xD;&#xA;equal = false&#xD;&#xA;notEqual = true" fillColor="13369343" transparency="0" lineColor="6737151" lineWidth="1">
+          <children xsi:type="notation:BasicDecorationNode" xmi:id="_1R8RtMUPEeGfjbriQ9CjYQ" type="DiagramName">
+            <element xsi:nil="true"/>
+          </children>
+          <children xsi:type="notation:BasicDecorationNode" xmi:id="_1R8RtcUPEeGfjbriQ9CjYQ" type="Description">
+            <element xsi:nil="true"/>
+          </children>
+          <styles xsi:type="notation:TextStyle" xmi:id="_1R8RscUPEeGfjbriQ9CjYQ"/>
+          <styles xsi:type="notation:LineTypeStyle" xmi:id="_1R8RssUPEeGfjbriQ9CjYQ"/>
+          <element xsi:nil="true"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_1R8Rs8UPEeGfjbriQ9CjYQ" x="319" y="38" width="121" height="82"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_GCmo9MUEEeGBt-G4bU7TpQ"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_GAg-RcUEEeGBt-G4bU7TpQ" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_GCmo9cUEEeGBt-G4bU7TpQ" x="215" y="5" width="506" height="446"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_GCmpGMUEEeGBt-G4bU7TpQ" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_GCmpGsUEEeGBt-G4bU7TpQ" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_GCmpG8UEEeGBt-G4bU7TpQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_GCmpHMUEEeGBt-G4bU7TpQ"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_GCmpHcUEEeGBt-G4bU7TpQ" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_GCmpHsUEEeGBt-G4bU7TpQ"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_GCmpH8UEEeGBt-G4bU7TpQ" x="8" y="5" width="200" height="400"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_GAg-QsUEEeGBt-G4bU7TpQ"/>
+    <edges xmi:id="_GCmpEcUEEeGBt-G4bU7TpQ" type="Transition" element="_GCmpEMUEEeGBt-G4bU7TpQ" source="_GCmo98UEEeGBt-G4bU7TpQ" target="_GCmpA8UEEeGBt-G4bU7TpQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_GCmpFcUEEeGBt-G4bU7TpQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_GCmpFsUEEeGBt-G4bU7TpQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_GCmpF8UEEeGBt-G4bU7TpQ" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_GCmpEsUEEeGBt-G4bU7TpQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_GCmpFMUEEeGBt-G4bU7TpQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_GCmpE8UEEeGBt-G4bU7TpQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_edBvcMUPEeGfjbriQ9CjYQ" type="Transition" element="_ecu0gMUPEeGfjbriQ9CjYQ" source="_GCmpA8UEEeGBt-G4bU7TpQ" target="_eb1coMUPEeGfjbriQ9CjYQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_edBvdMUPEeGfjbriQ9CjYQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_edBvdcUPEeGfjbriQ9CjYQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_edBvdsUPEeGfjbriQ9CjYQ" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_edBvccUPEeGfjbriQ9CjYQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_edBvc8UPEeGfjbriQ9CjYQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_edBvcsUPEeGfjbriQ9CjYQ" points="[-29, -42, 57, 82]$[-84, -121, 2, 3]"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

+ 1 - 1
test-plugins/org.yakindu.sct.test.models/testmodels/ValuedEvents.sct

@@ -65,7 +65,7 @@
       <children xsi:type="notation:Shape" xmi:id="_mYfvcHjXEeGKl8JlHfi_Yg" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
         <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mYfvcXjXEeGKl8JlHfi_Yg"/>
       </children>
-      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mYgWgHjXEeGKl8JlHfi_Yg" x="20" y="40" width="236" height="91"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mYgWgHjXEeGKl8JlHfi_Yg" x="20" y="10" width="236" height="91"/>
     </children>
     <children xmi:id="_4BWxoHjZEeGKl8JlHfi_Yg" type="Region" element="_4BMZkHjZEeGKl8JlHfi_Yg">
       <children xsi:type="notation:DecorationNode" xmi:id="_4BX_wHjZEeGKl8JlHfi_Yg" type="RegionName">

+ 72 - 0
test-plugins/org.yakindu.sct.test.models/testmodels/VariableInitialization.sct

@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_Y9opABL3EeKu2KdLepPy5Q" name="VariableInitialization">
+    <regions xmi:id="_Y9qeMhL3EeKu2KdLepPy5Q" name="main region">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_Y-HxMRL3EeKu2KdLepPy5Q">
+        <outgoingTransitions xmi:id="_Y-KNcxL3EeKu2KdLepPy5Q" target="_Y-I_URL3EeKu2KdLepPy5Q"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_Y-I_URL3EeKu2KdLepPy5Q" incomingTransitions="_Y-KNcxL3EeKu2KdLepPy5Q"/>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_Y9qeMBL3EeKu2KdLepPy5Q" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_Y9opABL3EeKu2KdLepPy5Q" measurementUnit="Pixel">
+    <children xmi:id="_Y9uvoBL3EeKu2KdLepPy5Q" type="Region" element="_Y9qeMhL3EeKu2KdLepPy5Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Y-HKIBL3EeKu2KdLepPy5Q" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Y-HKIRL3EeKu2KdLepPy5Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Y-HKIhL3EeKu2KdLepPy5Q"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_Y-HKIxL3EeKu2KdLepPy5Q" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_Y-HxMhL3EeKu2KdLepPy5Q" type="Entry" element="_Y-HxMRL3EeKu2KdLepPy5Q">
+          <children xmi:id="_Y-IYQBL3EeKu2KdLepPy5Q" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_Y-IYQxL3EeKu2KdLepPy5Q" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_Y-IYRBL3EeKu2KdLepPy5Q"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_Y-IYRRL3EeKu2KdLepPy5Q"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_Y-IYQRL3EeKu2KdLepPy5Q" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Y-IYQhL3EeKu2KdLepPy5Q"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_Y-HxMxL3EeKu2KdLepPy5Q" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Y-I_UBL3EeKu2KdLepPy5Q" x="70" y="20"/>
+        </children>
+        <children xmi:id="_Y-I_UxL3EeKu2KdLepPy5Q" type="State" element="_Y-I_URL3EeKu2KdLepPy5Q">
+          <children xsi:type="notation:DecorationNode" xmi:id="_Y-JmYBL3EeKu2KdLepPy5Q" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_Y-JmYRL3EeKu2KdLepPy5Q"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_Y-JmYhL3EeKu2KdLepPy5Q"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_Y-JmYxL3EeKu2KdLepPy5Q" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_Y-JmZBL3EeKu2KdLepPy5Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Y-JmZRL3EeKu2KdLepPy5Q"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_Y-KNcBL3EeKu2KdLepPy5Q" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_Y-I_VBL3EeKu2KdLepPy5Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_Y-I_VRL3EeKu2KdLepPy5Q"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Y-KNcRL3EeKu2KdLepPy5Q"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Y-KNchL3EeKu2KdLepPy5Q" x="40" y="80"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Y-HKJBL3EeKu2KdLepPy5Q"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_Y9uvoRL3EeKu2KdLepPy5Q" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Y-HxMBL3EeKu2KdLepPy5Q" x="220" y="10" width="400" height="400"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_Y-LbkxL3EeKu2KdLepPy5Q" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Y-MCoBL3EeKu2KdLepPy5Q" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Y-MCoRL3EeKu2KdLepPy5Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Y-MCohL3EeKu2KdLepPy5Q"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_Y-MCoxL3EeKu2KdLepPy5Q" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Y-MCpBL3EeKu2KdLepPy5Q"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Y-MCpRL3EeKu2KdLepPy5Q" x="10" y="10" width="200" height="400"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_Y9qeMRL3EeKu2KdLepPy5Q"/>
+    <edges xmi:id="_Y-K0gBL3EeKu2KdLepPy5Q" type="Transition" element="_Y-KNcxL3EeKu2KdLepPy5Q" source="_Y-HxMhL3EeKu2KdLepPy5Q" target="_Y-I_UxL3EeKu2KdLepPy5Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Y-LbkBL3EeKu2KdLepPy5Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Y-LbkRL3EeKu2KdLepPy5Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Y-LbkhL3EeKu2KdLepPy5Q" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Y-K0gRL3EeKu2KdLepPy5Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Y-K0gxL3EeKu2KdLepPy5Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Y-K0ghL3EeKu2KdLepPy5Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

+ 4 - 4
test-plugins/org.yakindu.sct.test.models/tests/GuardedEntry.sctunit

@@ -3,6 +3,8 @@ testgroup GuardedEntry for statechart GuardedEntry{
 	
 	test EntryNotTakenOnStatechartEnter { 
 		
+		assert guard == false
+		
 		enter
 		
 		assert active(GuardedEntry.main_region.A)
@@ -13,12 +15,10 @@ testgroup GuardedEntry for statechart GuardedEntry{
 	test EntryTakenOnStatechartEnter 
 	{  
 		
-		enter
-		
 		guard = true
 		
-		// enter 
-		assert false "sctunit does not allow modifiing variables before entering the state machine!"
+		enter 
+//		assert false "sctunit does not allow modifiing variables before entering the state machine!"
 		
 		assert active(GuardedEntry.main_region.A)
 		assert done == true