RaiseEvent.sct 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <sgraph:Statechart xmi:id="_lIoDMMv-EeGZoP1H_25Cxw" specification="interface:&#xD;&#xA;out event e1&#xD;&#xA;in event e2" name="RaiseEvent">
  4. <regions xmi:id="_lI6-Isv-EeGZoP1H_25Cxw" name="main region">
  5. <vertices xsi:type="sgraph:Entry" xmi:id="_lJEvJsv-EeGZoP1H_25Cxw">
  6. <outgoingTransitions xmi:id="_lJN5Ecv-EeGZoP1H_25Cxw" target="_lJEvMcv-EeGZoP1H_25Cxw"/>
  7. </vertices>
  8. <vertices xsi:type="sgraph:State" xmi:id="_lJEvMcv-EeGZoP1H_25Cxw" name="StateA" incomingTransitions="_lJN5Ecv-EeGZoP1H_25Cxw">
  9. <outgoingTransitions xmi:id="_x8CrUMv-EeGZoP1H_25Cxw" specification="e2" target="_wsBN4Mv-EeGZoP1H_25Cxw"/>
  10. </vertices>
  11. <vertices xsi:type="sgraph:State" xmi:id="_wsBN4Mv-EeGZoP1H_25Cxw" specification="entry / raise e1" name="StateB" incomingTransitions="_x8CrUMv-EeGZoP1H_25Cxw"/>
  12. </regions>
  13. <regions xmi:id="_z616UMv-EeGZoP1H_25Cxw" name="second region">
  14. <vertices xsi:type="sgraph:Entry" xmi:id="_1WMeAMv-EeGZoP1H_25Cxw">
  15. <outgoingTransitions xmi:id="_3p3JwMv-EeGZoP1H_25Cxw" specification="" target="_18MHAMv-EeGZoP1H_25Cxw"/>
  16. </vertices>
  17. <vertices xsi:type="sgraph:State" xmi:id="_18MHAMv-EeGZoP1H_25Cxw" name="SateA" incomingTransitions="_3p3JwMv-EeGZoP1H_25Cxw">
  18. <outgoingTransitions xmi:id="_6m9NAMv-EeGZoP1H_25Cxw" specification="e1" target="_5QFgsMv-EeGZoP1H_25Cxw"/>
  19. </vertices>
  20. <vertices xsi:type="sgraph:State" xmi:id="_5QFgsMv-EeGZoP1H_25Cxw" name="StateB" incomingTransitions="_6m9NAMv-EeGZoP1H_25Cxw"/>
  21. </regions>
  22. </sgraph:Statechart>
  23. <notation:Diagram xmi:id="_lI6-IMv-EeGZoP1H_25Cxw" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_lIoDMMv-EeGZoP1H_25Cxw" measurementUnit="Pixel">
  24. <children xmi:id="_lI6-I8v-EeGZoP1H_25Cxw" type="Region" element="_lI6-Isv-EeGZoP1H_25Cxw">
  25. <children xsi:type="notation:DecorationNode" xmi:id="_lJEvIMv-EeGZoP1H_25Cxw" type="RegionName">
  26. <styles xsi:type="notation:ShapeStyle" xmi:id="_lJEvIcv-EeGZoP1H_25Cxw"/>
  27. <layoutConstraint xsi:type="notation:Location" xmi:id="_lJEvIsv-EeGZoP1H_25Cxw"/>
  28. </children>
  29. <children xsi:type="notation:Shape" xmi:id="_lJEvI8v-EeGZoP1H_25Cxw" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
  30. <children xmi:id="_lJEvJ8v-EeGZoP1H_25Cxw" type="Entry" element="_lJEvJsv-EeGZoP1H_25Cxw">
  31. <children xmi:id="_lJEvKsv-EeGZoP1H_25Cxw" type="BorderItemLabelContainer">
  32. <children xsi:type="notation:DecorationNode" xmi:id="_lJEvLcv-EeGZoP1H_25Cxw" type="BorderItemLabel">
  33. <styles xsi:type="notation:ShapeStyle" xmi:id="_lJEvLsv-EeGZoP1H_25Cxw"/>
  34. <layoutConstraint xsi:type="notation:Location" xmi:id="_lJEvL8v-EeGZoP1H_25Cxw"/>
  35. </children>
  36. <styles xsi:type="notation:ShapeStyle" xmi:id="_lJEvK8v-EeGZoP1H_25Cxw" fontName="Verdana" lineColor="4210752"/>
  37. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJEvLMv-EeGZoP1H_25Cxw"/>
  38. </children>
  39. <styles xsi:type="notation:ShapeStyle" xmi:id="_lJEvKMv-EeGZoP1H_25Cxw" fontName="Verdana" lineColor="4210752"/>
  40. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJEvMMv-EeGZoP1H_25Cxw" x="85" y="4"/>
  41. </children>
  42. <children xmi:id="_lJEvM8v-EeGZoP1H_25Cxw" type="State" element="_lJEvMcv-EeGZoP1H_25Cxw">
  43. <children xsi:type="notation:DecorationNode" xmi:id="_lJEvN8v-EeGZoP1H_25Cxw" type="StateName">
  44. <styles xsi:type="notation:ShapeStyle" xmi:id="_lJEvOMv-EeGZoP1H_25Cxw"/>
  45. <layoutConstraint xsi:type="notation:Location" xmi:id="_lJEvOcv-EeGZoP1H_25Cxw"/>
  46. </children>
  47. <children xsi:type="notation:Compartment" xmi:id="_lJEvOsv-EeGZoP1H_25Cxw" type="StateTextCompartment">
  48. <children xsi:type="notation:Shape" xmi:id="_lJEvO8v-EeGZoP1H_25Cxw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
  49. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJEvPMv-EeGZoP1H_25Cxw"/>
  50. </children>
  51. </children>
  52. <children xsi:type="notation:Compartment" xmi:id="_lJEvPcv-EeGZoP1H_25Cxw" type="StateFigureCompartment"/>
  53. <styles xsi:type="notation:ShapeStyle" xmi:id="_lJEvNMv-EeGZoP1H_25Cxw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
  54. <styles xsi:type="notation:FontStyle" xmi:id="_lJEvNcv-EeGZoP1H_25Cxw"/>
  55. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJN5EMv-EeGZoP1H_25Cxw" x="46" y="64" width="99" height="96"/>
  56. </children>
  57. <children xmi:id="_wsUI0Mv-EeGZoP1H_25Cxw" type="State" element="_wsBN4Mv-EeGZoP1H_25Cxw">
  58. <children xsi:type="notation:DecorationNode" xmi:id="_wsUI1Mv-EeGZoP1H_25Cxw" type="StateName">
  59. <styles xsi:type="notation:ShapeStyle" xmi:id="_wsUI1cv-EeGZoP1H_25Cxw"/>
  60. <layoutConstraint xsi:type="notation:Location" xmi:id="_wsUI1sv-EeGZoP1H_25Cxw"/>
  61. </children>
  62. <children xsi:type="notation:Compartment" xmi:id="_wsUI18v-EeGZoP1H_25Cxw" type="StateTextCompartment">
  63. <children xsi:type="notation:Shape" xmi:id="_wsUI2Mv-EeGZoP1H_25Cxw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
  64. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_wsUI2cv-EeGZoP1H_25Cxw"/>
  65. </children>
  66. </children>
  67. <children xsi:type="notation:Compartment" xmi:id="_wsUI2sv-EeGZoP1H_25Cxw" type="StateFigureCompartment"/>
  68. <styles xsi:type="notation:ShapeStyle" xmi:id="_wsUI0cv-EeGZoP1H_25Cxw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
  69. <styles xsi:type="notation:FontStyle" xmi:id="_wsUI0sv-EeGZoP1H_25Cxw"/>
  70. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_wsUI08v-EeGZoP1H_25Cxw" x="239" y="79" width="76" height="93"/>
  71. </children>
  72. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJEvJMv-EeGZoP1H_25Cxw"/>
  73. </children>
  74. <styles xsi:type="notation:ShapeStyle" xmi:id="_lI6-JMv-EeGZoP1H_25Cxw" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
  75. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJEvJcv-EeGZoP1H_25Cxw" x="220" y="10" width="400" height="231"/>
  76. </children>
  77. <children xsi:type="notation:Shape" xmi:id="_lJN5Gcv-EeGZoP1H_25Cxw" type="StatechartText" fontName="Verdana" lineColor="4210752">
  78. <children xsi:type="notation:DecorationNode" xmi:id="_lJN5G8v-EeGZoP1H_25Cxw" type="StatechartName">
  79. <styles xsi:type="notation:ShapeStyle" xmi:id="_lJN5HMv-EeGZoP1H_25Cxw"/>
  80. <layoutConstraint xsi:type="notation:Location" xmi:id="_lJN5Hcv-EeGZoP1H_25Cxw"/>
  81. </children>
  82. <children xsi:type="notation:Shape" xmi:id="_lJN5Hsv-EeGZoP1H_25Cxw" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
  83. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJN5H8v-EeGZoP1H_25Cxw"/>
  84. </children>
  85. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lJN5IMv-EeGZoP1H_25Cxw" x="8" y="10" width="200" height="435"/>
  86. </children>
  87. <children xmi:id="_z616Ucv-EeGZoP1H_25Cxw" type="Region" element="_z616UMv-EeGZoP1H_25Cxw">
  88. <children xsi:type="notation:DecorationNode" xmi:id="_z616VMv-EeGZoP1H_25Cxw" type="RegionName">
  89. <styles xsi:type="notation:ShapeStyle" xmi:id="_z616Vcv-EeGZoP1H_25Cxw"/>
  90. <layoutConstraint xsi:type="notation:Location" xmi:id="_z616Vsv-EeGZoP1H_25Cxw"/>
  91. </children>
  92. <children xsi:type="notation:Shape" xmi:id="_z616V8v-EeGZoP1H_25Cxw" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
  93. <children xmi:id="_1WVn8Mv-EeGZoP1H_25Cxw" type="Entry" element="_1WMeAMv-EeGZoP1H_25Cxw">
  94. <children xmi:id="_1WVn88v-EeGZoP1H_25Cxw" type="BorderItemLabelContainer">
  95. <children xsi:type="notation:DecorationNode" xmi:id="_1WVn9sv-EeGZoP1H_25Cxw" type="BorderItemLabel">
  96. <styles xsi:type="notation:ShapeStyle" xmi:id="_1WVn98v-EeGZoP1H_25Cxw"/>
  97. <layoutConstraint xsi:type="notation:Location" xmi:id="_1WVn-Mv-EeGZoP1H_25Cxw"/>
  98. </children>
  99. <styles xsi:type="notation:ShapeStyle" xmi:id="_1WVn9Mv-EeGZoP1H_25Cxw" fontName="Verdana" lineColor="4210752"/>
  100. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_1WVn9cv-EeGZoP1H_25Cxw"/>
  101. </children>
  102. <styles xsi:type="notation:ShapeStyle" xmi:id="_1WVn8cv-EeGZoP1H_25Cxw" fontName="Verdana" lineColor="4210752"/>
  103. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_1WVn8sv-EeGZoP1H_25Cxw" x="43" y="28"/>
  104. </children>
  105. <children xmi:id="_18V4AMv-EeGZoP1H_25Cxw" type="State" element="_18MHAMv-EeGZoP1H_25Cxw">
  106. <children xsi:type="notation:DecorationNode" xmi:id="_18V4BMv-EeGZoP1H_25Cxw" type="StateName">
  107. <styles xsi:type="notation:ShapeStyle" xmi:id="_18V4Bcv-EeGZoP1H_25Cxw"/>
  108. <layoutConstraint xsi:type="notation:Location" xmi:id="_18V4Bsv-EeGZoP1H_25Cxw"/>
  109. </children>
  110. <children xsi:type="notation:Compartment" xmi:id="_18fB8Mv-EeGZoP1H_25Cxw" type="StateTextCompartment">
  111. <children xsi:type="notation:Shape" xmi:id="_18fB8cv-EeGZoP1H_25Cxw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
  112. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_18fB8sv-EeGZoP1H_25Cxw"/>
  113. </children>
  114. </children>
  115. <children xsi:type="notation:Compartment" xmi:id="_18fB88v-EeGZoP1H_25Cxw" type="StateFigureCompartment"/>
  116. <styles xsi:type="notation:ShapeStyle" xmi:id="_18V4Acv-EeGZoP1H_25Cxw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
  117. <styles xsi:type="notation:FontStyle" xmi:id="_18V4Asv-EeGZoP1H_25Cxw"/>
  118. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_18V4A8v-EeGZoP1H_25Cxw" x="85" y="17" width="86" height="73"/>
  119. </children>
  120. <children xmi:id="_5QYboMv-EeGZoP1H_25Cxw" type="State" element="_5QFgsMv-EeGZoP1H_25Cxw">
  121. <children xsi:type="notation:DecorationNode" xmi:id="_5QYbpMv-EeGZoP1H_25Cxw" type="StateName">
  122. <styles xsi:type="notation:ShapeStyle" xmi:id="_5QYbpcv-EeGZoP1H_25Cxw"/>
  123. <layoutConstraint xsi:type="notation:Location" xmi:id="_5QYbpsv-EeGZoP1H_25Cxw"/>
  124. </children>
  125. <children xsi:type="notation:Compartment" xmi:id="_5QYbp8v-EeGZoP1H_25Cxw" type="StateTextCompartment" collapsed="true">
  126. <children xsi:type="notation:Shape" xmi:id="_5QYbqMv-EeGZoP1H_25Cxw" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
  127. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_5QYbqcv-EeGZoP1H_25Cxw"/>
  128. </children>
  129. </children>
  130. <children xsi:type="notation:Compartment" xmi:id="_5QYbqsv-EeGZoP1H_25Cxw" type="StateFigureCompartment"/>
  131. <styles xsi:type="notation:ShapeStyle" xmi:id="_5QYbocv-EeGZoP1H_25Cxw" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
  132. <styles xsi:type="notation:FontStyle" xmi:id="_5QYbosv-EeGZoP1H_25Cxw"/>
  133. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_5QYbo8v-EeGZoP1H_25Cxw" x="260" y="25" width="71" height="75"/>
  134. </children>
  135. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_z616WMv-EeGZoP1H_25Cxw"/>
  136. </children>
  137. <styles xsi:type="notation:ShapeStyle" xmi:id="_z616Usv-EeGZoP1H_25Cxw" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
  138. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_z616U8v-EeGZoP1H_25Cxw" x="220" y="245" width="400" height="200"/>
  139. </children>
  140. <styles xsi:type="notation:DiagramStyle" xmi:id="_lI6-Icv-EeGZoP1H_25Cxw"/>
  141. <edges xmi:id="_lJN5Esv-EeGZoP1H_25Cxw" type="Transition" element="_lJN5Ecv-EeGZoP1H_25Cxw" source="_lJEvJ8v-EeGZoP1H_25Cxw" target="_lJEvM8v-EeGZoP1H_25Cxw">
  142. <children xsi:type="notation:DecorationNode" xmi:id="_lJN5Fsv-EeGZoP1H_25Cxw" type="TransitionExpression">
  143. <styles xsi:type="notation:ShapeStyle" xmi:id="_lJN5F8v-EeGZoP1H_25Cxw"/>
  144. <layoutConstraint xsi:type="notation:Location" xmi:id="_lJN5GMv-EeGZoP1H_25Cxw" y="10"/>
  145. </children>
  146. <styles xsi:type="notation:ConnectorStyle" xmi:id="_lJN5E8v-EeGZoP1H_25Cxw" lineColor="4210752"/>
  147. <styles xsi:type="notation:FontStyle" xmi:id="_lJN5Fcv-EeGZoP1H_25Cxw" fontName="Verdana"/>
  148. <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_lJN5FMv-EeGZoP1H_25Cxw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
  149. </edges>
  150. <edges xmi:id="_x8L1QMv-EeGZoP1H_25Cxw" type="Transition" element="_x8CrUMv-EeGZoP1H_25Cxw" source="_lJEvM8v-EeGZoP1H_25Cxw" target="_wsUI0Mv-EeGZoP1H_25Cxw">
  151. <children xsi:type="notation:DecorationNode" xmi:id="_x8L1RMv-EeGZoP1H_25Cxw" type="TransitionExpression">
  152. <styles xsi:type="notation:ShapeStyle" xmi:id="_x8L1Rcv-EeGZoP1H_25Cxw"/>
  153. <layoutConstraint xsi:type="notation:Location" xmi:id="_x8L1Rsv-EeGZoP1H_25Cxw" y="10"/>
  154. </children>
  155. <styles xsi:type="notation:ConnectorStyle" xmi:id="_x8L1Qcv-EeGZoP1H_25Cxw" lineColor="4210752"/>
  156. <styles xsi:type="notation:FontStyle" xmi:id="_x8L1Q8v-EeGZoP1H_25Cxw" fontName="Verdana"/>
  157. <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_x8L1Qsv-EeGZoP1H_25Cxw" points="[10, -1, -92, 1]$[103, -9, 1, -7]"/>
  158. <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_x8VmQMv-EeGZoP1H_25Cxw" id="(0.8214285714285714,0.375)"/>
  159. <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_x8VmQcv-EeGZoP1H_25Cxw" id="(0.013157894736842105,0.2)"/>
  160. </edges>
  161. <edges xmi:id="_3qA6wMv-EeGZoP1H_25Cxw" type="Transition" element="_3p3JwMv-EeGZoP1H_25Cxw" source="_1WVn8Mv-EeGZoP1H_25Cxw" target="_18V4AMv-EeGZoP1H_25Cxw">
  162. <children xsi:type="notation:DecorationNode" xmi:id="_3qA6xMv-EeGZoP1H_25Cxw" type="TransitionExpression">
  163. <styles xsi:type="notation:ShapeStyle" xmi:id="_3qA6xcv-EeGZoP1H_25Cxw"/>
  164. <layoutConstraint xsi:type="notation:Location" xmi:id="_3qA6xsv-EeGZoP1H_25Cxw" y="10"/>
  165. </children>
  166. <styles xsi:type="notation:ConnectorStyle" xmi:id="_3qA6wcv-EeGZoP1H_25Cxw" lineColor="4210752"/>
  167. <styles xsi:type="notation:FontStyle" xmi:id="_3qA6w8v-EeGZoP1H_25Cxw" fontName="Verdana"/>
  168. <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_3qA6wsv-EeGZoP1H_25Cxw" points="[7, 2, -32, -10]$[41, -1, 2, -13]"/>
  169. <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_3qKEsMv-EeGZoP1H_25Cxw" id="(0.23529411764705882,0.35714285714285715)"/>
  170. </edges>
  171. <edges xmi:id="_6nG-AMv-EeGZoP1H_25Cxw" type="Transition" element="_6m9NAMv-EeGZoP1H_25Cxw" source="_18V4AMv-EeGZoP1H_25Cxw" target="_5QYboMv-EeGZoP1H_25Cxw">
  172. <children xsi:type="notation:DecorationNode" xmi:id="_6nG-BMv-EeGZoP1H_25Cxw" type="TransitionExpression">
  173. <styles xsi:type="notation:ShapeStyle" xmi:id="_6nG-Bcv-EeGZoP1H_25Cxw"/>
  174. <layoutConstraint xsi:type="notation:Location" xmi:id="_6nG-Bsv-EeGZoP1H_25Cxw" y="10"/>
  175. </children>
  176. <styles xsi:type="notation:ConnectorStyle" xmi:id="_6nG-Acv-EeGZoP1H_25Cxw" lineColor="4210752"/>
  177. <styles xsi:type="notation:FontStyle" xmi:id="_6nG-A8v-EeGZoP1H_25Cxw" fontName="Verdana"/>
  178. <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_6nG-Asv-EeGZoP1H_25Cxw" points="[23, 2, -89, 2]$[113, -20, 1, -20]"/>
  179. <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_6nQH8Mv-EeGZoP1H_25Cxw" id="(0.05357142857142857,0.39285714285714285)"/>
  180. </edges>
  181. </notation:Diagram>
  182. </xmi:XMI>