GuardedEntry.sct 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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="_WsapkPf2EeGa_dr4uyV7Zg" specification="&#xA;&#xA;interface:&#xA;&#xA;&#x9;in event e&#xA;&#x9;var guard : boolean = false&#xA;&#x9;var done : boolean = false" name="GuardedEntry">
  4. <regions xmi:id="_WsbQoPf2EeGa_dr4uyV7Zg" name="main region">
  5. <vertices xsi:type="sgraph:Entry" xmi:id="_Wsb3s_f2EeGa_dr4uyV7Zg">
  6. <outgoingTransitions xmi:id="_Wsds6ff2EeGa_dr4uyV7Zg" target="_WsdF0vf2EeGa_dr4uyV7Zg"/>
  7. </vertices>
  8. <vertices xsi:type="sgraph:State" xmi:id="_WsdF0vf2EeGa_dr4uyV7Zg" specification="entry [guard] / &#xA;&#x9;done = true" name="A" incomingTransitions="_Wsds6ff2EeGa_dr4uyV7Zg _c3UsoPf2EeGa_dr4uyV7Zg">
  9. <outgoingTransitions xmi:id="_bueOMPf2EeGa_dr4uyV7Zg" specification="e" target="_awIWoPf2EeGa_dr4uyV7Zg"/>
  10. </vertices>
  11. <vertices xsi:type="sgraph:State" xmi:id="_awIWoPf2EeGa_dr4uyV7Zg" name="B" incomingTransitions="_bueOMPf2EeGa_dr4uyV7Zg">
  12. <outgoingTransitions xmi:id="_c3UsoPf2EeGa_dr4uyV7Zg" specification="e" target="_WsdF0vf2EeGa_dr4uyV7Zg"/>
  13. </vertices>
  14. </regions>
  15. </sgraph:Statechart>
  16. <notation:Diagram xmi:id="_Wsapkff2EeGa_dr4uyV7Zg" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_WsapkPf2EeGa_dr4uyV7Zg" measurementUnit="Pixel">
  17. <children xmi:id="_WsbQoff2EeGa_dr4uyV7Zg" type="Region" element="_WsbQoPf2EeGa_dr4uyV7Zg">
  18. <children xsi:type="notation:DecorationNode" xmi:id="_WsbQpPf2EeGa_dr4uyV7Zg" type="RegionName">
  19. <styles xsi:type="notation:ShapeStyle" xmi:id="_WsbQpff2EeGa_dr4uyV7Zg"/>
  20. <layoutConstraint xsi:type="notation:Location" xmi:id="_WsbQpvf2EeGa_dr4uyV7Zg"/>
  21. </children>
  22. <children xsi:type="notation:Shape" xmi:id="_Wsb3sPf2EeGa_dr4uyV7Zg" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
  23. <children xmi:id="_WscewPf2EeGa_dr4uyV7Zg" type="Entry" element="_Wsb3s_f2EeGa_dr4uyV7Zg">
  24. <children xmi:id="_Wscew_f2EeGa_dr4uyV7Zg" type="BorderItemLabelContainer">
  25. <children xsi:type="notation:DecorationNode" xmi:id="_Wscexvf2EeGa_dr4uyV7Zg" type="BorderItemLabel">
  26. <styles xsi:type="notation:ShapeStyle" xmi:id="_Wscex_f2EeGa_dr4uyV7Zg"/>
  27. <layoutConstraint xsi:type="notation:Location" xmi:id="_WsdF0Pf2EeGa_dr4uyV7Zg"/>
  28. </children>
  29. <styles xsi:type="notation:ShapeStyle" xmi:id="_WscexPf2EeGa_dr4uyV7Zg" fontName="Verdana" lineColor="4210752"/>
  30. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Wscexff2EeGa_dr4uyV7Zg"/>
  31. </children>
  32. <styles xsi:type="notation:ShapeStyle" xmi:id="_Wscewff2EeGa_dr4uyV7Zg" fontName="Verdana" lineColor="4210752"/>
  33. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_WsdF0ff2EeGa_dr4uyV7Zg" x="50" y="19"/>
  34. </children>
  35. <children xmi:id="_WsdF1Pf2EeGa_dr4uyV7Zg" type="State" element="_WsdF0vf2EeGa_dr4uyV7Zg">
  36. <children xsi:type="notation:DecorationNode" xmi:id="_Wsds4Pf2EeGa_dr4uyV7Zg" type="StateName">
  37. <styles xsi:type="notation:ShapeStyle" xmi:id="_Wsds4ff2EeGa_dr4uyV7Zg"/>
  38. <layoutConstraint xsi:type="notation:Location" xmi:id="_Wsds4vf2EeGa_dr4uyV7Zg"/>
  39. </children>
  40. <children xsi:type="notation:Compartment" xmi:id="_Wsds4_f2EeGa_dr4uyV7Zg" type="StateTextCompartment">
  41. <children xsi:type="notation:Shape" xmi:id="_Wsds5Pf2EeGa_dr4uyV7Zg" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
  42. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Wsds5ff2EeGa_dr4uyV7Zg"/>
  43. </children>
  44. </children>
  45. <children xsi:type="notation:Compartment" xmi:id="_Wsds5vf2EeGa_dr4uyV7Zg" type="StateFigureCompartment"/>
  46. <styles xsi:type="notation:ShapeStyle" xmi:id="_WsdF1ff2EeGa_dr4uyV7Zg" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
  47. <styles xsi:type="notation:FontStyle" xmi:id="_WsdF1vf2EeGa_dr4uyV7Zg"/>
  48. <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Wsds5_f2EeGa_dr4uyV7Zg"/>
  49. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Wsds6Pf2EeGa_dr4uyV7Zg" x="40" y="80" width="127"/>
  50. </children>
  51. <children xmi:id="_awOdQPf2EeGa_dr4uyV7Zg" type="State" element="_awIWoPf2EeGa_dr4uyV7Zg">
  52. <children xsi:type="notation:DecorationNode" xmi:id="_awOdRPf2EeGa_dr4uyV7Zg" type="StateName">
  53. <styles xsi:type="notation:ShapeStyle" xmi:id="_awOdRff2EeGa_dr4uyV7Zg"/>
  54. <layoutConstraint xsi:type="notation:Location" xmi:id="_awPEUPf2EeGa_dr4uyV7Zg"/>
  55. </children>
  56. <children xsi:type="notation:Compartment" xmi:id="_awPEUff2EeGa_dr4uyV7Zg" type="StateTextCompartment">
  57. <children xsi:type="notation:Shape" xmi:id="_awPEUvf2EeGa_dr4uyV7Zg" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
  58. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_awPEU_f2EeGa_dr4uyV7Zg"/>
  59. </children>
  60. </children>
  61. <children xsi:type="notation:Compartment" xmi:id="_awPEVPf2EeGa_dr4uyV7Zg" type="StateFigureCompartment"/>
  62. <styles xsi:type="notation:ShapeStyle" xmi:id="_awOdQff2EeGa_dr4uyV7Zg" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
  63. <styles xsi:type="notation:FontStyle" xmi:id="_awOdQvf2EeGa_dr4uyV7Zg"/>
  64. <styles xsi:type="notation:BooleanValueStyle" xmi:id="_awPEVff2EeGa_dr4uyV7Zg"/>
  65. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_awOdQ_f2EeGa_dr4uyV7Zg" x="265" y="87"/>
  66. </children>
  67. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Wsb3sff2EeGa_dr4uyV7Zg"/>
  68. </children>
  69. <styles xsi:type="notation:ShapeStyle" xmi:id="_WsbQovf2EeGa_dr4uyV7Zg" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
  70. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Wsb3svf2EeGa_dr4uyV7Zg" x="220" y="10" width="400" height="400"/>
  71. </children>
  72. <children xsi:type="notation:Shape" xmi:id="_WseT9_f2EeGa_dr4uyV7Zg" type="StatechartText" fontName="Verdana" lineColor="4210752">
  73. <children xsi:type="notation:DecorationNode" xmi:id="_Wse7APf2EeGa_dr4uyV7Zg" type="StatechartName">
  74. <styles xsi:type="notation:ShapeStyle" xmi:id="_Wse7Aff2EeGa_dr4uyV7Zg"/>
  75. <layoutConstraint xsi:type="notation:Location" xmi:id="_Wse7Avf2EeGa_dr4uyV7Zg"/>
  76. </children>
  77. <children xsi:type="notation:Shape" xmi:id="_Wse7A_f2EeGa_dr4uyV7Zg" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
  78. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Wse7BPf2EeGa_dr4uyV7Zg"/>
  79. </children>
  80. <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Wse7Bff2EeGa_dr4uyV7Zg" x="10" y="10" width="200" height="400"/>
  81. </children>
  82. <styles xsi:type="notation:DiagramStyle" xmi:id="_Wsapkvf2EeGa_dr4uyV7Zg"/>
  83. <edges xmi:id="_WseT8Pf2EeGa_dr4uyV7Zg" type="Transition" element="_Wsds6ff2EeGa_dr4uyV7Zg" source="_WscewPf2EeGa_dr4uyV7Zg" target="_WsdF1Pf2EeGa_dr4uyV7Zg">
  84. <children xsi:type="notation:DecorationNode" xmi:id="_WseT9Pf2EeGa_dr4uyV7Zg" type="TransitionExpression">
  85. <styles xsi:type="notation:ShapeStyle" xmi:id="_WseT9ff2EeGa_dr4uyV7Zg"/>
  86. <layoutConstraint xsi:type="notation:Location" xmi:id="_WseT9vf2EeGa_dr4uyV7Zg" y="10"/>
  87. </children>
  88. <styles xsi:type="notation:ConnectorStyle" xmi:id="_WseT8ff2EeGa_dr4uyV7Zg" lineColor="4210752"/>
  89. <styles xsi:type="notation:FontStyle" xmi:id="_WseT8_f2EeGa_dr4uyV7Zg" fontName="Verdana"/>
  90. <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_WseT8vf2EeGa_dr4uyV7Zg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
  91. </edges>
  92. <edges xmi:id="_bugqcPf2EeGa_dr4uyV7Zg" type="Transition" element="_bueOMPf2EeGa_dr4uyV7Zg" source="_WsdF1Pf2EeGa_dr4uyV7Zg" target="_awOdQPf2EeGa_dr4uyV7Zg">
  93. <children xsi:type="notation:DecorationNode" xmi:id="_buhRgff2EeGa_dr4uyV7Zg" type="TransitionExpression">
  94. <styles xsi:type="notation:ShapeStyle" xmi:id="_buhRgvf2EeGa_dr4uyV7Zg"/>
  95. <layoutConstraint xsi:type="notation:Location" xmi:id="_buhRg_f2EeGa_dr4uyV7Zg" x="-35" y="5"/>
  96. </children>
  97. <styles xsi:type="notation:ConnectorStyle" xmi:id="_bugqcff2EeGa_dr4uyV7Zg" lineColor="4210752"/>
  98. <styles xsi:type="notation:FontStyle" xmi:id="_buhRgPf2EeGa_dr4uyV7Zg" fontName="Verdana"/>
  99. <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_bugqcvf2EeGa_dr4uyV7Zg" points="[12, 4, -183, -9]$[192, -11, -3, -24]"/>
  100. <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_bukU0Pf2EeGa_dr4uyV7Zg" id="(0.675,0.24528301886792453)"/>
  101. <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_eI3NAPf2EeGa_dr4uyV7Zg" id="(0.0,0.2641509433962264)"/>
  102. </edges>
  103. <edges xmi:id="_c3Y-EPf2EeGa_dr4uyV7Zg" type="Transition" element="_c3UsoPf2EeGa_dr4uyV7Zg" source="_awOdQPf2EeGa_dr4uyV7Zg" target="_WsdF1Pf2EeGa_dr4uyV7Zg">
  104. <children xsi:type="notation:DecorationNode" xmi:id="_c3ZlIPf2EeGa_dr4uyV7Zg" type="TransitionExpression">
  105. <styles xsi:type="notation:ShapeStyle" xmi:id="_c3ZlIff2EeGa_dr4uyV7Zg"/>
  106. <layoutConstraint xsi:type="notation:Location" xmi:id="_c3ZlIvf2EeGa_dr4uyV7Zg" x="-38" y="-8"/>
  107. </children>
  108. <styles xsi:type="notation:ConnectorStyle" xmi:id="_c3Y-Eff2EeGa_dr4uyV7Zg" lineColor="4210752"/>
  109. <styles xsi:type="notation:FontStyle" xmi:id="_c3Y-E_f2EeGa_dr4uyV7Zg" fontName="Verdana"/>
  110. <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_c3Y-Evf2EeGa_dr4uyV7Zg" points="[-17, 1, 195, -12]$[-211, 24, 1, 11]"/>
  111. <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_dzFKQPf2EeGa_dr4uyV7Zg" id="(0.0,0.660377358490566)"/>
  112. <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_c3ivEPf2EeGa_dr4uyV7Zg" id="(0.175,0.7735849056603774)"/>
  113. </edges>
  114. </notation:Diagram>
  115. </xmi:XMI>