diff options
Diffstat (limited to 'extraplugins')
3 files changed, 227 insertions, 16 deletions
diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.di b/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.di index 5487592d61d..62c94133483 100644 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.di +++ b/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.di @@ -10,6 +10,12 @@ <availablePage> <emfPageIdentifier href="TestCDTintegration.notation#_EItkYEG6EeOMv8cdTsw5Zg"/> </availablePage> + <availablePage> + <emfPageIdentifier href="TestCDTintegration.notation#_6nABcFG7EeOLNIKOajeerQ"/> + </availablePage> + <availablePage> + <emfPageIdentifier href="TestCDTintegration.notation#_rGh10FG-EeOLNIKOajeerQ"/> + </availablePage> </pageList> <sashModel currentSelection="//@sashModel/@windows.0/@children.0/@children.1"> <windows> @@ -18,11 +24,17 @@ <children> <emfPageIdentifier href="TestCDTintegration.notation#_8vp88DcVEeO6UdbIk03c9Q"/> </children> + <children> + <emfPageIdentifier href="TestCDTintegration.notation#_6nABcFG7EeOLNIKOajeerQ"/> + </children> </children> <children xsi:type="di:TabFolder"> <children> <emfPageIdentifier href="TestCDTintegration.notation#_EItkYEG6EeOMv8cdTsw5Zg"/> </children> + <children> + <emfPageIdentifier href="TestCDTintegration.notation#_rGh10FG-EeOLNIKOajeerQ"/> + </children> </children> </children> </windows> diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.notation b/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.notation index 1843e346db6..7d501409db1 100644 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.notation +++ b/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.notation @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:texteditormodel="http://www.eclipse.org/Papyrus/TextEditor/0.10.0/texteditormodel" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML"> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:texteditormodel="http://www.eclipse.org/Papyrus/TextEditor/0.10.0/texteditormodel" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML"> <notation:Diagram xmi:id="_8vp88DcVEeO6UdbIk03c9Q" type="PapyrusUMLClassDiagram" name="NewDiagram" measurementUnit="Pixel"> <children xmi:type="notation:Shape" xmi:id="__McvgDcVEeO6UdbIk03c9Q" type="2008" fontName="Sans Serif" lineColor="0"> <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__Md9oDcVEeO6UdbIk03c9Q" source="ShadowFigure"> @@ -43,7 +43,7 @@ <layoutConstraint xmi:type="notation:Bounds" xmi:id="__MmggjcVEeO6UdbIk03c9Q"/> </children> <element xmi:type="uml:Class" href="TestCDTintegration.uml#_K8FLcB0LEeKlYLZOWTi6uw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="__McvgTcVEeO6UdbIk03c9Q" x="110" y="70" width="242" height="129"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="__McvgTcVEeO6UdbIk03c9Q" x="63" y="18" width="217" height="91"/> </children> <children xmi:type="notation:Shape" xmi:id="__kHooDcVEeO6UdbIk03c9Q" type="2007" fontName="Sans Serif" lineColor="0"> <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__kIPsDcVEeO6UdbIk03c9Q" source="ShadowFigure"> @@ -102,13 +102,184 @@ <layoutConstraint xmi:type="notation:Bounds" xmi:id="__kNIMjcVEeO6UdbIk03c9Q"/> </children> <element xmi:type="uml:Package" href="TestCDTintegration.uml#_-2_pQC-IEeObJ6ARx67E0g"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="__kHooTcVEeO6UdbIk03c9Q" x="118" y="265" width="261" height="141"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="__kHooTcVEeO6UdbIk03c9Q" x="63" y="265" width="261" height="141"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_pdcfgFG7EeOLNIKOajeerQ" type="2008" fontName="" lineColor="0"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_pddGkFG7EeOLNIKOajeerQ" source="ShadowFigure"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pddGkVG7EeOLNIKOajeerQ" key="ShadowFigure_Value" value="true"/> + </eAnnotations> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_pddtoFG7EeOLNIKOajeerQ" source="displayNameLabelIcon"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pddtoVG7EeOLNIKOajeerQ" key="displayNameLabelIcon_value" value="false"/> + </eAnnotations> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_pddtolG7EeOLNIKOajeerQ" source="QualifiedName"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_pddto1G7EeOLNIKOajeerQ" key="QualifiedNameDepth" value="1000"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_pddtpFG7EeOLNIKOajeerQ" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_pddtpVG7EeOLNIKOajeerQ" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_pddtplG7EeOLNIKOajeerQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_pddtp1G7EeOLNIKOajeerQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_pddtqFG7EeOLNIKOajeerQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_pddtqVG7EeOLNIKOajeerQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_pddtqlG7EeOLNIKOajeerQ" type="7018"> + <children xmi:type="notation:Shape" xmi:id="_gi1fgFG8EeOLNIKOajeerQ" type="3013" fontName="Sans Serif" lineColor="0"> + <element xmi:type="uml:Operation" href="TestCDTintegration.uml#_gixOEFG8EeOLNIKOajeerQ"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_gi1fgVG8EeOLNIKOajeerQ"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_pddtq1G7EeOLNIKOajeerQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_pddtrFG7EeOLNIKOajeerQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_pddtrVG7EeOLNIKOajeerQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_pddtrlG7EeOLNIKOajeerQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_pddtr1G7EeOLNIKOajeerQ" visible="false" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_pddtsFG7EeOLNIKOajeerQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_pddtsVG7EeOLNIKOajeerQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_pddtslG7EeOLNIKOajeerQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_pddts1G7EeOLNIKOajeerQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_pdm3kFG7EeOLNIKOajeerQ" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_pdm3kVG7EeOLNIKOajeerQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_pdm3klG7EeOLNIKOajeerQ"/> + </children> + <element xmi:type="uml:Class" href="TestCDTintegration.uml#_419y0A7hEeKpbseGaEy1LA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_pdcfgVG7EeOLNIKOajeerQ" x="63" y="128" width="217" height="98"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_EcHscFG8EeOLNIKOajeerQ" type="2012" fontName="Sans Serif" lineColor="0"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EcHsclG8EeOLNIKOajeerQ" source="ShadowFigure"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EcHsc1G8EeOLNIKOajeerQ" key="ShadowFigure_Value" value="false"/> + </eAnnotations> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EcHsdFG8EeOLNIKOajeerQ" source="displayNameLabelIcon"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EcHsdVG8EeOLNIKOajeerQ" key="displayNameLabelIcon_value" value="false"/> + </eAnnotations> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EcITgFG8EeOLNIKOajeerQ" source="QualifiedName"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EcITgVG8EeOLNIKOajeerQ" key="QualifiedNameDepth" value="1000"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_EcITglG8EeOLNIKOajeerQ" type="5038"/> + <element xmi:type="uml:Comment" href="TestCDTintegration.uml#_EbtcwFG8EeOLNIKOajeerQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EcHscVG8EeOLNIKOajeerQ" x="308" y="110" width="98"/> </children> <styles xmi:type="notation:DiagramStyle" xmi:id="_8vp88TcVEeO6UdbIk03c9Q"/> <element xmi:type="uml:Model" href="TestCDTintegration.uml#_Ae6MwPccEd-KM6l7lmIPkw"/> + <edges xmi:type="notation:Connector" xmi:id="_Jia34FG8EeOLNIKOajeerQ" type="4013" source="_EcHscFG8EeOLNIKOajeerQ" target="_pdcfgFG7EeOLNIKOajeerQ" lineColor="0"> + <styles xmi:type="notation:FontStyle" xmi:id="_Jia34VG8EeOLNIKOajeerQ" fontName="Sans Serif"/> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Jia34lG8EeOLNIKOajeerQ" points="[-17, 9, 64, 0]$[-45, -1, 36, -10]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_JifJUFG8EeOLNIKOajeerQ" id="(0.17346938775510204,0.6333333333333333)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_JifJUVG8EeOLNIKOajeerQ" id="(0.8341013824884793,0.29591836734693877)"/> + </edges> </notation:Diagram> <texteditormodel:TextEditorModel xmi:id="_EItkYEG6EeOMv8cdTsw5Zg" type="CDTEditorInPapyrus" name="CDT Class3"> <editedObject xmi:type="uml:Class" href="TestCDTintegration.uml#_K8FLcB0LEeKlYLZOWTi6uw"/> <selectedObject xmi:type="uml:Class" href="TestCDTintegration.uml#_K8FLcB0LEeKlYLZOWTi6uw"/> </texteditormodel:TextEditorModel> + <notation:Diagram xmi:id="_6nABcFG7EeOLNIKOajeerQ" type="PapyrusUMLStateMachineDiagram" name="SmDiagram" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_6nABcVG7EeOLNIKOajeerQ" type="2000" fontName="Sans Serif" lineColor="0"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6nABclG7EeOLNIKOajeerQ" source="ShadowFigure"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6nABc1G7EeOLNIKOajeerQ" key="ShadowFigure_Value" value="false"/> + </eAnnotations> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6nABdFG7EeOLNIKOajeerQ" source="displayNameLabelIcon"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6nABdVG7EeOLNIKOajeerQ" key="displayNameLabelIcon_value" value="false"/> + </eAnnotations> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6nABdlG7EeOLNIKOajeerQ" source="QualifiedName"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6nABd1G7EeOLNIKOajeerQ" key="QualifiedNameDepth" value="1000"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_6nABeFG7EeOLNIKOajeerQ" type="2001"> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6nABeVG7EeOLNIKOajeerQ" width="385" height="19"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_6nABelG7EeOLNIKOajeerQ" type="2002"> + <children xmi:type="notation:Shape" xmi:id="_6nABe1G7EeOLNIKOajeerQ" type="3000" fontName="Sans Serif" lineColor="0"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6nABfFG7EeOLNIKOajeerQ" source="ShadowFigure"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6nABfVG7EeOLNIKOajeerQ" key="ShadowFigure_Value" value="false"/> + </eAnnotations> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6nABflG7EeOLNIKOajeerQ" source="displayNameLabelIcon"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6nABf1G7EeOLNIKOajeerQ" key="displayNameLabelIcon_value" value="false"/> + </eAnnotations> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6nABgFG7EeOLNIKOajeerQ" source="QualifiedName"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6nABgVG7EeOLNIKOajeerQ" key="QualifiedNameDepth" value="1000"/> + </eAnnotations> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6nABglG7EeOLNIKOajeerQ" source="RegionAnnotationKey"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6nABg1G7EeOLNIKOajeerQ" key="RegionZoneKey" value=""/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_6nABhFG7EeOLNIKOajeerQ" type="3002"> + <children xmi:type="notation:Shape" xmi:id="_TY3YkFG8EeOLNIKOajeerQ" type="6000" fontName="Sans Serif" lineColor="0"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_TY3YklG8EeOLNIKOajeerQ" source="ShadowFigure"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_TY3Yk1G8EeOLNIKOajeerQ" key="ShadowFigure_Value" value="false"/> + </eAnnotations> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_TY3_oFG8EeOLNIKOajeerQ" source="displayNameLabelIcon"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_TY3_oVG8EeOLNIKOajeerQ" key="displayNameLabelIcon_value" value="false"/> + </eAnnotations> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_TY3_olG8EeOLNIKOajeerQ" source="QualifiedName"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_TY3_o1G8EeOLNIKOajeerQ" key="QualifiedNameDepth" value="1000"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_TY3_pFG8EeOLNIKOajeerQ" type="6001"> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_T-JP4FG8EeOLNIKOajeerQ" width="87"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_TY3_pVG8EeOLNIKOajeerQ" visible="false" type="6002"> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_TY3_plG8EeOLNIKOajeerQ" y="-1" width="87"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_TY8REFG8EeOLNIKOajeerQ" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_TY8REVG8EeOLNIKOajeerQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_TY8RElG8EeOLNIKOajeerQ"/> + </children> + <element xmi:type="uml:State" href="TestCDTintegration.uml#_TYx5AFG8EeOLNIKOajeerQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_TY3YkVG8EeOLNIKOajeerQ" x="186" y="23" width="87" height="46"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_UcYrEFG8EeOLNIKOajeerQ" type="8000" fontName="Sans Serif" lineColor="0"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_UcZSIFG8EeOLNIKOajeerQ" source="ShadowFigure"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_UcZ5MFG8EeOLNIKOajeerQ" key="ShadowFigure_Value" value="false"/> + </eAnnotations> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_UcZ5MVG8EeOLNIKOajeerQ" source="displayNameLabelIcon"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_UcZ5MlG8EeOLNIKOajeerQ" key="displayNameLabelIcon_value" value="false"/> + </eAnnotations> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_UcZ5M1G8EeOLNIKOajeerQ" source="QualifiedName"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_UcZ5NFG8EeOLNIKOajeerQ" key="QualifiedNameDepth" value="1000"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_UcZ5NVG8EeOLNIKOajeerQ" type="8001"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_UcZ5NlG8EeOLNIKOajeerQ" x="23" y="-8"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_UcagQFG8EeOLNIKOajeerQ" type="8002"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_UcagQVG8EeOLNIKOajeerQ" x="25" y="-10"/> + </children> + <element xmi:type="uml:Pseudostate" href="TestCDTintegration.uml#_UcSkcFG8EeOLNIKOajeerQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UcYrEVG8EeOLNIKOajeerQ" x="28" y="23"/> + </children> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6nABhVG7EeOLNIKOajeerQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6rPBMFG7EeOLNIKOajeerQ" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_6rPBMVG7EeOLNIKOajeerQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6rPBMlG7EeOLNIKOajeerQ"/> + </children> + <element xmi:type="uml:Region" href="TestCDTintegration.uml#_6m9lMFG7EeOLNIKOajeerQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6nABhlG7EeOLNIKOajeerQ" width="385" height="174"/> + </children> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6nABh1G7EeOLNIKOajeerQ" y="19" width="385" height="174"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6rNzEFG7EeOLNIKOajeerQ" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_6rNzEVG7EeOLNIKOajeerQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6rNzElG7EeOLNIKOajeerQ"/> + </children> + <element xmi:type="uml:StateMachine" href="TestCDTintegration.uml#_2lDO8FG7EeOLNIKOajeerQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6nABiFG7EeOLNIKOajeerQ" x="30" y="30" width="385" height="193"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_6nABiVG7EeOLNIKOajeerQ"/> + <element xmi:type="uml:StateMachine" href="TestCDTintegration.uml#_2lDO8FG7EeOLNIKOajeerQ"/> + <edges xmi:type="notation:Connector" xmi:id="_Z3ELEFG8EeOLNIKOajeerQ" type="7000" source="_UcYrEFG8EeOLNIKOajeerQ" target="_TY3YkFG8EeOLNIKOajeerQ" lineColor="0"> + <children xmi:type="notation:DecorationNode" xmi:id="_Z3EyIFG8EeOLNIKOajeerQ" visible="false" type="7001"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Z3EyIVG8EeOLNIKOajeerQ" x="-20" y="19"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_Z3EyIlG8EeOLNIKOajeerQ" type="7002"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Z3EyI1G8EeOLNIKOajeerQ" x="10" y="39"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_Z3EyJFG8EeOLNIKOajeerQ" type="7003"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Z3EyJVG8EeOLNIKOajeerQ" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_Z3ELEVG8EeOLNIKOajeerQ" fontName="Sans Serif"/> + <element xmi:type="uml:Transition" href="TestCDTintegration.uml#_Z2_5oFG8EeOLNIKOajeerQ"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Z3ELElG8EeOLNIKOajeerQ" points="[10, 1, -113, -31]$[124, 9, 1, -23]"/> + </edges> + </notation:Diagram> + <texteditormodel:TextEditorModel xmi:id="_rGh10FG-EeOLNIKOajeerQ" type="CDTEditorInPapyrus" name="CDT Class2"> + <editedObject xmi:type="uml:Class" href="TestCDTintegration.uml#_419y0A7hEeKpbseGaEy1LA"/> + <selectedObject xmi:type="uml:Transition" href="TestCDTintegration.uml#_Z2_5oFG8EeOLNIKOajeerQ"/> + </texteditormodel:TextEditorModel> </xmi:XMI> diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.uml b/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.uml index c93b1c60c02..e8f24619500 100644 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.uml +++ b/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.uml @@ -1,12 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:C_Cpp="http://www.eclipse.org/papyrus/C_Cpp/1" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML"> <uml:Model xmi:id="_Ae6MwPccEd-KM6l7lmIPkw" name="TestCDTintegration"> + <ownedComment xmi:type="uml:Comment" xmi:id="_EbtcwFG8EeOLNIKOajeerQ" annotatedElement="_419y0A7hEeKpbseGaEy1LA"> + <body>This class contains a state machine</body> + </ownedComment> <packageImport xmi:type="uml:PackageImport" xmi:id="_GQ1SgP6SEeKlg5tzGV3QVQ"> <importedPackage xmi:type="uml:Model" href="pathmap://PapyrusC_Cpp_LIBRARIES/AnsiCLibrary.uml#_DV8nkBv8EduZN5aJJITI5w"/> </packageImport> <packagedElement xmi:type="uml:Package" xmi:id="_wCdtcH_1EeGMcIDCiaPhww" name="implementation"> <ownedComment xmi:type="uml:Comment" xmi:id="_13ZsYBhXEeKGC8dT0Hrc_A"/> - <packagedElement xmi:type="uml:Class" xmi:id="_KOvvIPccEd-KM6l7lmIPkw" clientDependency="_Edy9EBvREeKM2oNGoGF4uQ" name="Class0"> + <packagedElement xmi:type="uml:Class" xmi:id="_KOvvIPccEd-KM6l7lmIPkw" name="Class0"> <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_U_ezUMzYEeGcRfFFcVPhOg" name="operation1" specification="_mbXNMH8tEeGWNf8qHJJtnw"> <ownedParameter xmi:type="uml:Parameter" xmi:id="_42nn4BoKEeKjbYasGOLMuA" name="Parameter1"> <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusC_Cpp_LIBRARIES/AnsiCLibrary.uml#_7wRIABydEduyofBvg4RL2w"/> @@ -43,13 +46,38 @@ <ownedOperation xmi:type="uml:Operation" xmi:id="_q1fIIBRnEeK2iINwXBL4pA" name="operation3" method="_vZAVMBnOEeK5EK5DdRYilA"/> <ownedOperation xmi:type="uml:Operation" xmi:id="_BVivAB0LEeKlYLZOWTi6uw" name="Operation1"/> </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_Edy9EBvREeKM2oNGoGF4uQ" name="Allocate1" client="_KOvvIPccEd-KM6l7lmIPkw" supplier="_mp8XAA7QEeKcN-88BXIIKg"/> </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_mp8XAA7QEeKcN-88BXIIKg" name="Class1"/> - <packagedElement xmi:type="uml:Class" xmi:id="_419y0A7hEeKpbseGaEy1LA" name="Class2"/> - <packagedElement xmi:type="uml:Class" xmi:id="_K8FLcB0LEeKlYLZOWTi6uw" name="Class3"> + <packagedElement xmi:type="uml:Class" xmi:id="_419y0A7hEeKpbseGaEy1LA" name="Class2"> + <ownedBehavior xmi:type="uml:StateMachine" xmi:id="_2lDO8FG7EeOLNIKOajeerQ" name="StateMachine"> + <region xmi:type="uml:Region" xmi:id="_6m9lMFG7EeOLNIKOajeerQ" name="Region1"> + <transition xmi:type="uml:Transition" xmi:id="_Z2_5oFG8EeOLNIKOajeerQ" name="Transition0" source="_UcSkcFG8EeOLNIKOajeerQ" target="_TYx5AFG8EeOLNIKOajeerQ"> + <effect xmi:type="uml:OpaqueBehavior" xmi:id="_OVqvAFG9EeOLNIKOajeerQ" name="effectBehavior" isAbstract="true"> + <language>C/C++</language> + <body>// this effect is a C++ +// opaque behavior with several lines</body> + </effect> + <trigger xmi:type="uml:Trigger" xmi:id="__ExX0FG8EeOLNIKOajeerQ" name="Trigger"/> + </transition> + <subvertex xmi:type="uml:State" xmi:id="_TYx5AFG8EeOLNIKOajeerQ" name="State0"/> + <subvertex xmi:type="uml:Pseudostate" xmi:id="_UcSkcFG8EeOLNIKOajeerQ" name="Initial0"/> + </region> + </ownedBehavior> + <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_xe7iUFG-EeOLNIKOajeerQ" name="triggerOp" isReentrant="false" specification="_gixOEFG8EeOLNIKOajeerQ"> + <language>C/C++</language> + <body>// Aber hier geht's, oder? +</body> + </ownedBehavior> + <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_xe8JYVG-EeOLNIKOajeerQ" name="effectBehavior" isReentrant="false" specification="_xe8JYFG-EeOLNIKOajeerQ"> + <language>C/C++</language> + <body>// this effect is a C++ np +// opaque behavior with several lines</body> + </ownedBehavior> + <ownedOperation xmi:type="uml:Operation" xmi:id="_gixOEFG8EeOLNIKOajeerQ" name="triggerOp" method="_xe7iUFG-EeOLNIKOajeerQ"/> + <ownedOperation xmi:type="uml:Operation" xmi:id="_xe8JYFG-EeOLNIKOajeerQ" name="effectBehavior" method="_xe8JYVG-EeOLNIKOajeerQ"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_K8FLcB0LEeKlYLZOWTi6uw" name="Class1"> <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_kTVuwP6QEeKlg5tzGV3QVQ" name="Operation1" isReentrant="false" specification="_TY18YB0LEeKlYLZOWTi6uw"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="_SoTM0ExiEeOmZKwrWJYDKQ" name="arg"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="_8cPkcVG-EeOLNIKOajeerQ" name="arg"> <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusC_Cpp_LIBRARIES/AnsiCLibrary.uml#_7wRIABydEduyofBvg4RL2w"/> </ownedParameter> <language>C/C++</language> @@ -57,7 +85,7 @@ cout << "value: " << arg;</body> </ownedBehavior> <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_pX7DgDcmEeO6UdbIk03c9Q" name="Operation2" isReentrant="false" specification="_jnWMADcmEeO6UdbIk03c9Q"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="_SoUa8UxiEeOmZKwrWJYDKQ" name="args"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="_8cRZoVG-EeOLNIKOajeerQ" name="args"> <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusC_Cpp_LIBRARIES/AnsiCLibrary.uml#_5lVhgBydEduyofBvg4RL2w"/> </ownedParameter> <language>C/C++</language> @@ -68,15 +96,15 @@ args[0] = 2;</body> <ownedComment xmi:type="uml:Comment" xmi:id="_II4ccP6WEeKlg5tzGV3QVQ" annotatedElement="_II4ccP6WEeKlg5tzGV3QVQ"> <body></body> </ownedComment> - <ownedParameter xmi:type="uml:Parameter" xmi:id="_SoSlwExiEeOmZKwrWJYDKQ" name="arg"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="_8cPkcFG-EeOLNIKOajeerQ" name="arg"> <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusC_Cpp_LIBRARIES/AnsiCLibrary.uml#_7wRIABydEduyofBvg4RL2w"/> </ownedParameter> </ownedOperation> <ownedOperation xmi:type="uml:Operation" xmi:id="_jnWMADcmEeO6UdbIk03c9Q" name="Operation2" method="_pX7DgDcmEeO6UdbIk03c9Q"> <ownedComment xmi:type="uml:Comment" xmi:id="_rH4lQDcmEeO6UdbIk03c9Q" annotatedElement="_rH4lQDcmEeO6UdbIk03c9Q"> - <body>This is a test comment for operation 2</body> + <body></body> </ownedComment> - <ownedParameter xmi:type="uml:Parameter" xmi:id="_SoUa8ExiEeOmZKwrWJYDKQ" name="args"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="_8cRZoFG-EeOLNIKOajeerQ" name="args"> <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusC_Cpp_LIBRARIES/AnsiCLibrary.uml#_5lVhgBydEduyofBvg4RL2w"/> </ownedParameter> </ownedOperation> @@ -116,7 +144,7 @@ args[0] = 2;</body> </profileApplication> </uml:Model> <C_Cpp:Typedef xmi:id="_D6FjUDcWEeO6UdbIk03c9Q" definition="int" base_primitivetype="_DHJ24C-JEeObJ6ARx67E0g"/> - <C_Cpp:Const xmi:id="_SoYFUExiEeOmZKwrWJYDKQ" base_parameter="_SoUa8ExiEeOmZKwrWJYDKQ"/> - <C_Cpp:Ptr xmi:id="_SobvsExiEeOmZKwrWJYDKQ" base_parameter="_SoUa8ExiEeOmZKwrWJYDKQ"/> - <C_Cpp:Array xmi:id="_SofaEExiEeOmZKwrWJYDKQ" base_parameter="_SoUa8ExiEeOmZKwrWJYDKQ" definition="[5]"/> + <C_Cpp:Const xmi:id="_8cVEAFG-EeOLNIKOajeerQ" base_parameter="_8cRZoFG-EeOLNIKOajeerQ"/> + <C_Cpp:Ptr xmi:id="_8cYuYFG-EeOLNIKOajeerQ" base_parameter="_8cRZoFG-EeOLNIKOajeerQ"/> + <C_Cpp:Array xmi:id="_8cbxsFG-EeOLNIKOajeerQ" base_parameter="_8cRZoFG-EeOLNIKOajeerQ" definition="[5]"/> </xmi:XMI> |