diff options
author | Ansgar Radermacher | 2014-01-08 15:17:17 +0000 |
---|---|---|
committer | Ansgar Radermacher | 2014-01-08 16:28:06 +0000 |
commit | f8e459bf9421b6369397de214f60c905a4cfeb67 (patch) | |
tree | e34afc3a019811747b1ef8e0895c1bb5edfcd3d4 /extraplugins | |
parent | c7b4019697952b5ca26f1c33a3f3ce419ed6a3d3 (diff) | |
download | org.eclipse.papyrus-f8e459bf9421b6369397de214f60c905a4cfeb67.tar.gz org.eclipse.papyrus-f8e459bf9421b6369397de214f60c905a4cfeb67.tar.xz org.eclipse.papyrus-f8e459bf9421b6369397de214f60c905a4cfeb67.zip |
- Bug 424759: [QDesginer] Need for more options when binding templates
Diffstat (limited to 'extraplugins')
31 files changed, 1120 insertions, 1907 deletions
diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/model/FCM.ecore b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/model/FCM.ecore index 3c0879c3851..c432bc318ce 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/model/FCM.ecore +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/model/FCM.ecore @@ -5,33 +5,17 @@ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <details key="documentation" value="The template parameters list defines the parameters that are passed to the Acceleo template. If empty, the formal parameter list of the package template is used."/> </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="templateParams" ordered="false" - unique="false" upperBound="-1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier"/> <eStructuralFeatures xsi:type="ecore:EReference" name="base_Element" ordered="false" unique="false" lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Element"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" ordered="false" unique="false" - lowerBound="1" eType="#//TemplateKind"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="actualChoice" ordered="false" - unique="false" eType="#//ActualChoice"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EEnum" name="TemplateKind"> - <eLiterals name="PassFormal"/> - <eLiterals name="LoopOperations" value="1"/> - <eLiterals name="LoopProperty" value="2"/> - <eLiterals name="Accumulate" value="3"/> - <eLiterals name="LoopLiterals" value="4"/> - <eLiterals name="LateEvaluation" value="5"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="LateEvaluation is more a tempalte binding rather than a template definition. In"/> - </eAnnotations> - </eLiterals> - <eLiterals name="LoopPorts" value="6"/> - <eLiterals name="PassClassifier" value="7"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EEnum" name="ActualChoice"> - <eLiterals name="PassActual"/> - <eLiterals name="InterfaceOfPPort" value="1"/> - <eLiterals name="InterfaceOfRport" value="2"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="helper" ordered="false" + eType="#//BindingHelper"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="BindingHelper"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="A binding helper is responsible for creating sub-elements. For instance, if the formal parameter of a template is an interface, it might be required to instantiate an operation for each operation of the interface."/> + </eAnnotations> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Class" ordered="false" + lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Class"/> </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="ConfigurationProperty"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> @@ -132,6 +116,8 @@ <eClassifiers xsi:type="ecore:EClass" name="InstanceConfigurator"> <eStructuralFeatures xsi:type="ecore:EReference" name="base_Class" ordered="false" lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Class"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="onNodeModel" ordered="false" + eType="ecore:EDataType platform:/plugin/org.eclipse.uml2.types/model/Types.ecore#//Boolean"/> </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="RuleApplication"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> @@ -306,10 +292,4 @@ <eStructuralFeatures xsi:type="ecore:EReference" name="connector" ordered="false" lowerBound="1" eType="#//Connector"/> </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ExtendedSignature"> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_TemplateSignature" - ordered="false" lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//TemplateSignature"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="baseSignature" ordered="false" - lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//TemplateSignature"/> - </eClassifiers> </ecore:EPackage> diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/model/FCM.genmodel b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/model/FCM.genmodel index 4641df976dc..46a1cbba5ab 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/model/FCM.genmodel +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/model/FCM.genmodel @@ -7,21 +7,6 @@ <foreignModel>FCM.ecore</foreignModel> <genPackages prefix="FCM" basePackage="org.eclipse.papyrus" resource="XML" disposableProviderFactory="true" ecorePackage="FCM.ecore#/"> - <genEnums typeSafeEnumCompatible="false" ecoreEnum="FCM.ecore#//TemplateKind"> - <genEnumLiterals ecoreEnumLiteral="FCM.ecore#//TemplateKind/PassFormal"/> - <genEnumLiterals ecoreEnumLiteral="FCM.ecore#//TemplateKind/LoopOperations"/> - <genEnumLiterals ecoreEnumLiteral="FCM.ecore#//TemplateKind/LoopProperty"/> - <genEnumLiterals ecoreEnumLiteral="FCM.ecore#//TemplateKind/Accumulate"/> - <genEnumLiterals ecoreEnumLiteral="FCM.ecore#//TemplateKind/LoopLiterals"/> - <genEnumLiterals ecoreEnumLiteral="FCM.ecore#//TemplateKind/LateEvaluation"/> - <genEnumLiterals ecoreEnumLiteral="FCM.ecore#//TemplateKind/LoopPorts"/> - <genEnumLiterals ecoreEnumLiteral="FCM.ecore#//TemplateKind/PassClassifier"/> - </genEnums> - <genEnums typeSafeEnumCompatible="false" ecoreEnum="FCM.ecore#//ActualChoice"> - <genEnumLiterals ecoreEnumLiteral="FCM.ecore#//ActualChoice/PassActual"/> - <genEnumLiterals ecoreEnumLiteral="FCM.ecore#//ActualChoice/InterfaceOfPPort"/> - <genEnumLiterals ecoreEnumLiteral="FCM.ecore#//ActualChoice/InterfaceOfRport"/> - </genEnums> <genEnums typeSafeEnumCompatible="false" ecoreEnum="FCM.ecore#//ContainerRuleKind"> <genEnumLiterals ecoreEnumLiteral="FCM.ecore#//ContainerRuleKind/ComponentRule"/> <genEnumLiterals ecoreEnumLiteral="FCM.ecore#//ContainerRuleKind/LightWeightOORule"/> @@ -33,10 +18,11 @@ <genEnumLiterals ecoreEnumLiteral="FCM.ecore#//InterceptionKind/InterceptAllIn"/> </genEnums> <genClasses ecoreClass="FCM.ecore#//Template"> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference FCM.ecore#//Template/templateParams"/> <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference FCM.ecore#//Template/base_Element"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute FCM.ecore#//Template/kind"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute FCM.ecore#//Template/actualChoice"/> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference FCM.ecore#//Template/helper"/> + </genClasses> + <genClasses ecoreClass="FCM.ecore#//BindingHelper"> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference FCM.ecore#//BindingHelper/base_Class"/> </genClasses> <genClasses ecoreClass="FCM.ecore#//ConfigurationProperty"> <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference FCM.ecore#//ConfigurationProperty/base_Property"/> @@ -83,6 +69,7 @@ </genClasses> <genClasses ecoreClass="FCM.ecore#//InstanceConfigurator"> <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference FCM.ecore#//InstanceConfigurator/base_Class"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute FCM.ecore#//InstanceConfigurator/onNodeModel"/> </genClasses> <genClasses ecoreClass="FCM.ecore#//RuleApplication"> <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference FCM.ecore#//RuleApplication/base_Class"/> @@ -181,9 +168,5 @@ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference FCM.ecore#//ConnectorConfiguration/base_Slot"/> <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference FCM.ecore#//ConnectorConfiguration/connector"/> </genClasses> - <genClasses ecoreClass="FCM.ecore#//ExtendedSignature"> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference FCM.ecore#//ExtendedSignature/base_TemplateSignature"/> - <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference FCM.ecore#//ExtendedSignature/baseSignature"/> - </genClasses> </genPackages> </genmodel:GenModel> diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/model/FCM.profile.notation b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/model/FCM.profile.notation index 2b6b95700a7..c95b92fa8b2 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/model/FCM.profile.notation +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/model/FCM.profile.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: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: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:l2="http://www.eclipse.org/uml2/4.0.0/UML/Profile/L2" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML"> <notation:Diagram xmi:id="_Va74cGE3Ed-1rN74nkR_XQ" type="PapyrusUMLProfileDiagram" name="Components" measurementUnit="Pixel"> <children xmi:type="notation:Shape" xmi:id="_iXBUYGE3Ed-1rN74nkR_XQ" type="1026" fontName="Sans Serif" fontHeight="10" lineColor="0"> <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8yLrAE2lEeG8L5eAOYvthg" source="QualifiedName"> @@ -23,6 +23,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_iXGz9mE3Ed-1rN74nkR_XQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iXGz92E3Ed-1rN74nkR_XQ"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4GZmgHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4GZmgXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4GZmgnI0EeOZxcUd14vDog"/> + </children> <styles xmi:type="notation:HintedDiagramLinkStyle" xmi:id="_iXB7cGE3Ed-1rN74nkR_XQ"/> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_te7YAMtkEd2H_o0jIC6qDQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iXB7cWE3Ed-1rN74nkR_XQ" x="576" y="153" width="226" height="73"/> @@ -42,6 +46,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_jAr8d2E3Ed-1rN74nkR_XQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jAr8eGE3Ed-1rN74nkR_XQ"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4GgUMHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4GgUMXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4GgUMnI0EeOZxcUd14vDog"/> + </children> <styles xmi:type="notation:HintedDiagramLinkStyle" xmi:id="_jArVYWE3Ed-1rN74nkR_XQ"/> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_zjaC8MtkEd2H_o0jIC6qDQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jArVYmE3Ed-1rN74nkR_XQ" x="9" y="153" width="181" height="73"/> @@ -66,12 +74,25 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_nvEXJ2E3Ed-1rN74nkR_XQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nvEXKGE3Ed-1rN74nkR_XQ"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4GiJYHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4GiJYXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4GiJYnI0EeOZxcUd14vDog"/> + </children> <styles xmi:type="notation:HintedDiagramLinkStyle" xmi:id="_nvDwEWE3Ed-1rN74nkR_XQ"/> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_Z1W68MtlEd2H_o0jIC6qDQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nvDwEmE3Ed-1rN74nkR_XQ" x="9" y="459" width="208" height="85"/> </children> <children xmi:type="notation:Shape" xmi:id="_kOCSoG1nEd-XwOGM-uryhg" type="1031" fontName="Sans Serif" fontHeight="10" lineColor="0"> <children xmi:type="notation:DecorationNode" xmi:id="_kOC5sW1nEd-XwOGM-uryhg" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_4GlMsHI0EeOZxcUd14vDog" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4GlMsXI0EeOZxcUd14vDog" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_Sh6H8KtKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4GlMsnI0EeOZxcUd14vDog"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4GlMs3I0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4GlMtHI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4GlMtXI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kOC5sG1nEd-XwOGM-uryhg" x="9" y="378" width="415"/> </children> @@ -100,6 +121,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_6kgsfZD1Ed-I9dVdNhZAGQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6kgsfpD1Ed-I9dVdNhZAGQ"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4Gno8HI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4Gno8XI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4Gno8nI0EeOZxcUd14vDog"/> + </children> <styles xmi:type="notation:HintedDiagramLinkStyle" xmi:id="_6kgFYZD1Ed-I9dVdNhZAGQ"/> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_JWD9UMttEd2H_o0jIC6qDQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6kgFYpD1Ed-I9dVdNhZAGQ" x="489" y="459" width="205" height="82"/> @@ -115,6 +140,15 @@ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6lF7R5D1Ed-I9dVdNhZAGQ" key="QualifiedNameDepth" value="1000"/> </eAnnotations> <children xmi:type="notation:DecorationNode" xmi:id="_6lF7SJD1Ed-I9dVdNhZAGQ" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_4GqFMHI0EeOZxcUd14vDog" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4GqFMXI0EeOZxcUd14vDog" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_Sizf0KtKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4GqFMnI0EeOZxcUd14vDog"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4GqsQHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4GqsQXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4GqsQnI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Connector"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6lF7QZD1Ed-I9dVdNhZAGQ" x="489" y="378" width="91" height="46"/> </children> @@ -129,6 +163,15 @@ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__1h6J5D1Ed-I9dVdNhZAGQ" key="QualifiedNameDepth" value="1000"/> </eAnnotations> <children xmi:type="notation:DecorationNode" xmi:id="__1h6KJD1Ed-I9dVdNhZAGQ" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_4GtIgHI0EeOZxcUd14vDog" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4GtIgXI0EeOZxcUd14vDog" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_SlSMEKtKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4GtIgnI0EeOZxcUd14vDog"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4GtIg3I0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4GtIhHI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4GtIhXI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="__1h6IZD1Ed-I9dVdNhZAGQ" x="603" y="378" width="91" height="46"/> </children> @@ -153,6 +196,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_kB3h1qFPEd-Ow8yfE2PGoA"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kB3h16FPEd-Ow8yfE2PGoA"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4Gu9sHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4Gu9sXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4Gu9snI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_aQTf0FSdEd-w9f5DG2hQCA"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kBqtgaFPEd-Ow8yfE2PGoA" x="243" y="459" width="181" height="82"/> </children> @@ -195,6 +242,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_be7rzEZ0EeCLCJBkU67iDQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_be7rzUZ0EeCLCJBkU67iDQ"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4GxZ8HI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4GxZ8XI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4GxZ8nI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_beqmAEZ0EeCLCJBkU67iDQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_be7EsUZ0EeCLCJBkU67iDQ" x="207" y="153" width="181" height="73"/> </children> @@ -216,6 +267,15 @@ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_eJwp1MogEeGKstsYRuxdvw" key="StereotypePropertyLocation" value="Compartment"/> </eAnnotations> <children xmi:type="notation:DecorationNode" xmi:id="_dMeLpkZ0EeCLCJBkU67iDQ" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_4Gz2MHI0EeOZxcUd14vDog" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4Gz2MXI0EeOZxcUd14vDog" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_Sh6H8KtKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4Gz2MnI0EeOZxcUd14vDog"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4Gz2M3I0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4Gz2NHI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4Gz2NXI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dMdkkUZ0EeCLCJBkU67iDQ" x="9" y="63" width="631"/> </children> @@ -231,6 +291,10 @@ </eAnnotations> <children xmi:type="notation:DecorationNode" xmi:id="_kD0d9kZ0EeCLCJBkU67iDQ" type="1034"/> <children xmi:type="notation:BasicCompartment" xmi:id="_kD1FAEZ0EeCLCJBkU67iDQ" type="1071"> + <children xmi:type="notation:Shape" xmi:id="_sFLEQGm4EeOEG7lSPuRLag" type="3002"> + <element xmi:type="uml:Property" href="FCM.profile.uml#_sE27MGm4EeOEG7lSPuRLag"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_sFLrUGm4EeOEG7lSPuRLag"/> + </children> <styles xmi:type="notation:SortingStyle" xmi:id="_kD1FAUZ0EeCLCJBkU67iDQ"/> <styles xmi:type="notation:FilteringStyle" xmi:id="_kD1FAkZ0EeCLCJBkU67iDQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kD1FA0Z0EeCLCJBkU67iDQ"/> @@ -240,6 +304,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_kD1FBkZ0EeCLCJBkU67iDQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kD1FB0Z0EeCLCJBkU67iDQ"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4G2ScHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4G2ScXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4G2ScnI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_kDGFMEZ0EeCLCJBkU67iDQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kDz24UZ0EeCLCJBkU67iDQ" x="406" y="153" width="144" height="73"/> </children> @@ -261,6 +329,15 @@ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_9Q3z1CNZEeKGuM7MKNu-KA" key="StereotypePropertyLocation" value="Compartment"/> </eAnnotations> <children xmi:type="notation:DecorationNode" xmi:id="_9Q2ltSNZEeKGuM7MKNu-KA" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_4G4usHI0EeOZxcUd14vDog" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4G4usXI0EeOZxcUd14vDog" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_Sk8N0KtKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4G4usnI0EeOZxcUd14vDog"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4G5VwHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4G5VwXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4G5VwnI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9Q2ltiNZEeKGuM7MKNu-KA" x="666" y="63" width="136"/> </children> @@ -494,6 +571,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_GNzDyHiMEd-iNcV8QPhhiQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GNzDyXiMEd-iNcV8QPhhiQ"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4KTPEHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4KTPEXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4KTPEnI0EeOZxcUd14vDog"/> + </children> <styles xmi:type="notation:HintedDiagramLinkStyle" xmi:id="_GNycsXiMEd-iNcV8QPhhiQ"/> <element xmi:type="uml:Enumeration" href="FCM.profile.uml#_-ZqycAAhEd-0dMgailnZgA"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GNycsniMEd-iNcV8QPhhiQ" x="306" y="252" width="163" height="181"/> @@ -527,6 +608,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_Gw9bPXiMEd-iNcV8QPhhiQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Gw9bPniMEd-iNcV8QPhhiQ"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4KVrUHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4KVrUXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4KVrUnI0EeOZxcUd14vDog"/> + </children> <styles xmi:type="notation:HintedDiagramLinkStyle" xmi:id="_Gw80IXiMEd-iNcV8QPhhiQ"/> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_5SI38AAhEd-0dMgailnZgA"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Gw80IniMEd-iNcV8QPhhiQ" x="198" y="126" width="191" height="91"/> @@ -552,6 +637,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_cwWb9niSEd-iNcV8QPhhiQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_cwWb93iSEd-iNcV8QPhhiQ"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4KYHkHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4KYHkXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4KYHknI0EeOZxcUd14vDog"/> + </children> <styles xmi:type="notation:HintedDiagramLinkStyle" xmi:id="_cwV04XiSEd-iNcV8QPhhiQ"/> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_JSKpIHiLEd-iNcV8QPhhiQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_cwV04niSEd-iNcV8QPhhiQ" x="18" y="126" width="134" height="91"/> @@ -565,6 +654,15 @@ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_kQCypSq3EeKWMcuhL1C5sA" key="StereotypePropertyLocation" value="Compartment"/> </eAnnotations> <children xmi:type="notation:DecorationNode" xmi:id="_kTGUUXiVEd-owss_ACqnJA" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_4Kaj0HI0EeOZxcUd14vDog" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4Kaj0XI0EeOZxcUd14vDog" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_Sh6H8KtKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4Kaj0nI0EeOZxcUd14vDog"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4Kaj03I0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4Kaj1HI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4Kaj1XI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kTGUUniVEd-owss_ACqnJA" x="18" y="19" width="577"/> </children> @@ -597,6 +695,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_JXH-fZDxEd-I9dVdNhZAGQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JXH-fpDxEd-I9dVdNhZAGQ"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4KdAEHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4KdAEXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4KdAEnI0EeOZxcUd14vDog"/> + </children> <styles xmi:type="notation:HintedDiagramLinkStyle" xmi:id="_JXHXYZDxEd-I9dVdNhZAGQ"/> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_JWyAMJDxEd-I9dVdNhZAGQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JXHXYpDxEd-I9dVdNhZAGQ" x="18" y="342" width="235" height="91"/> @@ -619,6 +721,15 @@ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jUDEcyq3EeKWMcuhL1C5sA" key="StereotypePropertyLocation" value="Compartment"/> </eAnnotations> <children xmi:type="notation:DecorationNode" xmi:id="_9aDbofS2EeCLI_ythlfGJw" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_4KgDYHI0EeOZxcUd14vDog" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4KgDYXI0EeOZxcUd14vDog" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_SlSMEKtKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4KgDYnI0EeOZxcUd14vDog"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4KgDY3I0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4KgDZHI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4KgDZXI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9aDbovS2EeCLI_ythlfGJw" x="18" y="252" width="109"/> </children> @@ -647,6 +758,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_FF4aaCm_EeKgOdm6HirHfA"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FF4aaSm_EeKgOdm6HirHfA"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4KifoHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4KifoXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4KifonI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Enumeration" href="FCM.profile.uml#_FFvQcCm_EeKgOdm6HirHfA"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FFzh4Sm_EeKgOdm6HirHfA" x="513" y="252"/> </children> @@ -668,6 +783,15 @@ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_bc5iBSq3EeKWMcuhL1C5sA" key="StereotypePropertyLocation" value="Compartment"/> </eAnnotations> <children xmi:type="notation:DecorationNode" xmi:id="_bc4T5Sq3EeKWMcuhL1C5sA" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_4Kk74HI0EeOZxcUd14vDog" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4Kk74XI0EeOZxcUd14vDog" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_Sk2HMKtKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4Kk74nI0EeOZxcUd14vDog"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4Kli8HI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4Kli8XI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4Kli8nI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_bc468Cq3EeKWMcuhL1C5sA" x="153" y="252"/> </children> @@ -732,6 +856,15 @@ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_1gtiJYKhEd-aI_x8ivV7vQ" key="QualifiedNameDepth" value="1000"/> </eAnnotations> <children xmi:type="notation:DecorationNode" xmi:id="_1gtiJoKhEd-aI_x8ivV7vQ" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_4Ng7IHI0EeOZxcUd14vDog" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4Ng7IXI0EeOZxcUd14vDog" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_Sk8N0KtKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4Ng7InI0EeOZxcUd14vDog"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4NhiMHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4NhiMXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4NhiMnI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1gsUAYKhEd-aI_x8ivV7vQ" x="144" y="27" width="298" height="49"/> </children> @@ -766,6 +899,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_C-SO3dRwEeKiLbHSN_MIRQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_C-SO3tRwEeKiLbHSN_MIRQ"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4NjXYHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4NjXYXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4NjXYnI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_C-GooNRwEeKiLbHSN_MIRQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_C-RnwdRwEeKiLbHSN_MIRQ" x="144" y="126" width="298" height="73"/> </children> @@ -792,6 +929,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_HjQ179RwEeKiLbHSN_MIRQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HjQ18NRwEeKiLbHSN_MIRQ"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4NlzoHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4NlzoXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4NlzonI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_HjF2wNRwEeKiLbHSN_MIRQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HjQO0dRwEeKiLbHSN_MIRQ" x="639" y="126" width="136" height="73"/> </children> @@ -813,6 +954,15 @@ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QdUm1dRwEeKiLbHSN_MIRQ" key="StereotypePropertyLocation" value="Compartment"/> </eAnnotations> <children xmi:type="notation:DecorationNode" xmi:id="_QdT_xtRwEeKiLbHSN_MIRQ" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_4NoP4HI0EeOZxcUd14vDog" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4NoP4XI0EeOZxcUd14vDog" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_Sh6H8KtKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4NoP4nI0EeOZxcUd14vDog"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4NoP43I0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4NoP5HI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4NoP5XI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QdT_x9RwEeKiLbHSN_MIRQ" x="513" y="27" width="262"/> </children> @@ -839,6 +989,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="__QaZf9RwEeKiLbHSN_MIRQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="__QaZgNRwEeKiLbHSN_MIRQ"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4NqsIHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4NqsIXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4NqsInI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#__QLv8NRwEeKiLbHSN_MIRQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="__QZyYdRwEeKiLbHSN_MIRQ" x="513" y="126" width="109" height="73"/> </children> @@ -1547,6 +1701,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_VShZF5WJEd-xqrYFQVL_qg"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VShZGJWJEd-xqrYFQVL_qg"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4RA7EHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4RA7EXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4RA7EnI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_tBRZYMtpEd2H_o0jIC6qDQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VSgyAZWJEd-xqrYFQVL_qg" x="450" y="165" width="271" height="106"/> </children> @@ -1606,6 +1764,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_V3ixvZWJEd-xqrYFQVL_qg"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_V3ixvpWJEd-xqrYFQVL_qg"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4RElcHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4RElcXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4RElcnI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_pP-ckMtqEd2H_o0jIC6qDQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_V3iKoZWJEd-xqrYFQVL_qg" x="108" y="165" width="307" height="106"/> </children> @@ -1620,6 +1782,15 @@ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_iw1_Y5WJEd-xqrYFQVL_qg" key="QualifiedNameDepth" value="1000"/> </eAnnotations> <children xmi:type="notation:DecorationNode" xmi:id="_iw1_ZJWJEd-xqrYFQVL_qg" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_4RHowHI0EeOZxcUd14vDog" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4RHowXI0EeOZxcUd14vDog" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_SlLeYatKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4RHownI0EeOZxcUd14vDog"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4RIP0HI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4RIP0XI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4RIP0nI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iw1YUZWJEd-xqrYFQVL_qg" x="108" y="63" width="307"/> </children> @@ -1634,6 +1805,15 @@ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jWfqJ5WJEd-xqrYFQVL_qg" key="QualifiedNameDepth" value="1000"/> </eAnnotations> <children xmi:type="notation:DecorationNode" xmi:id="_jWgRMJWJEd-xqrYFQVL_qg" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_4RKsEHI0EeOZxcUd14vDog" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4RKsEXI0EeOZxcUd14vDog" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_Sh6H8KtKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4RKsEnI0EeOZxcUd14vDog"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4RLTIHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4RLTIXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4RLTInI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jWfqIZWJEd-xqrYFQVL_qg" x="450" y="60" width="271"/> </children> @@ -1672,6 +1852,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_KCWkKTyEEeCYGtteoBz6vQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KCWkKjyEEeCYGtteoBz6vQ"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4RNvYHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4RNvYXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4RNvYnI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_KBrOsDyEEeCYGtteoBz6vQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KCSSsTyEEeCYGtteoBz6vQ" x="108" y="306" width="307" height="82"/> </children> @@ -1731,17 +1915,9 @@ </eAnnotations> <children xmi:type="notation:DecorationNode" xmi:id="_3dfMUObEEd-oHsJhS1620Q" type="1034"/> <children xmi:type="notation:BasicCompartment" xmi:id="_3dfMUebEEd-oHsJhS1620Q" type="1071"> - <children xmi:type="notation:Shape" xmi:id="_OXaKYObFEd-oHsJhS1620Q" type="3002" fontName="Sans Serif" fontHeight="10" lineColor="0"> - <element xmi:type="uml:Property" href="FCM.profile.uml#_aPnHoAswEd-UGs2QNFrwPw"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OXaKYebFEd-oHsJhS1620Q" x="52" y="6"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_PAY18ObFEd-oHsJhS1620Q" type="3002" fontName="Sans Serif" fontHeight="10" lineColor="0"> - <element xmi:type="uml:Property" href="FCM.profile.uml#_W5NH0FLpEd6rYflXebIz1g"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_PAY18ebFEd-oHsJhS1620Q" x="56" y="22"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_AICWEObPEd-oHsJhS1620Q" type="3002" fontName="Sans Serif" fontHeight="10" lineColor="0"> - <element xmi:type="uml:Property" href="FCM.profile.uml#_AAI-UObPEd-oHsJhS1620Q"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AICWEebPEd-oHsJhS1620Q"/> + <children xmi:type="notation:Shape" xmi:id="_ASHDsHI1EeOZxcUd14vDog" type="3002" fontName="Sans Serif" lineColor="0"> + <element xmi:type="uml:Property" href="FCM.profile.uml#_AROS4HI1EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ASHDsXI1EeOZxcUd14vDog"/> </children> <styles xmi:type="notation:SortingStyle" xmi:id="_3dfMUubEEd-oHsJhS1620Q"/> <styles xmi:type="notation:FilteringStyle" xmi:id="_3dfMU-bEEd-oHsJhS1620Q"/> @@ -1752,141 +1928,101 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_3dfMV-bEEd-oHsJhS1620Q"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3dfMWObEEd-oHsJhS1620Q"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4TtCsHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4TtCsXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4TtCsnI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_BOnDoFLpEd6rYflXebIz1g"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3dcwEebEEd-oHsJhS1620Q" x="72" y="58" width="253" height="109"/> </children> - <children xmi:type="notation:Shape" xmi:id="_6YkdYObEEd-oHsJhS1620Q" type="2006" fontName="Sans Serif" fontHeight="10" lineColor="0"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6YlEcObEEd-oHsJhS1620Q" source="ShadowFigure"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6YmSkObEEd-oHsJhS1620Q" key="ShadowFigure_Value" value="false"/> + <children xmi:type="notation:Shape" xmi:id="_8I7AwHI0EeOZxcUd14vDog" type="1026" fontName="Sans Serif" lineColor="0"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8I818HI0EeOZxcUd14vDog" source="ShadowFigure"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_8I818XI0EeOZxcUd14vDog" key="ShadowFigure_Value" value="false"/> </eAnnotations> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6YmSkebEEd-oHsJhS1620Q" source="displayNameLabelIcon"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6YmSkubEEd-oHsJhS1620Q" key="displayNameLabelIcon_value" value="false"/> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8I818nI0EeOZxcUd14vDog" source="displayNameLabelIcon"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_8I8183I0EeOZxcUd14vDog" key="displayNameLabelIcon_value" value="false"/> </eAnnotations> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6YmSk-bEEd-oHsJhS1620Q" source="QualifiedName"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6YmSlObEEd-oHsJhS1620Q" key="QualifiedNameDepth" value="1000"/> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8I9dAHI0EeOZxcUd14vDog" source="QualifiedName"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_8I9dAXI0EeOZxcUd14vDog" key="QualifiedNameDepth" value="1000"/> </eAnnotations> - <children xmi:type="notation:DecorationNode" xmi:id="_6YmSlebEEd-oHsJhS1620Q" type="5023"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_6YmSlubEEd-oHsJhS1620Q" type="1063"> - <children xmi:type="notation:Shape" xmi:id="_KNw0cObFEd-oHsJhS1620Q" type="1037" fontName="Sans Serif" fontHeight="10" lineColor="0"> - <element xmi:type="uml:EnumerationLiteral" href="FCM.profile.uml#_T3PQUAswEd-UGs2QNFrwPw"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_KNw0cebFEd-oHsJhS1620Q" x="47" y="34"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_KcJ1wObFEd-oHsJhS1620Q" type="1037" fontName="Sans Serif" fontHeight="10" lineColor="0"> - <element xmi:type="uml:EnumerationLiteral" href="FCM.profile.uml#_Mn7J8AswEd-UGs2QNFrwPw"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_KcJ1webFEd-oHsJhS1620Q" x="47" y="34"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_KpsigObFEd-oHsJhS1620Q" type="1037" fontName="Sans Serif" fontHeight="10" lineColor="0"> - <element xmi:type="uml:EnumerationLiteral" href="FCM.profile.uml#_zZEPQDR4Ed-aL8GNXYXa-Q"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_KpsigebFEd-oHsJhS1620Q" x="47" y="34"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_K3OBIObFEd-oHsJhS1620Q" type="1037" fontName="Sans Serif" fontHeight="10" lineColor="0"> - <element xmi:type="uml:EnumerationLiteral" href="FCM.profile.uml#_3YQuwDNyEd-l9qP5D2-iXA"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_K3OBIebFEd-oHsJhS1620Q" x="47" y="34"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_LF-O0ObFEd-oHsJhS1620Q" type="1037" fontName="Sans Serif" fontHeight="10" lineColor="0"> - <element xmi:type="uml:EnumerationLiteral" href="FCM.profile.uml#_NRzNYAswEd-UGs2QNFrwPw"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_LF-O0ebFEd-oHsJhS1620Q" x="47" y="34"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_LTP10ObFEd-oHsJhS1620Q" type="1037" fontName="Sans Serif" fontHeight="10" lineColor="0"> - <element xmi:type="uml:EnumerationLiteral" href="FCM.profile.uml#_Ub5RUDNYEd-t359GOtEoBQ"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_LTP10ebFEd-oHsJhS1620Q" x="47" y="34"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_p-k4kOhjEd-oHsJhS1620Q" type="1037" fontName="Sans Serif" fontHeight="10" lineColor="0"> - <element xmi:type="uml:EnumerationLiteral" href="FCM.profile.uml#_p-jDYOhjEd-oHsJhS1620Q"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_p-k4kehjEd-oHsJhS1620Q"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8oZEwDWzEeKiyvmIR-KbrA" type="1037" fontName="Sans Serif" lineColor="0"> - <element xmi:type="uml:EnumerationLiteral" href="FCM.profile.uml#_8n-OADWzEeKiyvmIR-KbrA"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8oZEwTWzEeKiyvmIR-KbrA"/> - </children> - <styles xmi:type="notation:SortingStyle" xmi:id="_6YmSl-bEEd-oHsJhS1620Q"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_6YmSmObEEd-oHsJhS1620Q"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6YmSmebEEd-oHsJhS1620Q"/> + <children xmi:type="notation:DecorationNode" xmi:id="_8I9dAnI0EeOZxcUd14vDog" type="1034"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_8I9dA3I0EeOZxcUd14vDog" type="1071"> + <styles xmi:type="notation:TitleStyle" xmi:id="_8I9dBHI0EeOZxcUd14vDog"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_8I9dBXI0EeOZxcUd14vDog"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_8I9dBnI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8I9dB3I0EeOZxcUd14vDog"/> </children> - <element xmi:type="uml:Enumeration" href="FCM.profile.uml#_HSVlUAswEd-UGs2QNFrwPw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6YkdYebEEd-oHsJhS1620Q" x="378" y="54" width="181" height="163"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_jxAlMObFEd-oHsJhS1620Q" type="2006" fontName="Sans Serif" fontHeight="10" lineColor="0"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jxBMQObFEd-oHsJhS1620Q" source="ShadowFigure"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jxBMQebFEd-oHsJhS1620Q" key="ShadowFigure_Value" value="false"/> - </eAnnotations> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jxBMQubFEd-oHsJhS1620Q" source="displayNameLabelIcon"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jxBMQ-bFEd-oHsJhS1620Q" key="displayNameLabelIcon_value" value="false"/> - </eAnnotations> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jxBMRObFEd-oHsJhS1620Q" source="QualifiedName"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jxBMRebFEd-oHsJhS1620Q" key="QualifiedNameDepth" value="1000"/> - </eAnnotations> - <children xmi:type="notation:DecorationNode" xmi:id="_jxBMRubFEd-oHsJhS1620Q" type="5023"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_jxBMR-bFEd-oHsJhS1620Q" type="1063"> - <children xmi:type="notation:Shape" xmi:id="_ukD4EObFEd-oHsJhS1620Q" type="1037" fontName="Sans Serif" fontHeight="10" lineColor="0"> - <element xmi:type="uml:EnumerationLiteral" href="FCM.profile.uml#_udxp4ObFEd-oHsJhS1620Q"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_ukD4EebFEd-oHsJhS1620Q"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_vYpWsObFEd-oHsJhS1620Q" type="1037" fontName="Sans Serif" fontHeight="10" lineColor="0"> - <element xmi:type="uml:EnumerationLiteral" href="FCM.profile.uml#_vSnAIObFEd-oHsJhS1620Q"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_vYpWsebFEd-oHsJhS1620Q"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_6wLgkObOEd-oHsJhS1620Q" type="1037" fontName="Sans Serif" fontHeight="10" lineColor="0"> - <element xmi:type="uml:EnumerationLiteral" href="FCM.profile.uml#_6qjZsObOEd-oHsJhS1620Q"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_6wLgkebOEd-oHsJhS1620Q"/> - </children> - <styles xmi:type="notation:SortingStyle" xmi:id="_jxBMSObFEd-oHsJhS1620Q"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_jxBMSebFEd-oHsJhS1620Q"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jxBMSubFEd-oHsJhS1620Q"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_8I9dCHI0EeOZxcUd14vDog" visible="false" type="1019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_8I9dCXI0EeOZxcUd14vDog"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_8I9dCnI0EeOZxcUd14vDog"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_8I9dC3I0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8I9dDHI0EeOZxcUd14vDog"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_8JGm8HI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_8JGm8XI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8JGm8nI0EeOZxcUd14vDog"/> </children> - <element xmi:type="uml:Enumeration" href="FCM.profile.uml#_jnxwsObFEd-oHsJhS1620Q"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jxAlMebFEd-oHsJhS1620Q" x="378" y="252" width="181" height="109"/> + <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_8IkbcHI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8I7AwXI0EeOZxcUd14vDog" x="441" y="144" width="136" height="73"/> </children> - <children xmi:type="notation:Shape" xmi:id="_Qwmu8PPBEd-Tz5tQ_F9baw" type="1031" fontName="Sans Serif" fontHeight="10" lineColor="0"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Qwn9EPPBEd-Tz5tQ_F9baw" source="ShadowFigure"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Qwn9EfPBEd-Tz5tQ_F9baw" key="ShadowFigure_Value" value="false"/> + <children xmi:type="notation:Shape" xmi:id="_NdO50HI4EeOCrdvV8oxOKA" type="1031" fontName="Sans Serif" lineColor="0"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NdPg4HI4EeOCrdvV8oxOKA" source="ShadowFigure"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NdPg4XI4EeOCrdvV8oxOKA" key="ShadowFigure_Value" value="false"/> </eAnnotations> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Qwn9EvPBEd-Tz5tQ_F9baw" source="displayNameLabelIcon"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Qwn9E_PBEd-Tz5tQ_F9baw" key="displayNameLabelIcon_value" value="false"/> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NdPg4nI4EeOCrdvV8oxOKA" source="displayNameLabelIcon"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NdPg43I4EeOCrdvV8oxOKA" key="displayNameLabelIcon_value" value="false"/> </eAnnotations> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Qwn9FPPBEd-Tz5tQ_F9baw" source="QualifiedName"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Qwn9FfPBEd-Tz5tQ_F9baw" key="QualifiedNameDepth" value="1000"/> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NdPg5HI4EeOCrdvV8oxOKA" source="QualifiedName"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NdPg5XI4EeOCrdvV8oxOKA" key="QualifiedNameDepth" value="1000"/> </eAnnotations> - <children xmi:type="notation:DecorationNode" xmi:id="_Qwn9FvPBEd-Tz5tQ_F9baw" type="1084"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#TemplateSignature"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Qwmu8fPBEd-Tz5tQ_F9baw" x="72" y="202" width="253" height="55"/> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NdQvAHI4EeOCrdvV8oxOKA" source="Stereotype_Annotation"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NdQvAXI4EeOCrdvV8oxOKA" key="StereotypeWithQualifiedNameList" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NdQvAnI4EeOCrdvV8oxOKA" key="StereotypeList" value="StandardProfileL2::Metaclass"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NdQvA3I4EeOCrdvV8oxOKA" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NdQvBHI4EeOCrdvV8oxOKA" key="PropStereoDisplay" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_NdQvBXI4EeOCrdvV8oxOKA" key="StereotypePropertyLocation" value="Compartment"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_NdPg5nI4EeOCrdvV8oxOKA" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_Ndk4EHI4EeOCrdvV8oxOKA" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Ndk4EXI4EeOCrdvV8oxOKA" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_Sh6H8KtKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ndk4EnI4EeOCrdvV8oxOKA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_NdlfIHI4EeOCrdvV8oxOKA" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_NdlfIXI4EeOCrdvV8oxOKA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NdlfInI4EeOCrdvV8oxOKA"/> + </children> + <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NdPg53I4EeOCrdvV8oxOKA" x="441" y="54" width="136"/> </children> - <children xmi:type="notation:Shape" xmi:id="_UzxpcPPBEd-Tz5tQ_F9baw" type="1026" fontName="Sans Serif" fontHeight="10" lineColor="0"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_UzyQgPPBEd-Tz5tQ_F9baw" source="ShadowFigure"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_UzyQgfPBEd-Tz5tQ_F9baw" key="ShadowFigure_Value" value="false"/> + <children xmi:type="notation:Shape" xmi:id="_MyjSYHJqEeOMF7YEvnQt5g" type="1002" fontName="Sans Serif" lineColor="0"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Myj5cHJqEeOMF7YEvnQt5g" source="ShadowFigure"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Myj5cXJqEeOMF7YEvnQt5g" key="ShadowFigure_Value" value="false"/> </eAnnotations> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_UzyQgvPBEd-Tz5tQ_F9baw" source="displayNameLabelIcon"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_UzyQg_PBEd-Tz5tQ_F9baw" key="displayNameLabelIcon_value" value="false"/> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Myj5cnJqEeOMF7YEvnQt5g" source="displayNameLabelIcon"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Myj5c3JqEeOMF7YEvnQt5g" key="displayNameLabelIcon_value" value="false"/> </eAnnotations> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Uzy3kPPBEd-Tz5tQ_F9baw" source="QualifiedName"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Uzy3kfPBEd-Tz5tQ_F9baw" key="QualifiedNameDepth" value="1000"/> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Myj5dHJqEeOMF7YEvnQt5g" source="QualifiedName"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Myj5dXJqEeOMF7YEvnQt5g" key="QualifiedNameDepth" value="1000"/> </eAnnotations> - <children xmi:type="notation:DecorationNode" xmi:id="_Uzy3kvPBEd-Tz5tQ_F9baw" type="1034"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_Uzy3k_PBEd-Tz5tQ_F9baw" type="1071"> - <children xmi:type="notation:Shape" xmi:id="_cyfzgPPBEd-Tz5tQ_F9baw" type="3002" fontName="Sans Serif" fontHeight="10" lineColor="0"> - <element xmi:type="uml:Property" href="FCM.profile.uml#_cqIhsPPBEd-Tz5tQ_F9baw"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_cyfzgfPBEd-Tz5tQ_F9baw"/> - </children> - <styles xmi:type="notation:SortingStyle" xmi:id="_Uzy3lPPBEd-Tz5tQ_F9baw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Uzy3lfPBEd-Tz5tQ_F9baw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Uzy3lvPBEd-Tz5tQ_F9baw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_Uzy3l_PBEd-Tz5tQ_F9baw" visible="false" type="1019"> - <styles xmi:type="notation:SortingStyle" xmi:id="_Uzy3mPPBEd-Tz5tQ_F9baw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Uzy3mfPBEd-Tz5tQ_F9baw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Uzy3mvPBEd-Tz5tQ_F9baw"/> - </children> - <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_UsmDYPPBEd-Tz5tQ_F9baw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UzxpcfPBEd-Tz5tQ_F9baw" x="69" y="288" width="256" height="77"/> + <children xmi:type="notation:DecorationNode" xmi:id="_Myj5dnJqEeOMF7YEvnQt5g" type="3"/> + <element xmi:type="uml:Comment" href="FCM.profile.uml#_MyfoAHJqEeOMF7YEvnQt5g"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MyjSYXJqEeOMF7YEvnQt5g" x="621" y="126" width="208" height="82"/> </children> <styles xmi:type="notation:DiagramStyle" xmi:id="_1hRXQebEEd-oHsJhS1620Q"/> <element xmi:type="uml:Profile" href="FCM.profile.uml#_5mvT0MtjEd2H_o0jIC6qDQ"/> - <edges xmi:type="notation:Connector" xmi:id="_ZqDb4PPBEd-Tz5tQ_F9baw" type="1013" source="_UzxpcPPBEd-Tz5tQ_F9baw" target="_Qwmu8PPBEd-Tz5tQ_F9baw" lineColor="0"> - <styles xmi:type="notation:FontStyle" xmi:id="_ZqDb4fPBEd-Tz5tQ_F9baw" fontName="Sans Serif" fontHeight="10"/> - <element xmi:type="uml:Extension" href="FCM.profile.uml#_ZiRY4PPBEd-Tz5tQ_F9baw"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ZqDb4vPBEd-Tz5tQ_F9baw" points="[0, -7, 0, 37]$[-2, -93, -2, -49]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Z3T0wPPBEd-Tz5tQ_F9baw" id="(0.5084033613445378,0.08333333333333333)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Z3T0wfPBEd-Tz5tQ_F9baw" id="(0.502127659574468,0.8909090909090909)"/> + <edges xmi:type="notation:Connector" xmi:id="_SdsjAHI4EeOCrdvV8oxOKA" type="1013" source="_8I7AwHI0EeOZxcUd14vDog" target="_NdO50HI4EeOCrdvV8oxOKA" lineColor="0"> + <styles xmi:type="notation:FontStyle" xmi:id="_SdsjAXI4EeOCrdvV8oxOKA" fontName="Sans Serif"/> + <element xmi:type="uml:Extension" href="FCM.profile.uml#_SdnDcHI4EeOCrdvV8oxOKA"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_SdsjAnI4EeOCrdvV8oxOKA" points="[0, -10, 0, 65]$[0, -50, 0, 25]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Sd5XUHI4EeOCrdvV8oxOKA" id="(0.5,0.136986301369863)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_OUiCgHJqEeOMF7YEvnQt5g" type="1022" source="_MyjSYHJqEeOMF7YEvnQt5g" target="_8I7AwHI0EeOZxcUd14vDog" routing="Rectilinear" lineColor="0"> + <styles xmi:type="notation:FontStyle" xmi:id="_OUiCgXJqEeOMF7YEvnQt5g" fontName="Sans Serif"/> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OUiCgnJqEeOMF7YEvnQt5g" points="[29, 21, -58, -43]$[64, 58, -23, -6]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OUm7AHJqEeOMF7YEvnQt5g" id="(0.7716535433070866,0.4146341463414634)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OUniEHJqEeOMF7YEvnQt5g" id="(0.16911764705882354,0.3561643835616438)"/> </edges> </notation:Diagram> <notation:Diagram xmi:id="_w-KvwMniEeCWXsgs0yuyKQ" type="PapyrusUMLProfileDiagram" name="Hardware" measurementUnit="Pixel"> @@ -1935,6 +2071,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_x968kcniEeCWXsgs0yuyKQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x968ksniEeCWXsgs0yuyKQ"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4WIEkHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4WIEkXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4WIEknI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_0KEH0JOCEd-5qPBhYeIVtw"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x935QcniEeCWXsgs0yuyKQ" x="111" y="253" width="223" height="135"/> </children> @@ -1949,6 +2089,15 @@ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_0A79NMniEeCWXsgs0yuyKQ" key="QualifiedNameDepth" value="1000"/> </eAnnotations> <children xmi:type="notation:DecorationNode" xmi:id="_0A79NcniEeCWXsgs0yuyKQ" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_4WLu8HI0EeOZxcUd14vDog" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4WLu8XI0EeOZxcUd14vDog" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_SksWMKtKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4WLu8nI0EeOZxcUd14vDog"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4WLu83I0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4WLu9HI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4WLu9XI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Node"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0A7WIcniEeCWXsgs0yuyKQ" x="108" y="126" width="226"/> </children> @@ -1975,6 +2124,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_7Vk_67MkEeKKMNfz1DLnog"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7Vk_7LMkEeKKMNfz1DLnog"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4WOLMHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4WOLMXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4WOLMnI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_361C4FapEd-w9f5DG2hQCA"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7VhVgbMkEeKKMNfz1DLnog" x="396" y="256" width="145" height="132"/> </children> @@ -1996,6 +2149,15 @@ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_86DqZLMkEeKKMNfz1DLnog" key="StereotypePropertyLocation" value="Compartment"/> </eAnnotations> <children xmi:type="notation:DecorationNode" xmi:id="_85-K0rMkEeKKMNfz1DLnog" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_4WQncHI0EeOZxcUd14vDog" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4WQncXI0EeOZxcUd14vDog" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_Sh6H8KtKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4WQncnI0EeOZxcUd14vDog"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4WROgHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4WROgXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4WROgnI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8588sbMkEeKKMNfz1DLnog" x="396" y="126" width="145"/> </children> @@ -2036,6 +2198,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_jOcuKcnpEeK-j9yGRHQ3Jw"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jOcuKsnpEeK-j9yGRHQ3Jw"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4ZXl0HI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4ZXl0XI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4ZXl0nI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_maLdwLCJEd-D5aqfqbr7IQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jOZq0cnpEeK-j9yGRHQ3Jw" x="54" y="149" width="136" height="73"/> </children> @@ -2057,6 +2223,15 @@ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_nq2A9cnpEeK-j9yGRHQ3Jw" key="StereotypePropertyLocation" value="Compartment"/> </eAnnotations> <children xmi:type="notation:DecorationNode" xmi:id="_nq1Z5cnpEeK-j9yGRHQ3Jw" type="1084"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_4ZbQMHI0EeOZxcUd14vDog" visible="false" type="AppliedStereotypeCompartement"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4ZbQMXI0EeOZxcUd14vDog" showTitle="true"/> + <element xmi:type="l2:Metaclass" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_Sh6H8KtKEeGF4uwJob34Mw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4ZbQMnI0EeOZxcUd14vDog"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4Zb3QHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4Zb3QXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4Zb3QnI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nq1Z5snpEeK-j9yGRHQ3Jw" x="54" y="50" width="469"/> </children> @@ -2083,6 +2258,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_D8uXGtM-EeKflOoYwofqLA"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_D8uXG9M-EeKflOoYwofqLA"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4ZdscHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4ZdscXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4ZdscnI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_D8dRUNM-EeKflOoYwofqLA"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_D8tI8dM-EeKflOoYwofqLA" x="387" y="149" width="136" height="73"/> </children> @@ -2123,6 +2302,10 @@ <styles xmi:type="notation:FilteringStyle" xmi:id="_0dFWn9RsEeKiLbHSN_MIRQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0dFWoNRsEeKiLbHSN_MIRQ"/> </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4ZgIsHI0EeOZxcUd14vDog" visible="false" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4ZgIsXI0EeOZxcUd14vDog"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4ZgIsnI0EeOZxcUd14vDog"/> + </children> <element xmi:type="uml:Stereotype" href="FCM.profile.uml#_0c1e8NRsEeKiLbHSN_MIRQ"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0dEvgdRsEeKiLbHSN_MIRQ" x="225" y="149" width="136" height="73"/> </children> diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/model/FCM.profile.uml b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/model/FCM.profile.uml index b1d1bfc96df..292df8596b2 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/model/FCM.profile.uml +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/model/FCM.profile.uml @@ -8,7 +8,7 @@ of a particular PortKind). Further experiments are still needed to confirm that <ownedComment xmi:type="uml:Comment" xmi:id="_dxcGcDTvEd-aL8GNXYXa-Q" annotatedElement="_BOnDoFLpEd6rYflXebIz1g"> <body>The template parameters list defines the parameters that are passed to the Acceleo template. If empty, the formal parameter list of the package template is used.</body> </ownedComment> - <ownedComment xmi:type="uml:Comment" xmi:id="_2Lq5wDR4Ed-aL8GNXYXa-Q" annotatedElement="_zZEPQDR4Ed-aL8GNXYXa-Q"> + <ownedComment xmi:type="uml:Comment" xmi:id="_2Lq5wDR4Ed-aL8GNXYXa-Q"> <body>LateEvaluation is more a tempalte binding rather than a template definition. In</body> </ownedComment> <ownedComment xmi:type="uml:Comment" xmi:id="_tP3jMLy-Ed-9GLEvRgvEyg" annotatedElement="_L8b3wMtvEd2H_o0jIC6qDQ"> @@ -61,6 +61,9 @@ The system component is also an assembly</body> <body>Template ports are ports that enable the binding of an extended port with an actual parameter: the resulting port kind is the port kind bound to the current port type. For instance, we cound type a port with "MyType" and use an extended port Writer with a template with formal parameter T. Resulting port would be Writer with T bound to MyType.</body> </ownedComment> + <ownedComment xmi:type="uml:Comment" xmi:id="_MyfoAHJqEeOMF7YEvnQt5g" annotatedElement="_8IkbcHI0EeOZxcUd14vDog"> + <body>A binding helper is responsible for creating sub-elements. For instance, if the formal parameter of a template is an interface, it might be required to instantiate an operation for each operation of the interface.</body> + </ownedComment> <elementImport xmi:type="uml:ElementImport" xmi:id="_NYUA4MtkEd2H_o0jIC6qDQ" alias="Package"> <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/> </elementImport> @@ -286,24 +289,12 @@ For instance, we cound type a port with "MyType" and use an extended p </ownedAttribute> </packagedElement> <packagedElement xmi:type="uml:Stereotype" xmi:id="_BOnDoFLpEd6rYflXebIz1g" name="Template"> - <ownedAttribute xmi:type="uml:Property" xmi:id="_W5NH0FLpEd6rYflXebIz1g" name="templateParams" isUnique="false"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ZHrGADTvEd-aL8GNXYXa-Q"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ZHzB0DTvEd-aL8GNXYXa-Q" value="*"/> - </ownedAttribute> <ownedAttribute xmi:type="uml:Property" xmi:id="_hEi6cFLpEd6rYflXebIz1g" name="base_Element" isUnique="false" association="_hC4tkFLpEd6rYflXebIz1g"> <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="_aPnHoAswEd-UGs2QNFrwPw" name="kind" visibility="public" type="_HSVlUAswEd-UGs2QNFrwPw" isUnique="false"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_fFnNQAswEd-UGs2QNFrwPw" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_fFt68AswEd-UGs2QNFrwPw" value="1"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_fF1PsAswEd-UGs2QNFrwPw"> - <value xsi:nil="true"/> - </defaultValue> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="_AAI-UObPEd-oHsJhS1620Q" name="actualChoice" visibility="public" type="_jnxwsObFEd-oHsJhS1620Q" isUnique="false"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_GdgDUObPEd-oHsJhS1620Q"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Gdh4gObPEd-oHsJhS1620Q" value="1"/> + <ownedAttribute xmi:type="uml:Property" xmi:id="_AROS4HI1EeOZxcUd14vDog" name="helper" type="_8IkbcHI0EeOZxcUd14vDog"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_IRor8HJqEeOMF7YEvnQt5g"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_IRpTAHJqEeOMF7YEvnQt5g" value="1"/> </ownedAttribute> </packagedElement> <packagedElement xmi:type="uml:Extension" xmi:id="_eamcsFLpEd6rYflXebIz1g" name="Extension_DeploymentPlan" memberEnd="_ecAK4FLpEd6rYflXebIz1g _ecD1QFLpEd6rYflXebIz1g"> @@ -366,16 +357,6 @@ For instance, we cound type a port with "MyType" and use an extended p <packagedElement xmi:type="uml:Extension" xmi:id="_s6giAAAjEd-0dMgailnZgA" name="E_ContainerRule_Class0" memberEnd="_s9YP0AAjEd-0dMgailnZgA _s9dIUAAjEd-0dMgailnZgA"> <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_s9YP0AAjEd-0dMgailnZgA" name="extension_ContainerRule" type="_5SI38AAhEd-0dMgailnZgA" aggregation="composite" association="_s6giAAAjEd-0dMgailnZgA"/> </packagedElement> - <packagedElement xmi:type="uml:Enumeration" xmi:id="_HSVlUAswEd-UGs2QNFrwPw" name="TemplateKind"> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_Mn7J8AswEd-UGs2QNFrwPw" name="PassFormal"/> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_NRzNYAswEd-UGs2QNFrwPw" name="LoopOperations"/> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_T3PQUAswEd-UGs2QNFrwPw" name="LoopProperty"/> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_Ub5RUDNYEd-t359GOtEoBQ" name="Accumulate"/> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_3YQuwDNyEd-l9qP5D2-iXA" name="LoopLiterals"/> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_zZEPQDR4Ed-aL8GNXYXa-Q" name="LateEvaluation"/> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_p-jDYOhjEd-oHsJhS1620Q" name="LoopPorts"/> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_8n-OADWzEeKiyvmIR-KbrA" name="PassClassifier"/> - </packagedElement> <packagedElement xmi:type="uml:Stereotype" xmi:id="_aQTf0FSdEd-w9f5DG2hQCA" name="ImplementationGroup"> <ownedAttribute xmi:type="uml:Property" xmi:id="_5OkHcEzuEeG_JK8KIEXPxQ" name="base_Class" association="_5OkugEzuEeG_JK8KIEXPxQ"> <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> @@ -598,22 +579,6 @@ For instance, we cound type a port with "MyType" and use an extended p <packagedElement xmi:type="uml:Extension" xmi:id="_ZfRJoNXwEd-CUqOXH3INsw" name="E_ConnectorConfiguration_Slot0" memberEnd="_ZfRJodXwEd-CUqOXH3INsw _ZfQikNXwEd-CUqOXH3INsw"> <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_ZfRJodXwEd-CUqOXH3INsw" name="extension_ConnectorConfiguration" type="_mditANXnEd-CUqOXH3INsw" aggregation="composite" association="_ZfRJoNXwEd-CUqOXH3INsw"/> </packagedElement> - <packagedElement xmi:type="uml:Enumeration" xmi:id="_jnxwsObFEd-oHsJhS1620Q" name="ActualChoice"> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_udxp4ObFEd-oHsJhS1620Q" name="PassActual"/> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_vSnAIObFEd-oHsJhS1620Q" name="InterfaceOfPPort"/> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_6qjZsObOEd-oHsJhS1620Q" name="InterfaceOfRport"/> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="_UsmDYPPBEd-Tz5tQ_F9baw" name="ExtendedSignature"> - <ownedAttribute xmi:type="uml:Property" xmi:id="_ZiQx0PPBEd-Tz5tQ_F9baw" name="base_TemplateSignature" association="_ZiRY4PPBEd-Tz5tQ_F9baw"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#TemplateSignature"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="_cqIhsPPBEd-Tz5tQ_F9baw" name="baseSignature"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#TemplateSignature"/> - </ownedAttribute> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="_ZiRY4PPBEd-Tz5tQ_F9baw" name="E_ExtendedSignature_TemplateSignature0" memberEnd="_ZiRY4fPBEd-Tz5tQ_F9baw _ZiQx0PPBEd-Tz5tQ_F9baw"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_ZiRY4fPBEd-Tz5tQ_F9baw" name="extension_ExtendedSignature" type="_UsmDYPPBEd-Tz5tQ_F9baw" aggregation="composite" association="_ZiRY4PPBEd-Tz5tQ_F9baw"/> - </packagedElement> <packagedElement xmi:type="uml:Stereotype" xmi:id="_KBrOsDyEEeCYGtteoBz6vQ" name="TemplatePort"> <generalization xmi:type="uml:Generalization" xmi:id="_OUdSgDyEEeCYGtteoBz6vQ" general="_pP-ckMtqEd2H_o0jIC6qDQ"/> <ownedAttribute xmi:type="uml:Property" xmi:id="_RgadAOHNEeKl1vaXi7stuw" name="boundType" visibility="public" type="_tBRZYMtpEd2H_o0jIC6qDQ" isDerived="true"> @@ -643,6 +608,11 @@ For instance, we cound type a port with "MyType" and use an extended p <ownedAttribute xmi:type="uml:Property" xmi:id="_rsCMgEZ0EeCLCJBkU67iDQ" name="base_Class" association="_rsCMgUZ0EeCLCJBkU67iDQ"> <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_sE27MGm4EeOEG7lSPuRLag" name="onNodeModel"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ceiysGsuEeOoCYTKo-XKlQ"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_cekA0GsuEeOoCYTKo-XKlQ" value="1"/> + </ownedAttribute> </packagedElement> <packagedElement xmi:type="uml:Extension" xmi:id="_rsCMgUZ0EeCLCJBkU67iDQ" name="E_InstanceConfigurator_Class0" memberEnd="_rsCMgkZ0EeCLCJBkU67iDQ _rsCMgEZ0EeCLCJBkU67iDQ"> <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_rsCMgkZ0EeCLCJBkU67iDQ" name="extension_InstanceConfigurator" type="_kDGFMEZ0EeCLCJBkU67iDQ" aggregation="composite" association="_rsCMgUZ0EeCLCJBkU67iDQ"/> @@ -731,6 +701,14 @@ For instance, we cound type a port with "MyType" and use an extended p <packagedElement xmi:type="uml:Extension" xmi:id="_jzYnINRxEeKiLbHSN_MIRQ" name="E_CompilerChain_Class1" memberEnd="_jzYnIdRxEeKiLbHSN_MIRQ _jzVj0NRxEeKiLbHSN_MIRQ"> <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_jzYnIdRxEeKiLbHSN_MIRQ" name="extension_CompilerChain" type="_iDiaINRxEeKiLbHSN_MIRQ" aggregation="composite" association="_jzYnINRxEeKiLbHSN_MIRQ"/> </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="_8IkbcHI0EeOZxcUd14vDog" name="BindingHelper"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_SdmcYHI4EeOCrdvV8oxOKA" name="base_Class" association="_SdnDcHI4EeOCrdvV8oxOKA"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="_SdnDcHI4EeOCrdvV8oxOKA" name="E_BindingHelper_Class1" memberEnd="_SdnDcXI4EeOCrdvV8oxOKA _SdmcYHI4EeOCrdvV8oxOKA"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_SdnDcXI4EeOCrdvV8oxOKA" name="extension_BindingHelper" type="_8IkbcHI0EeOZxcUd14vDog" aggregation="composite" association="_SdnDcHI4EeOCrdvV8oxOKA"/> + </packagedElement> <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_aTo0UC27Ed6q9cO948d5Fw"> <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_aa7vIC27Ed6q9cO948d5Fw" source="http://www.eclipse.org/uml2/2.0.0/UML"> <references xmi:type="ecore:EPackage" href="pathmap://UML_PROFILES/Ecore.profile.uml#_z1OFcHjqEdy8S4Cr8Rc_NA"/> diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/plugin.xml b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/plugin.xml index 3d535ba6e19..fd9d5ec828a 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/plugin.xml +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/plugin.xml @@ -11,7 +11,8 @@ <plugin>
<extension-point id="fcmPortMappingRule" name="Port Mapping Rule" schema="schema/fcmPortMappingRule.exsd"/>
<extension-point id="fcmEmbeddingRule" name="Connector embedding rule" schema="schema/fcmPortMappingRule.exsd"/>
-
+ <extension-point id="fcmBindingHelper" name="Helper for template binnding" schema="schema/fcmBindingHelper.exsd"/>
+
<extension point="org.eclipse.emf.ecore.generated_package">
<package
uri = "http://www.eclipse.org/papyrus/FCM/1"
diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/schema/fcmBindingHelper.exsd b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/schema/fcmBindingHelper.exsd new file mode 100644 index 00000000000..e51291f98af --- /dev/null +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/schema/fcmBindingHelper.exsd @@ -0,0 +1,99 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- Schema file written by PDE --> +<schema targetNamespace="org.eclipse.papyrus.fcm.profile" xmlns="http://www.w3.org/2001/XMLSchema"> +<annotation> + <appInfo> + <meta.schema plugin="org.eclipse.papyrus.fcm.profile" id="fcmBindingHelper" name="Binding Helper"/> + </appInfo> + <documentation> + [Enter description of this extension point.] + </documentation> + </annotation> + + <element name="extension"> + <annotation> + <appInfo> + <meta.element /> + </appInfo> + </annotation> + <complexType> + <sequence minOccurs="1" maxOccurs="unbounded"> + <element ref="client"/> + </sequence> + <attribute name="point" type="string" use="required"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <attribute name="id" type="string"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + </complexType> + </element> + + <element name="client"> + <complexType> + <attribute name="bindingHelperName" type="string" use="required"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <attribute name="class" type="string" use="required"> + <annotation> + <documentation> + + </documentation> + <appInfo> + <meta.attribute kind="java" basedOn=":org.eclipse.papyrus.FCM.util.IBindingHelper"/> + </appInfo> + </annotation> + </attribute> + </complexType> + </element> + + <annotation> + <appInfo> + <meta.section type="since"/> + </appInfo> + <documentation> + [Enter the first release in which this extension point appears.] + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="examples"/> + </appInfo> + <documentation> + [Enter extension point usage example here.] + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="apiinfo"/> + </appInfo> + <documentation> + [Enter API information here.] + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="implementation"/> + </appInfo> + <documentation> + [Enter information about supplied implementation of this extension point.] + </documentation> + </annotation> + + +</schema> diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/schema/fcmEmbeddingRule.exsd b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/schema/fcmEmbeddingRule.exsd index 72548881de5..82aa794425b 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/schema/fcmEmbeddingRule.exsd +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/schema/fcmEmbeddingRule.exsd @@ -1,9 +1,9 @@ <?xml version='1.0' encoding='UTF-8'?> <!-- Schema file written by PDE --> -<schema targetNamespace="com.cea.profiles.fcm" xmlns="http://www.w3.org/2001/XMLSchema"> +<schema targetNamespace="org.eclipse.papyrus.fcm.profile" xmlns="http://www.w3.org/2001/XMLSchema"> <annotation> <appInfo> - <meta.schema plugin="com.cea.profiles.fcm" id="fcmEmbeddingRule" name="Port Mapping Rule"/> + <meta.schema plugin="org.eclipse.papyrus.fcm.profile" id="fcmEmbeddingRule" name="FCM embedding rule"/> </appInfo> <documentation> [Enter description of this extension point.] @@ -17,6 +17,9 @@ </appInfo> </annotation> <complexType> + <sequence minOccurs="1" maxOccurs="unbounded"> + <element ref="client"/> + </sequence> <attribute name="point" type="string" use="required"> <annotation> <documentation> @@ -31,9 +34,6 @@ </documentation> </annotation> </attribute> - <sequence minOccurs="1" maxOccurs="unbounded"> - <element ref="client"/> - </sequence> </complexType> </element> diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/schema/fcmPortMappingRule.exsd b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/schema/fcmPortMappingRule.exsd index 6189d9816ae..77f6e9cb5e4 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/schema/fcmPortMappingRule.exsd +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/schema/fcmPortMappingRule.exsd @@ -1,9 +1,9 @@ <?xml version='1.0' encoding='UTF-8'?> <!-- Schema file written by PDE --> -<schema targetNamespace="com.cea.profiles.fcm" xmlns="http://www.w3.org/2001/XMLSchema"> +<schema targetNamespace="org.eclipse.papyrus.fcm.profile" xmlns="http://www.w3.org/2001/XMLSchema"> <annotation> <appInfo> - <meta.schema plugin="com.cea.profiles.fcm" id="fcmPortMappingRule" name="Port Mapping Rule"/> + <meta.schema plugin="org.eclipse.papyrus.fcm.profile" id="fcmPortMappingRule" name="Port Mapping Rule"/> </appInfo> <documentation> A port mapping rule, i.e. a rule that maps port kinds to a provider and/or required interface @@ -17,7 +17,10 @@ </appInfo> </annotation> <complexType> - <attribute name="point" type="string" use="required"> + <sequence minOccurs="1" maxOccurs="unbounded"> + <element ref="client"/> + </sequence> + <attribute name="point" type="string" use="required"> <annotation> <documentation> @@ -31,9 +34,6 @@ </documentation> </annotation> </attribute> - <sequence minOccurs="1" maxOccurs="unbounded"> - <element ref="client"/> - </sequence> </complexType> </element> diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/ActualChoice.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/ActualChoice.java deleted file mode 100644 index 79e369c1e4b..00000000000 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/ActualChoice.java +++ /dev/null @@ -1,245 +0,0 @@ -/** - * Copyright (c) 2013 CEA LIST - * - * 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: - * Ansgar Radermacher - Initial API and implementation - * - */ -package org.eclipse.papyrus.FCM; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Actual Choice</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.FCM.FCMPackage#getActualChoice() - * @model - * @generated - */ -public enum ActualChoice implements Enumerator { - /** - * The '<em><b>Pass Actual</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #PASS_ACTUAL_VALUE - * @generated - * @ordered - */ - PASS_ACTUAL(0, "PassActual", "PassActual"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Interface Of PPort</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #INTERFACE_OF_PPORT_VALUE - * @generated - * @ordered - */ - INTERFACE_OF_PPORT(1, "InterfaceOfPPort", "InterfaceOfPPort"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Interface Of Rport</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #INTERFACE_OF_RPORT_VALUE - * @generated - * @ordered - */ - INTERFACE_OF_RPORT(2, "InterfaceOfRport", "InterfaceOfRport"); //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Pass Actual</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Pass Actual</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #PASS_ACTUAL - * @model name="PassActual" - * @generated - * @ordered - */ - public static final int PASS_ACTUAL_VALUE = 0; - - /** - * The '<em><b>Interface Of PPort</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Interface Of PPort</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #INTERFACE_OF_PPORT - * @model name="InterfaceOfPPort" - * @generated - * @ordered - */ - public static final int INTERFACE_OF_PPORT_VALUE = 1; - - /** - * The '<em><b>Interface Of Rport</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Interface Of Rport</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #INTERFACE_OF_RPORT - * @model name="InterfaceOfRport" - * @generated - * @ordered - */ - public static final int INTERFACE_OF_RPORT_VALUE = 2; - - /** - * An array of all the '<em><b>Actual Choice</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final ActualChoice[] VALUES_ARRAY = - new ActualChoice[] { - PASS_ACTUAL, - INTERFACE_OF_PPORT, - INTERFACE_OF_RPORT, - }; - - /** - * A public read-only list of all the '<em><b>Actual Choice</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<ActualChoice> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Actual Choice</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static ActualChoice get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - ActualChoice result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Actual Choice</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static ActualChoice getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - ActualChoice result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Actual Choice</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static ActualChoice get(int value) { - switch (value) { - case PASS_ACTUAL_VALUE: return PASS_ACTUAL; - case INTERFACE_OF_PPORT_VALUE: return INTERFACE_OF_PPORT; - case INTERFACE_OF_RPORT_VALUE: return INTERFACE_OF_RPORT; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private ActualChoice(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //ActualChoice diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/BindingHelper.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/BindingHelper.java new file mode 100644 index 00000000000..8087e0ea9fe --- /dev/null +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/BindingHelper.java @@ -0,0 +1,64 @@ +/** + * Copyright (c) 2013 CEA LIST + * + * 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: + * Ansgar Radermacher - Initial API and implementation + * + */ +package org.eclipse.papyrus.FCM; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Binding Helper</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * A binding helper is responsible for creating sub-elements. For instance, if the formal parameter of a template is an interface, it might be required to instantiate an operation for each operation of the interface. + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.papyrus.FCM.BindingHelper#getBase_Class <em>Base Class</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.papyrus.FCM.FCMPackage#getBindingHelper() + * @model + * @generated + */ +public interface BindingHelper extends EObject { + + /** + * Returns the value of the '<em><b>Base Class</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Class</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Class</em>' reference. + * @see #setBase_Class(org.eclipse.uml2.uml.Class) + * @see org.eclipse.papyrus.FCM.FCMPackage#getBindingHelper_Base_Class() + * @model required="true" ordered="false" + * @generated + */ + org.eclipse.uml2.uml.Class getBase_Class(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.FCM.BindingHelper#getBase_Class <em>Base Class</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Class</em>' reference. + * @see #getBase_Class() + * @generated + */ + void setBase_Class(org.eclipse.uml2.uml.Class value); +} // BindingHelper diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/ExtendedSignature.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/ExtendedSignature.java deleted file mode 100644 index fc0a3eefd27..00000000000 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/ExtendedSignature.java +++ /dev/null @@ -1,89 +0,0 @@ -/** - * Copyright (c) 2013 CEA LIST - * - * 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: - * Ansgar Radermacher - Initial API and implementation - * - */ -package org.eclipse.papyrus.FCM; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.TemplateSignature; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Extended Signature</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.papyrus.FCM.ExtendedSignature#getBase_TemplateSignature <em>Base Template Signature</em>}</li> - * <li>{@link org.eclipse.papyrus.FCM.ExtendedSignature#getBaseSignature <em>Base Signature</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.papyrus.FCM.FCMPackage#getExtendedSignature() - * @model - * @generated - */ -public interface ExtendedSignature extends EObject { - /** - * Returns the value of the '<em><b>Base Template Signature</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Template Signature</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Template Signature</em>' reference. - * @see #setBase_TemplateSignature(TemplateSignature) - * @see org.eclipse.papyrus.FCM.FCMPackage#getExtendedSignature_Base_TemplateSignature() - * @model required="true" ordered="false" - * @generated - */ - TemplateSignature getBase_TemplateSignature(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.FCM.ExtendedSignature#getBase_TemplateSignature <em>Base Template Signature</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Template Signature</em>' reference. - * @see #getBase_TemplateSignature() - * @generated - */ - void setBase_TemplateSignature(TemplateSignature value); - - /** - * Returns the value of the '<em><b>Base Signature</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Signature</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Signature</em>' reference. - * @see #setBaseSignature(TemplateSignature) - * @see org.eclipse.papyrus.FCM.FCMPackage#getExtendedSignature_BaseSignature() - * @model required="true" ordered="false" - * @generated - */ - TemplateSignature getBaseSignature(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.FCM.ExtendedSignature#getBaseSignature <em>Base Signature</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Signature</em>' reference. - * @see #getBaseSignature() - * @generated - */ - void setBaseSignature(TemplateSignature value); - -} // ExtendedSignature diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/FCMFactory.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/FCMFactory.java index 7efbad07cc6..3b98a6743f8 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/FCMFactory.java +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/FCMFactory.java @@ -41,6 +41,15 @@ public interface FCMFactory extends EFactory { Template createTemplate(); /** + * Returns a new object of class '<em>Binding Helper</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Binding Helper</em>'. + * @generated + */ + BindingHelper createBindingHelper(); + + /** * Returns a new object of class '<em>Configuration Property</em>'. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -347,15 +356,6 @@ public interface FCMFactory extends EFactory { ConnectorConfiguration createConnectorConfiguration(); /** - * Returns a new object of class '<em>Extended Signature</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Extended Signature</em>'. - * @generated - */ - ExtendedSignature createExtendedSignature(); - - /** * Returns the package supported by this factory. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/FCMPackage.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/FCMPackage.java index 5ceb9c6c24d..5ae5e903c14 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/FCMPackage.java +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/FCMPackage.java @@ -77,49 +77,59 @@ public interface FCMPackage extends EPackage { int TEMPLATE = 0; /** - * The feature id for the '<em><b>Template Params</b></em>' reference list. + * The feature id for the '<em><b>Base Element</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int TEMPLATE__TEMPLATE_PARAMS = 0; + int TEMPLATE__BASE_ELEMENT = 0; /** - * The feature id for the '<em><b>Base Element</b></em>' reference. + * The feature id for the '<em><b>Helper</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int TEMPLATE__BASE_ELEMENT = 1; + int TEMPLATE__HELPER = 1; /** - * The feature id for the '<em><b>Kind</b></em>' attribute. + * The number of structural features of the '<em>Template</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int TEMPLATE__KIND = 2; + int TEMPLATE_FEATURE_COUNT = 2; /** - * The feature id for the '<em><b>Actual Choice</b></em>' attribute. + * The meta object id for the '{@link org.eclipse.papyrus.FCM.impl.BindingHelperImpl <em>Binding Helper</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.FCM.impl.BindingHelperImpl + * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getBindingHelper() + * @generated + */ + int BINDING_HELPER = 1; + + /** + * The feature id for the '<em><b>Base Class</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int TEMPLATE__ACTUAL_CHOICE = 3; + int BINDING_HELPER__BASE_CLASS = 0; /** - * The number of structural features of the '<em>Template</em>' class. + * The number of structural features of the '<em>Binding Helper</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int TEMPLATE_FEATURE_COUNT = 4; + int BINDING_HELPER_FEATURE_COUNT = 1; /** * The meta object id for the '{@link org.eclipse.papyrus.FCM.impl.ConfigurationPropertyImpl <em>Configuration Property</em>}' class. @@ -129,7 +139,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getConfigurationProperty() * @generated */ - int CONFIGURATION_PROPERTY = 1; + int CONFIGURATION_PROPERTY = 2; /** * The feature id for the '<em><b>Base Property</b></em>' reference. @@ -157,7 +167,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getImplementationGroup() * @generated */ - int IMPLEMENTATION_GROUP = 2; + int IMPLEMENTATION_GROUP = 3; /** * The feature id for the '<em><b>Base Class</b></em>' reference. @@ -185,7 +195,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getAssembly() * @generated */ - int ASSEMBLY = 3; + int ASSEMBLY = 4; /** * The feature id for the '<em><b>Base Class</b></em>' reference. @@ -213,7 +223,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getFlatten() * @generated */ - int FLATTEN = 4; + int FLATTEN = 5; /** * The feature id for the '<em><b>Base Class</b></em>' reference. @@ -241,7 +251,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getCompToOOmapping() * @generated */ - int COMP_TO_OOMAPPING = 5; + int COMP_TO_OOMAPPING = 6; /** * The feature id for the '<em><b>Base Class</b></em>' reference. @@ -269,7 +279,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getProgLanguage() * @generated */ - int PROG_LANGUAGE = 6; + int PROG_LANGUAGE = 7; /** * The feature id for the '<em><b>Base Class</b></em>' reference. @@ -297,7 +307,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getCodeGenOptions() * @generated */ - int CODE_GEN_OPTIONS = 7; + int CODE_GEN_OPTIONS = 8; /** * The feature id for the '<em><b>Base Package</b></em>' reference. @@ -343,7 +353,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getInteractionComponent() * @generated */ - int INTERACTION_COMPONENT = 8; + int INTERACTION_COMPONENT = 9; /** * The feature id for the '<em><b>For Distribution</b></em>' attribute. @@ -389,7 +399,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getSingleton() * @generated */ - int SINGLETON = 9; + int SINGLETON = 10; /** * The feature id for the '<em><b>Base Class</b></em>' reference. @@ -417,7 +427,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getConfigurableElementInstance() * @generated */ - int CONFIGURABLE_ELEMENT_INSTANCE = 11; + int CONFIGURABLE_ELEMENT_INSTANCE = 12; /** * The feature id for the '<em><b>Configuration</b></em>' reference. @@ -445,7 +455,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getConnector() * @generated */ - int CONNECTOR = 10; + int CONNECTOR = 11; /** * The feature id for the '<em><b>Configuration</b></em>' reference. @@ -500,7 +510,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getUseInstanceConfigurator() * @generated */ - int USE_INSTANCE_CONFIGURATOR = 12; + int USE_INSTANCE_CONFIGURATOR = 13; /** * The feature id for the '<em><b>Base Class</b></em>' reference. @@ -537,7 +547,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getInstanceConfigurator() * @generated */ - int INSTANCE_CONFIGURATOR = 13; + int INSTANCE_CONFIGURATOR = 14; /** * The feature id for the '<em><b>Base Class</b></em>' reference. @@ -549,13 +559,22 @@ public interface FCMPackage extends EPackage { int INSTANCE_CONFIGURATOR__BASE_CLASS = 0; /** + * The feature id for the '<em><b>On Node Model</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INSTANCE_CONFIGURATOR__ON_NODE_MODEL = 1; + + /** * The number of structural features of the '<em>Instance Configurator</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int INSTANCE_CONFIGURATOR_FEATURE_COUNT = 1; + int INSTANCE_CONFIGURATOR_FEATURE_COUNT = 2; /** * The meta object id for the '{@link org.eclipse.papyrus.FCM.impl.RuleApplicationImpl <em>Rule Application</em>}' class. @@ -565,7 +584,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getRuleApplication() * @generated */ - int RULE_APPLICATION = 14; + int RULE_APPLICATION = 15; /** * The feature id for the '<em><b>Base Class</b></em>' reference. @@ -611,7 +630,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getContainerRule() * @generated */ - int CONTAINER_RULE = 15; + int CONTAINER_RULE = 16; /** * The feature id for the '<em><b>Base Class</b></em>' reference. @@ -657,7 +676,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getConfigOption() * @generated */ - int CONFIG_OPTION = 16; + int CONFIG_OPTION = 17; /** * The feature id for the '<em><b>Base Class</b></em>' reference. @@ -685,7 +704,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getPort() * @generated */ - int PORT = 18; + int PORT = 19; /** * The feature id for the '<em><b>Configuration</b></em>' reference. @@ -749,7 +768,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getTemplatePort() * @generated */ - int TEMPLATE_PORT = 17; + int TEMPLATE_PORT = 18; /** * The feature id for the '<em><b>Configuration</b></em>' reference. @@ -822,7 +841,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getPortKind() * @generated */ - int PORT_KIND = 19; + int PORT_KIND = 20; /** * The feature id for the '<em><b>Base Class</b></em>' reference. @@ -877,7 +896,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getDeploymentPlan() * @generated */ - int DEPLOYMENT_PLAN = 20; + int DEPLOYMENT_PLAN = 21; /** * The feature id for the '<em><b>Main Instance</b></em>' reference. @@ -914,7 +933,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getDerivedElement() * @generated */ - int DERIVED_ELEMENT = 21; + int DERIVED_ELEMENT = 22; /** * The feature id for the '<em><b>Base Element</b></em>' reference. @@ -951,7 +970,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getCompImplTemplate() * @generated */ - int COMP_IMPL_TEMPLATE = 22; + int COMP_IMPL_TEMPLATE = 23; /** * The feature id for the '<em><b>Template Defs</b></em>' attribute. @@ -988,7 +1007,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getImplementationProperties() * @generated */ - int IMPLEMENTATION_PROPERTIES = 23; + int IMPLEMENTATION_PROPERTIES = 24; /** * The feature id for the '<em><b>Size RAM</b></em>' attribute. @@ -1061,7 +1080,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getOperatingSystem() * @generated */ - int OPERATING_SYSTEM = 24; + int OPERATING_SYSTEM = 25; /** * The feature id for the '<em><b>Base Class</b></em>' reference. @@ -1089,7 +1108,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getTargetArchitecture() * @generated */ - int TARGET_ARCHITECTURE = 25; + int TARGET_ARCHITECTURE = 26; /** * The feature id for the '<em><b>Base Class</b></em>' reference. @@ -1117,7 +1136,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getConfiguration() * @generated */ - int CONFIGURATION = 26; + int CONFIGURATION = 27; /** * The feature id for the '<em><b>Base Class</b></em>' reference. @@ -1163,7 +1182,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getInterceptionRule() * @generated */ - int INTERCEPTION_RULE = 27; + int INTERCEPTION_RULE = 28; /** * The feature id for the '<em><b>Interception Kind</b></em>' attribute. @@ -1218,7 +1237,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getTarget() * @generated */ - int TARGET = 28; + int TARGET = 29; /** * The feature id for the '<em><b>Target Arch</b></em>' reference. @@ -1300,7 +1319,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getCompilerChain() * @generated */ - int COMPILER_CHAIN = 29; + int COMPILER_CHAIN = 30; /** * The feature id for the '<em><b>Base Class</b></em>' reference. @@ -1328,7 +1347,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getFragment() * @generated */ - int FRAGMENT = 30; + int FRAGMENT = 31; /** * The feature id for the '<em><b>Base Class</b></em>' reference. @@ -1356,7 +1375,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getCopyAttributeValue() * @generated */ - int COPY_ATTRIBUTE_VALUE = 31; + int COPY_ATTRIBUTE_VALUE = 32; /** * The feature id for the '<em><b>Source</b></em>' reference. @@ -1393,7 +1412,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getAutoIndex() * @generated */ - int AUTO_INDEX = 32; + int AUTO_INDEX = 33; /** * The feature id for the '<em><b>Base Property</b></em>' reference. @@ -1421,7 +1440,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getAutoIndexPerNode() * @generated */ - int AUTO_INDEX_PER_NODE = 33; + int AUTO_INDEX_PER_NODE = 34; /** * The feature id for the '<em><b>Base Property</b></em>' reference. @@ -1449,7 +1468,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getInitPrecedence() * @generated */ - int INIT_PRECEDENCE = 34; + int INIT_PRECEDENCE = 35; /** * The feature id for the '<em><b>Invoke After</b></em>' reference list. @@ -1495,7 +1514,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getConnectorConfiguration() * @generated */ - int CONNECTOR_CONFIGURATION = 35; + int CONNECTOR_CONFIGURATION = 36; /** * The feature id for the '<em><b>Base Slot</b></em>' reference. @@ -1525,63 +1544,6 @@ public interface FCMPackage extends EPackage { int CONNECTOR_CONFIGURATION_FEATURE_COUNT = 2; /** - * The meta object id for the '{@link org.eclipse.papyrus.FCM.impl.ExtendedSignatureImpl <em>Extended Signature</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.FCM.impl.ExtendedSignatureImpl - * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getExtendedSignature() - * @generated - */ - int EXTENDED_SIGNATURE = 36; - - /** - * The feature id for the '<em><b>Base Template Signature</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EXTENDED_SIGNATURE__BASE_TEMPLATE_SIGNATURE = 0; - - /** - * The feature id for the '<em><b>Base Signature</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EXTENDED_SIGNATURE__BASE_SIGNATURE = 1; - - /** - * The number of structural features of the '<em>Extended Signature</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EXTENDED_SIGNATURE_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.FCM.TemplateKind <em>Template Kind</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.FCM.TemplateKind - * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getTemplateKind() - * @generated - */ - int TEMPLATE_KIND = 37; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.FCM.ActualChoice <em>Actual Choice</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.FCM.ActualChoice - * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getActualChoice() - * @generated - */ - int ACTUAL_CHOICE = 38; - - /** * The meta object id for the '{@link org.eclipse.papyrus.FCM.ContainerRuleKind <em>Container Rule Kind</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1589,7 +1551,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getContainerRuleKind() * @generated */ - int CONTAINER_RULE_KIND = 39; + int CONTAINER_RULE_KIND = 37; /** * The meta object id for the '{@link org.eclipse.papyrus.FCM.InterceptionKind <em>Interception Kind</em>}' enum. @@ -1599,7 +1561,7 @@ public interface FCMPackage extends EPackage { * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getInterceptionKind() * @generated */ - int INTERCEPTION_KIND = 40; + int INTERCEPTION_KIND = 38; /** @@ -1613,48 +1575,47 @@ public interface FCMPackage extends EPackage { EClass getTemplate(); /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.FCM.Template#getTemplateParams <em>Template Params</em>}'. + * Returns the meta object for the reference '{@link org.eclipse.papyrus.FCM.Template#getBase_Element <em>Base Element</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Template Params</em>'. - * @see org.eclipse.papyrus.FCM.Template#getTemplateParams() + * @return the meta object for the reference '<em>Base Element</em>'. + * @see org.eclipse.papyrus.FCM.Template#getBase_Element() * @see #getTemplate() * @generated */ - EReference getTemplate_TemplateParams(); + EReference getTemplate_Base_Element(); /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.FCM.Template#getBase_Element <em>Base Element</em>}'. + * Returns the meta object for the reference '{@link org.eclipse.papyrus.FCM.Template#getHelper <em>Helper</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Element</em>'. - * @see org.eclipse.papyrus.FCM.Template#getBase_Element() + * @return the meta object for the reference '<em>Helper</em>'. + * @see org.eclipse.papyrus.FCM.Template#getHelper() * @see #getTemplate() * @generated */ - EReference getTemplate_Base_Element(); + EReference getTemplate_Helper(); /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.FCM.Template#getKind <em>Kind</em>}'. + * Returns the meta object for class '{@link org.eclipse.papyrus.FCM.BindingHelper <em>Binding Helper</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Kind</em>'. - * @see org.eclipse.papyrus.FCM.Template#getKind() - * @see #getTemplate() + * @return the meta object for class '<em>Binding Helper</em>'. + * @see org.eclipse.papyrus.FCM.BindingHelper * @generated */ - EAttribute getTemplate_Kind(); + EClass getBindingHelper(); /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.FCM.Template#getActualChoice <em>Actual Choice</em>}'. + * Returns the meta object for the reference '{@link org.eclipse.papyrus.FCM.BindingHelper#getBase_Class <em>Base Class</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Actual Choice</em>'. - * @see org.eclipse.papyrus.FCM.Template#getActualChoice() - * @see #getTemplate() + * @return the meta object for the reference '<em>Base Class</em>'. + * @see org.eclipse.papyrus.FCM.BindingHelper#getBase_Class() + * @see #getBindingHelper() * @generated */ - EAttribute getTemplate_ActualChoice(); + EReference getBindingHelper_Base_Class(); /** * Returns the meta object for class '{@link org.eclipse.papyrus.FCM.ConfigurationProperty <em>Configuration Property</em>}'. @@ -2007,6 +1968,17 @@ public interface FCMPackage extends EPackage { EReference getInstanceConfigurator_Base_Class(); /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.FCM.InstanceConfigurator#isOnNodeModel <em>On Node Model</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>On Node Model</em>'. + * @see org.eclipse.papyrus.FCM.InstanceConfigurator#isOnNodeModel() + * @see #getInstanceConfigurator() + * @generated + */ + EAttribute getInstanceConfigurator_OnNodeModel(); + + /** * Returns the meta object for class '{@link org.eclipse.papyrus.FCM.RuleApplication <em>Rule Application</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2821,58 +2793,6 @@ public interface FCMPackage extends EPackage { EReference getConnectorConfiguration_Connector(); /** - * Returns the meta object for class '{@link org.eclipse.papyrus.FCM.ExtendedSignature <em>Extended Signature</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Extended Signature</em>'. - * @see org.eclipse.papyrus.FCM.ExtendedSignature - * @generated - */ - EClass getExtendedSignature(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.FCM.ExtendedSignature#getBase_TemplateSignature <em>Base Template Signature</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Template Signature</em>'. - * @see org.eclipse.papyrus.FCM.ExtendedSignature#getBase_TemplateSignature() - * @see #getExtendedSignature() - * @generated - */ - EReference getExtendedSignature_Base_TemplateSignature(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.FCM.ExtendedSignature#getBaseSignature <em>Base Signature</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Signature</em>'. - * @see org.eclipse.papyrus.FCM.ExtendedSignature#getBaseSignature() - * @see #getExtendedSignature() - * @generated - */ - EReference getExtendedSignature_BaseSignature(); - - /** - * Returns the meta object for enum '{@link org.eclipse.papyrus.FCM.TemplateKind <em>Template Kind</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Template Kind</em>'. - * @see org.eclipse.papyrus.FCM.TemplateKind - * @generated - */ - EEnum getTemplateKind(); - - /** - * Returns the meta object for enum '{@link org.eclipse.papyrus.FCM.ActualChoice <em>Actual Choice</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Actual Choice</em>'. - * @see org.eclipse.papyrus.FCM.ActualChoice - * @generated - */ - EEnum getActualChoice(); - - /** * Returns the meta object for enum '{@link org.eclipse.papyrus.FCM.ContainerRuleKind <em>Container Rule Kind</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2925,36 +2845,38 @@ public interface FCMPackage extends EPackage { EClass TEMPLATE = eINSTANCE.getTemplate(); /** - * The meta object literal for the '<em><b>Template Params</b></em>' reference list feature. + * The meta object literal for the '<em><b>Base Element</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - EReference TEMPLATE__TEMPLATE_PARAMS = eINSTANCE.getTemplate_TemplateParams(); + EReference TEMPLATE__BASE_ELEMENT = eINSTANCE.getTemplate_Base_Element(); /** - * The meta object literal for the '<em><b>Base Element</b></em>' reference feature. + * The meta object literal for the '<em><b>Helper</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - EReference TEMPLATE__BASE_ELEMENT = eINSTANCE.getTemplate_Base_Element(); + EReference TEMPLATE__HELPER = eINSTANCE.getTemplate_Helper(); /** - * The meta object literal for the '<em><b>Kind</b></em>' attribute feature. + * The meta object literal for the '{@link org.eclipse.papyrus.FCM.impl.BindingHelperImpl <em>Binding Helper</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> + * @see org.eclipse.papyrus.FCM.impl.BindingHelperImpl + * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getBindingHelper() * @generated */ - EAttribute TEMPLATE__KIND = eINSTANCE.getTemplate_Kind(); + EClass BINDING_HELPER = eINSTANCE.getBindingHelper(); /** - * The meta object literal for the '<em><b>Actual Choice</b></em>' attribute feature. + * The meta object literal for the '<em><b>Base Class</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - EAttribute TEMPLATE__ACTUAL_CHOICE = eINSTANCE.getTemplate_ActualChoice(); + EReference BINDING_HELPER__BASE_CLASS = eINSTANCE.getBindingHelper_Base_Class(); /** * The meta object literal for the '{@link org.eclipse.papyrus.FCM.impl.ConfigurationPropertyImpl <em>Configuration Property</em>}' class. @@ -3247,6 +3169,14 @@ public interface FCMPackage extends EPackage { EReference INSTANCE_CONFIGURATOR__BASE_CLASS = eINSTANCE.getInstanceConfigurator_Base_Class(); /** + * The meta object literal for the '<em><b>On Node Model</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute INSTANCE_CONFIGURATOR__ON_NODE_MODEL = eINSTANCE.getInstanceConfigurator_OnNodeModel(); + + /** * The meta object literal for the '{@link org.eclipse.papyrus.FCM.impl.RuleApplicationImpl <em>Rule Application</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -3899,52 +3829,6 @@ public interface FCMPackage extends EPackage { EReference CONNECTOR_CONFIGURATION__CONNECTOR = eINSTANCE.getConnectorConfiguration_Connector(); /** - * The meta object literal for the '{@link org.eclipse.papyrus.FCM.impl.ExtendedSignatureImpl <em>Extended Signature</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.FCM.impl.ExtendedSignatureImpl - * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getExtendedSignature() - * @generated - */ - EClass EXTENDED_SIGNATURE = eINSTANCE.getExtendedSignature(); - - /** - * The meta object literal for the '<em><b>Base Template Signature</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference EXTENDED_SIGNATURE__BASE_TEMPLATE_SIGNATURE = eINSTANCE.getExtendedSignature_Base_TemplateSignature(); - - /** - * The meta object literal for the '<em><b>Base Signature</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference EXTENDED_SIGNATURE__BASE_SIGNATURE = eINSTANCE.getExtendedSignature_BaseSignature(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.FCM.TemplateKind <em>Template Kind</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.FCM.TemplateKind - * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getTemplateKind() - * @generated - */ - EEnum TEMPLATE_KIND = eINSTANCE.getTemplateKind(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.FCM.ActualChoice <em>Actual Choice</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.FCM.ActualChoice - * @see org.eclipse.papyrus.FCM.impl.FCMPackageImpl#getActualChoice() - * @generated - */ - EEnum ACTUAL_CHOICE = eINSTANCE.getActualChoice(); - - /** * The meta object literal for the '{@link org.eclipse.papyrus.FCM.ContainerRuleKind <em>Container Rule Kind</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/InstanceConfigurator.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/InstanceConfigurator.java index ea8df0b12f3..1985f855d45 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/InstanceConfigurator.java +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/InstanceConfigurator.java @@ -23,6 +23,7 @@ import org.eclipse.emf.ecore.EObject; * The following features are supported: * <ul> * <li>{@link org.eclipse.papyrus.FCM.InstanceConfigurator#getBase_Class <em>Base Class</em>}</li> + * <li>{@link org.eclipse.papyrus.FCM.InstanceConfigurator#isOnNodeModel <em>On Node Model</em>}</li> * </ul> * </p> * @@ -57,4 +58,30 @@ public interface InstanceConfigurator extends EObject { */ void setBase_Class(org.eclipse.uml2.uml.Class value); + /** + * Returns the value of the '<em><b>On Node Model</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>On Node Model</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>On Node Model</em>' attribute. + * @see #setOnNodeModel(boolean) + * @see org.eclipse.papyrus.FCM.FCMPackage#getInstanceConfigurator_OnNodeModel() + * @model dataType="org.eclipse.uml2.types.Boolean" ordered="false" + * @generated + */ + boolean isOnNodeModel(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.FCM.InstanceConfigurator#isOnNodeModel <em>On Node Model</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>On Node Model</em>' attribute. + * @see #isOnNodeModel() + * @generated + */ + void setOnNodeModel(boolean value); + } // InstanceConfigurator diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/Template.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/Template.java index d4b3af7562a..f092edf336a 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/Template.java +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/Template.java @@ -31,10 +31,8 @@ import org.eclipse.uml2.uml.Element; * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.papyrus.FCM.Template#getTemplateParams <em>Template Params</em>}</li> * <li>{@link org.eclipse.papyrus.FCM.Template#getBase_Element <em>Base Element</em>}</li> - * <li>{@link org.eclipse.papyrus.FCM.Template#getKind <em>Kind</em>}</li> - * <li>{@link org.eclipse.papyrus.FCM.Template#getActualChoice <em>Actual Choice</em>}</li> + * <li>{@link org.eclipse.papyrus.FCM.Template#getHelper <em>Helper</em>}</li> * </ul> * </p> * @@ -44,22 +42,6 @@ import org.eclipse.uml2.uml.Element; */ public interface Template extends EObject { /** - * Returns the value of the '<em><b>Template Params</b></em>' reference list. - * The list contents are of type {@link org.eclipse.uml2.uml.Classifier}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Template Params</em>' reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Template Params</em>' reference list. - * @see org.eclipse.papyrus.FCM.FCMPackage#getTemplate_TemplateParams() - * @model ordered="false" - * @generated - */ - EList<Classifier> getTemplateParams(); - - /** * Returns the value of the '<em><b>Base Element</b></em>' reference. * <!-- begin-user-doc --> * <p> @@ -86,61 +68,29 @@ public interface Template extends EObject { void setBase_Element(Element value); /** - * Returns the value of the '<em><b>Kind</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.papyrus.FCM.TemplateKind}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Kind</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Kind</em>' attribute. - * @see org.eclipse.papyrus.FCM.TemplateKind - * @see #setKind(TemplateKind) - * @see org.eclipse.papyrus.FCM.FCMPackage#getTemplate_Kind() - * @model unique="false" required="true" ordered="false" - * @generated - */ - TemplateKind getKind(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.FCM.Template#getKind <em>Kind</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Kind</em>' attribute. - * @see org.eclipse.papyrus.FCM.TemplateKind - * @see #getKind() - * @generated - */ - void setKind(TemplateKind value); - - /** - * Returns the value of the '<em><b>Actual Choice</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.papyrus.FCM.ActualChoice}. + * Returns the value of the '<em><b>Helper</b></em>' reference. * <!-- begin-user-doc --> * <p> - * If the meaning of the '<em>Actual Choice</em>' attribute isn't clear, + * If the meaning of the '<em>Helper</em>' reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> - * @return the value of the '<em>Actual Choice</em>' attribute. - * @see org.eclipse.papyrus.FCM.ActualChoice - * @see #setActualChoice(ActualChoice) - * @see org.eclipse.papyrus.FCM.FCMPackage#getTemplate_ActualChoice() - * @model unique="false" ordered="false" + * @return the value of the '<em>Helper</em>' reference. + * @see #setHelper(BindingHelper) + * @see org.eclipse.papyrus.FCM.FCMPackage#getTemplate_Helper() + * @model ordered="false" * @generated */ - ActualChoice getActualChoice(); + BindingHelper getHelper(); /** - * Sets the value of the '{@link org.eclipse.papyrus.FCM.Template#getActualChoice <em>Actual Choice</em>}' attribute. + * Sets the value of the '{@link org.eclipse.papyrus.FCM.Template#getHelper <em>Helper</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @param value the new value of the '<em>Actual Choice</em>' attribute. - * @see org.eclipse.papyrus.FCM.ActualChoice - * @see #getActualChoice() + * @param value the new value of the '<em>Helper</em>' reference. + * @see #getHelper() * @generated */ - void setActualChoice(ActualChoice value); + void setHelper(BindingHelper value); } // Template diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/TemplateKind.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/TemplateKind.java deleted file mode 100644 index 8232b914de1..00000000000 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/TemplateKind.java +++ /dev/null @@ -1,379 +0,0 @@ -/** - * Copyright (c) 2013 CEA LIST - * - * 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: - * Ansgar Radermacher - Initial API and implementation - * - */ -package org.eclipse.papyrus.FCM; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Template Kind</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.FCM.FCMPackage#getTemplateKind() - * @model - * @generated - */ -public enum TemplateKind implements Enumerator { - /** - * The '<em><b>Pass Formal</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #PASS_FORMAL_VALUE - * @generated - * @ordered - */ - PASS_FORMAL(0, "PassFormal", "PassFormal"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Loop Operations</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #LOOP_OPERATIONS_VALUE - * @generated - * @ordered - */ - LOOP_OPERATIONS(1, "LoopOperations", "LoopOperations"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Loop Property</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #LOOP_PROPERTY_VALUE - * @generated - * @ordered - */ - LOOP_PROPERTY(2, "LoopProperty", "LoopProperty"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Accumulate</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #ACCUMULATE_VALUE - * @generated - * @ordered - */ - ACCUMULATE(3, "Accumulate", "Accumulate"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Loop Literals</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #LOOP_LITERALS_VALUE - * @generated - * @ordered - */ - LOOP_LITERALS(4, "LoopLiterals", "LoopLiterals"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Late Evaluation</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #LATE_EVALUATION_VALUE - * @generated - * @ordered - */ - LATE_EVALUATION(5, "LateEvaluation", "LateEvaluation"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Loop Ports</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #LOOP_PORTS_VALUE - * @generated - * @ordered - */ - LOOP_PORTS(6, "LoopPorts", "LoopPorts"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Pass Classifier</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #PASS_CLASSIFIER_VALUE - * @generated - * @ordered - */ - PASS_CLASSIFIER(7, "PassClassifier", "PassClassifier"); //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Pass Formal</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Pass Formal</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #PASS_FORMAL - * @model name="PassFormal" - * @generated - * @ordered - */ - public static final int PASS_FORMAL_VALUE = 0; - - /** - * The '<em><b>Loop Operations</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Loop Operations</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #LOOP_OPERATIONS - * @model name="LoopOperations" - * @generated - * @ordered - */ - public static final int LOOP_OPERATIONS_VALUE = 1; - - /** - * The '<em><b>Loop Property</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Loop Property</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #LOOP_PROPERTY - * @model name="LoopProperty" - * @generated - * @ordered - */ - public static final int LOOP_PROPERTY_VALUE = 2; - - /** - * The '<em><b>Accumulate</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Accumulate</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #ACCUMULATE - * @model name="Accumulate" - * @generated - * @ordered - */ - public static final int ACCUMULATE_VALUE = 3; - - /** - * The '<em><b>Loop Literals</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Loop Literals</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #LOOP_LITERALS - * @model name="LoopLiterals" - * @generated - * @ordered - */ - public static final int LOOP_LITERALS_VALUE = 4; - - /** - * The '<em><b>Late Evaluation</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * LateEvaluation is more a tempalte binding rather than a template definition. In - * <!-- end-model-doc --> - * @see #LATE_EVALUATION - * @model name="LateEvaluation" - * @generated - * @ordered - */ - public static final int LATE_EVALUATION_VALUE = 5; - - /** - * The '<em><b>Loop Ports</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Loop Ports</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #LOOP_PORTS - * @model name="LoopPorts" - * @generated - * @ordered - */ - public static final int LOOP_PORTS_VALUE = 6; - - /** - * The '<em><b>Pass Classifier</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Pass Classifier</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #PASS_CLASSIFIER - * @model name="PassClassifier" - * @generated - * @ordered - */ - public static final int PASS_CLASSIFIER_VALUE = 7; - - /** - * An array of all the '<em><b>Template Kind</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final TemplateKind[] VALUES_ARRAY = - new TemplateKind[] { - PASS_FORMAL, - LOOP_OPERATIONS, - LOOP_PROPERTY, - ACCUMULATE, - LOOP_LITERALS, - LATE_EVALUATION, - LOOP_PORTS, - PASS_CLASSIFIER, - }; - - /** - * A public read-only list of all the '<em><b>Template Kind</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<TemplateKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Template Kind</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static TemplateKind get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - TemplateKind result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Template Kind</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static TemplateKind getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - TemplateKind result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Template Kind</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static TemplateKind get(int value) { - switch (value) { - case PASS_FORMAL_VALUE: return PASS_FORMAL; - case LOOP_OPERATIONS_VALUE: return LOOP_OPERATIONS; - case LOOP_PROPERTY_VALUE: return LOOP_PROPERTY; - case ACCUMULATE_VALUE: return ACCUMULATE; - case LOOP_LITERALS_VALUE: return LOOP_LITERALS; - case LATE_EVALUATION_VALUE: return LATE_EVALUATION; - case LOOP_PORTS_VALUE: return LOOP_PORTS; - case PASS_CLASSIFIER_VALUE: return PASS_CLASSIFIER; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private TemplateKind(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //TemplateKind diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/BindingHelperImpl.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/BindingHelperImpl.java new file mode 100644 index 00000000000..6c65ad464f2 --- /dev/null +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/BindingHelperImpl.java @@ -0,0 +1,165 @@ +/** + * Copyright (c) 2013 CEA LIST + * + * 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: + * Ansgar Radermacher - Initial API and implementation + * + */ +package org.eclipse.papyrus.FCM.impl; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.papyrus.FCM.BindingHelper; +import org.eclipse.papyrus.FCM.FCMPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Binding Helper</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.papyrus.FCM.impl.BindingHelperImpl#getBase_Class <em>Base Class</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class BindingHelperImpl extends EObjectImpl implements BindingHelper { + /** + * The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Class() + * @generated + * @ordered + */ + protected org.eclipse.uml2.uml.Class base_Class; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected BindingHelperImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return FCMPackage.Literals.BINDING_HELPER; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public org.eclipse.uml2.uml.Class getBase_Class() { + if (base_Class != null && base_Class.eIsProxy()) { + InternalEObject oldBase_Class = (InternalEObject)base_Class; + base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class); + if (base_Class != oldBase_Class) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, FCMPackage.BINDING_HELPER__BASE_CLASS, oldBase_Class, base_Class)); + } + } + return base_Class; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public org.eclipse.uml2.uml.Class basicGetBase_Class() { + return base_Class; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Class(org.eclipse.uml2.uml.Class newBase_Class) { + org.eclipse.uml2.uml.Class oldBase_Class = base_Class; + base_Class = newBase_Class; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FCMPackage.BINDING_HELPER__BASE_CLASS, oldBase_Class, base_Class)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case FCMPackage.BINDING_HELPER__BASE_CLASS: + if (resolve) return getBase_Class(); + return basicGetBase_Class(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case FCMPackage.BINDING_HELPER__BASE_CLASS: + setBase_Class((org.eclipse.uml2.uml.Class)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case FCMPackage.BINDING_HELPER__BASE_CLASS: + setBase_Class((org.eclipse.uml2.uml.Class)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case FCMPackage.BINDING_HELPER__BASE_CLASS: + return base_Class != null; + } + return super.eIsSet(featureID); + } + +} //BindingHelperImpl diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/ExtendedSignatureImpl.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/ExtendedSignatureImpl.java deleted file mode 100644 index add46b13ca1..00000000000 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/ExtendedSignatureImpl.java +++ /dev/null @@ -1,228 +0,0 @@ -/** - * Copyright (c) 2013 CEA LIST - * - * 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: - * Ansgar Radermacher - Initial API and implementation - * - */ -package org.eclipse.papyrus.FCM.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.papyrus.FCM.ExtendedSignature; -import org.eclipse.papyrus.FCM.FCMPackage; - -import org.eclipse.uml2.uml.TemplateSignature; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Extended Signature</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.papyrus.FCM.impl.ExtendedSignatureImpl#getBase_TemplateSignature <em>Base Template Signature</em>}</li> - * <li>{@link org.eclipse.papyrus.FCM.impl.ExtendedSignatureImpl#getBaseSignature <em>Base Signature</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ExtendedSignatureImpl extends EObjectImpl implements ExtendedSignature { - /** - * The cached value of the '{@link #getBase_TemplateSignature() <em>Base Template Signature</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_TemplateSignature() - * @generated - * @ordered - */ - protected TemplateSignature base_TemplateSignature; - - /** - * The cached value of the '{@link #getBaseSignature() <em>Base Signature</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBaseSignature() - * @generated - * @ordered - */ - protected TemplateSignature baseSignature; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ExtendedSignatureImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return FCMPackage.Literals.EXTENDED_SIGNATURE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TemplateSignature getBase_TemplateSignature() { - if (base_TemplateSignature != null && base_TemplateSignature.eIsProxy()) { - InternalEObject oldBase_TemplateSignature = (InternalEObject)base_TemplateSignature; - base_TemplateSignature = (TemplateSignature)eResolveProxy(oldBase_TemplateSignature); - if (base_TemplateSignature != oldBase_TemplateSignature) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, FCMPackage.EXTENDED_SIGNATURE__BASE_TEMPLATE_SIGNATURE, oldBase_TemplateSignature, base_TemplateSignature)); - } - } - return base_TemplateSignature; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TemplateSignature basicGetBase_TemplateSignature() { - return base_TemplateSignature; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_TemplateSignature(TemplateSignature newBase_TemplateSignature) { - TemplateSignature oldBase_TemplateSignature = base_TemplateSignature; - base_TemplateSignature = newBase_TemplateSignature; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FCMPackage.EXTENDED_SIGNATURE__BASE_TEMPLATE_SIGNATURE, oldBase_TemplateSignature, base_TemplateSignature)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TemplateSignature getBaseSignature() { - if (baseSignature != null && baseSignature.eIsProxy()) { - InternalEObject oldBaseSignature = (InternalEObject)baseSignature; - baseSignature = (TemplateSignature)eResolveProxy(oldBaseSignature); - if (baseSignature != oldBaseSignature) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, FCMPackage.EXTENDED_SIGNATURE__BASE_SIGNATURE, oldBaseSignature, baseSignature)); - } - } - return baseSignature; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TemplateSignature basicGetBaseSignature() { - return baseSignature; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBaseSignature(TemplateSignature newBaseSignature) { - TemplateSignature oldBaseSignature = baseSignature; - baseSignature = newBaseSignature; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FCMPackage.EXTENDED_SIGNATURE__BASE_SIGNATURE, oldBaseSignature, baseSignature)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FCMPackage.EXTENDED_SIGNATURE__BASE_TEMPLATE_SIGNATURE: - if (resolve) return getBase_TemplateSignature(); - return basicGetBase_TemplateSignature(); - case FCMPackage.EXTENDED_SIGNATURE__BASE_SIGNATURE: - if (resolve) return getBaseSignature(); - return basicGetBaseSignature(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FCMPackage.EXTENDED_SIGNATURE__BASE_TEMPLATE_SIGNATURE: - setBase_TemplateSignature((TemplateSignature)newValue); - return; - case FCMPackage.EXTENDED_SIGNATURE__BASE_SIGNATURE: - setBaseSignature((TemplateSignature)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FCMPackage.EXTENDED_SIGNATURE__BASE_TEMPLATE_SIGNATURE: - setBase_TemplateSignature((TemplateSignature)null); - return; - case FCMPackage.EXTENDED_SIGNATURE__BASE_SIGNATURE: - setBaseSignature((TemplateSignature)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FCMPackage.EXTENDED_SIGNATURE__BASE_TEMPLATE_SIGNATURE: - return base_TemplateSignature != null; - case FCMPackage.EXTENDED_SIGNATURE__BASE_SIGNATURE: - return baseSignature != null; - } - return super.eIsSet(featureID); - } - -} //ExtendedSignatureImpl diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/FCMFactoryImpl.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/FCMFactoryImpl.java index b3f9b991c7c..220b9d4ee85 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/FCMFactoryImpl.java +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/FCMFactoryImpl.java @@ -68,6 +68,7 @@ public class FCMFactoryImpl extends EFactoryImpl implements FCMFactory { public EObject create(EClass eClass) { switch (eClass.getClassifierID()) { case FCMPackage.TEMPLATE: return createTemplate(); + case FCMPackage.BINDING_HELPER: return createBindingHelper(); case FCMPackage.CONFIGURATION_PROPERTY: return createConfigurationProperty(); case FCMPackage.IMPLEMENTATION_GROUP: return createImplementationGroup(); case FCMPackage.ASSEMBLY: return createAssembly(); @@ -102,7 +103,6 @@ public class FCMFactoryImpl extends EFactoryImpl implements FCMFactory { case FCMPackage.AUTO_INDEX_PER_NODE: return createAutoIndexPerNode(); case FCMPackage.INIT_PRECEDENCE: return createInitPrecedence(); case FCMPackage.CONNECTOR_CONFIGURATION: return createConnectorConfiguration(); - case FCMPackage.EXTENDED_SIGNATURE: return createExtendedSignature(); default: throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ } @@ -116,10 +116,6 @@ public class FCMFactoryImpl extends EFactoryImpl implements FCMFactory { @Override public Object createFromString(EDataType eDataType, String initialValue) { switch (eDataType.getClassifierID()) { - case FCMPackage.TEMPLATE_KIND: - return createTemplateKindFromString(eDataType, initialValue); - case FCMPackage.ACTUAL_CHOICE: - return createActualChoiceFromString(eDataType, initialValue); case FCMPackage.CONTAINER_RULE_KIND: return createContainerRuleKindFromString(eDataType, initialValue); case FCMPackage.INTERCEPTION_KIND: @@ -137,10 +133,6 @@ public class FCMFactoryImpl extends EFactoryImpl implements FCMFactory { @Override public String convertToString(EDataType eDataType, Object instanceValue) { switch (eDataType.getClassifierID()) { - case FCMPackage.TEMPLATE_KIND: - return convertTemplateKindToString(eDataType, instanceValue); - case FCMPackage.ACTUAL_CHOICE: - return convertActualChoiceToString(eDataType, instanceValue); case FCMPackage.CONTAINER_RULE_KIND: return convertContainerRuleKindToString(eDataType, instanceValue); case FCMPackage.INTERCEPTION_KIND: @@ -165,6 +157,16 @@ public class FCMFactoryImpl extends EFactoryImpl implements FCMFactory { * <!-- end-user-doc --> * @generated */ + public BindingHelper createBindingHelper() { + BindingHelperImpl bindingHelper = new BindingHelperImpl(); + return bindingHelper; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ public ConfigurationProperty createConfigurationProperty() { ConfigurationPropertyImpl configurationProperty = new ConfigurationPropertyImpl(); return configurationProperty; @@ -505,56 +507,6 @@ public class FCMFactoryImpl extends EFactoryImpl implements FCMFactory { * <!-- end-user-doc --> * @generated */ - public ExtendedSignature createExtendedSignature() { - ExtendedSignatureImpl extendedSignature = new ExtendedSignatureImpl(); - return extendedSignature; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TemplateKind createTemplateKindFromString(EDataType eDataType, String initialValue) { - TemplateKind result = TemplateKind.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertTemplateKindToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ActualChoice createActualChoiceFromString(EDataType eDataType, String initialValue) { - ActualChoice result = ActualChoice.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertActualChoiceToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ public ContainerRuleKind createContainerRuleKindFromString(EDataType eDataType, String initialValue) { ContainerRuleKind result = ContainerRuleKind.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/FCMPackageImpl.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/FCMPackageImpl.java index ca730c62460..ef9f923f83f 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/FCMPackageImpl.java +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/FCMPackageImpl.java @@ -17,13 +17,11 @@ import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EEnum; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; - import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.papyrus.FCM.ActualChoice; import org.eclipse.papyrus.FCM.Assembly; import org.eclipse.papyrus.FCM.AutoIndex; import org.eclipse.papyrus.FCM.AutoIndexPerNode; +import org.eclipse.papyrus.FCM.BindingHelper; import org.eclipse.papyrus.FCM.CodeGenOptions; import org.eclipse.papyrus.FCM.CompImplTemplate; import org.eclipse.papyrus.FCM.CompToOOmapping; @@ -39,7 +37,6 @@ import org.eclipse.papyrus.FCM.ContainerRuleKind; import org.eclipse.papyrus.FCM.CopyAttributeValue; import org.eclipse.papyrus.FCM.DeploymentPlan; import org.eclipse.papyrus.FCM.DerivedElement; -import org.eclipse.papyrus.FCM.ExtendedSignature; import org.eclipse.papyrus.FCM.FCMFactory; import org.eclipse.papyrus.FCM.FCMPackage; import org.eclipse.papyrus.FCM.Flatten; @@ -60,12 +57,9 @@ import org.eclipse.papyrus.FCM.Singleton; import org.eclipse.papyrus.FCM.Target; import org.eclipse.papyrus.FCM.TargetArchitecture; import org.eclipse.papyrus.FCM.Template; -import org.eclipse.papyrus.FCM.TemplateKind; import org.eclipse.papyrus.FCM.TemplatePort; import org.eclipse.papyrus.FCM.UseInstanceConfigurator; - import org.eclipse.uml2.types.TypesPackage; - import org.eclipse.uml2.uml.UMLPackage; /** @@ -87,6 +81,13 @@ public class FCMPackageImpl extends EPackageImpl implements FCMPackage { * <!-- end-user-doc --> * @generated */ + private EClass bindingHelperEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ private EClass configurationPropertyEClass = null; /** @@ -332,27 +333,6 @@ public class FCMPackageImpl extends EPackageImpl implements FCMPackage { * <!-- end-user-doc --> * @generated */ - private EClass extendedSignatureEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum templateKindEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum actualChoiceEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ private EEnum containerRuleKindEEnum = null; /** @@ -440,7 +420,7 @@ public class FCMPackageImpl extends EPackageImpl implements FCMPackage { * <!-- end-user-doc --> * @generated */ - public EReference getTemplate_TemplateParams() { + public EReference getTemplate_Base_Element() { return (EReference)templateEClass.getEStructuralFeatures().get(0); } @@ -449,7 +429,7 @@ public class FCMPackageImpl extends EPackageImpl implements FCMPackage { * <!-- end-user-doc --> * @generated */ - public EReference getTemplate_Base_Element() { + public EReference getTemplate_Helper() { return (EReference)templateEClass.getEStructuralFeatures().get(1); } @@ -458,8 +438,8 @@ public class FCMPackageImpl extends EPackageImpl implements FCMPackage { * <!-- end-user-doc --> * @generated */ - public EAttribute getTemplate_Kind() { - return (EAttribute)templateEClass.getEStructuralFeatures().get(2); + public EClass getBindingHelper() { + return bindingHelperEClass; } /** @@ -467,8 +447,8 @@ public class FCMPackageImpl extends EPackageImpl implements FCMPackage { * <!-- end-user-doc --> * @generated */ - public EAttribute getTemplate_ActualChoice() { - return (EAttribute)templateEClass.getEStructuralFeatures().get(3); + public EReference getBindingHelper_Base_Class() { + return (EReference)bindingHelperEClass.getEStructuralFeatures().get(0); } /** @@ -773,6 +753,15 @@ public class FCMPackageImpl extends EPackageImpl implements FCMPackage { * <!-- end-user-doc --> * @generated */ + public EAttribute getInstanceConfigurator_OnNodeModel() { + return (EAttribute)instanceConfiguratorEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ public EClass getRuleApplication() { return ruleApplicationEClass; } @@ -1457,51 +1446,6 @@ public class FCMPackageImpl extends EPackageImpl implements FCMPackage { * <!-- end-user-doc --> * @generated */ - public EClass getExtendedSignature() { - return extendedSignatureEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getExtendedSignature_Base_TemplateSignature() { - return (EReference)extendedSignatureEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getExtendedSignature_BaseSignature() { - return (EReference)extendedSignatureEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getTemplateKind() { - return templateKindEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getActualChoice() { - return actualChoiceEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ public EEnum getContainerRuleKind() { return containerRuleKindEEnum; } @@ -1544,10 +1488,11 @@ public class FCMPackageImpl extends EPackageImpl implements FCMPackage { // Create classes and their features templateEClass = createEClass(TEMPLATE); - createEReference(templateEClass, TEMPLATE__TEMPLATE_PARAMS); createEReference(templateEClass, TEMPLATE__BASE_ELEMENT); - createEAttribute(templateEClass, TEMPLATE__KIND); - createEAttribute(templateEClass, TEMPLATE__ACTUAL_CHOICE); + createEReference(templateEClass, TEMPLATE__HELPER); + + bindingHelperEClass = createEClass(BINDING_HELPER); + createEReference(bindingHelperEClass, BINDING_HELPER__BASE_CLASS); configurationPropertyEClass = createEClass(CONFIGURATION_PROPERTY); createEReference(configurationPropertyEClass, CONFIGURATION_PROPERTY__BASE_PROPERTY); @@ -1594,6 +1539,7 @@ public class FCMPackageImpl extends EPackageImpl implements FCMPackage { instanceConfiguratorEClass = createEClass(INSTANCE_CONFIGURATOR); createEReference(instanceConfiguratorEClass, INSTANCE_CONFIGURATOR__BASE_CLASS); + createEAttribute(instanceConfiguratorEClass, INSTANCE_CONFIGURATOR__ON_NODE_MODEL); ruleApplicationEClass = createEClass(RULE_APPLICATION); createEReference(ruleApplicationEClass, RULE_APPLICATION__BASE_CLASS); @@ -1693,13 +1639,7 @@ public class FCMPackageImpl extends EPackageImpl implements FCMPackage { createEReference(connectorConfigurationEClass, CONNECTOR_CONFIGURATION__BASE_SLOT); createEReference(connectorConfigurationEClass, CONNECTOR_CONFIGURATION__CONNECTOR); - extendedSignatureEClass = createEClass(EXTENDED_SIGNATURE); - createEReference(extendedSignatureEClass, EXTENDED_SIGNATURE__BASE_TEMPLATE_SIGNATURE); - createEReference(extendedSignatureEClass, EXTENDED_SIGNATURE__BASE_SIGNATURE); - // Create enums - templateKindEEnum = createEEnum(TEMPLATE_KIND); - actualChoiceEEnum = createEEnum(ACTUAL_CHOICE); containerRuleKindEEnum = createEEnum(CONTAINER_RULE_KIND); interceptionKindEEnum = createEEnum(INTERCEPTION_KIND); } @@ -1743,10 +1683,11 @@ public class FCMPackageImpl extends EPackageImpl implements FCMPackage { // Initialize classes and features; add operations and parameters initEClass(templateEClass, Template.class, "Template", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getTemplate_TemplateParams(), theUMLPackage.getClassifier(), null, "templateParams", null, 0, -1, Template.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ initEReference(getTemplate_Base_Element(), theUMLPackage.getElement(), null, "base_Element", null, 1, 1, Template.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getTemplate_Kind(), this.getTemplateKind(), "kind", null, 1, 1, Template.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getTemplate_ActualChoice(), this.getActualChoice(), "actualChoice", null, 0, 1, Template.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getTemplate_Helper(), this.getBindingHelper(), null, "helper", null, 0, 1, Template.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(bindingHelperEClass, BindingHelper.class, "BindingHelper", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getBindingHelper_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, BindingHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ initEClass(configurationPropertyEClass, ConfigurationProperty.class, "ConfigurationProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference(getConfigurationProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 1, 1, ConfigurationProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ @@ -1793,6 +1734,7 @@ public class FCMPackageImpl extends EPackageImpl implements FCMPackage { initEClass(instanceConfiguratorEClass, InstanceConfigurator.class, "InstanceConfigurator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference(getInstanceConfigurator_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, InstanceConfigurator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getInstanceConfigurator_OnNodeModel(), theTypesPackage.getBoolean(), "onNodeModel", null, 0, 1, InstanceConfigurator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ initEClass(ruleApplicationEClass, RuleApplication.class, "RuleApplication", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference(getRuleApplication_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, RuleApplication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ @@ -1892,26 +1834,7 @@ public class FCMPackageImpl extends EPackageImpl implements FCMPackage { initEReference(getConnectorConfiguration_Base_Slot(), theUMLPackage.getSlot(), null, "base_Slot", null, 1, 1, ConnectorConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ initEReference(getConnectorConfiguration_Connector(), this.getConnector(), null, "connector", null, 1, 1, ConnectorConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEClass(extendedSignatureEClass, ExtendedSignature.class, "ExtendedSignature", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getExtendedSignature_Base_TemplateSignature(), theUMLPackage.getTemplateSignature(), null, "base_TemplateSignature", null, 1, 1, ExtendedSignature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getExtendedSignature_BaseSignature(), theUMLPackage.getTemplateSignature(), null, "baseSignature", null, 1, 1, ExtendedSignature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - // Initialize enums and add enum literals - initEEnum(templateKindEEnum, TemplateKind.class, "TemplateKind"); //$NON-NLS-1$ - addEEnumLiteral(templateKindEEnum, TemplateKind.PASS_FORMAL); - addEEnumLiteral(templateKindEEnum, TemplateKind.LOOP_OPERATIONS); - addEEnumLiteral(templateKindEEnum, TemplateKind.LOOP_PROPERTY); - addEEnumLiteral(templateKindEEnum, TemplateKind.ACCUMULATE); - addEEnumLiteral(templateKindEEnum, TemplateKind.LOOP_LITERALS); - addEEnumLiteral(templateKindEEnum, TemplateKind.LATE_EVALUATION); - addEEnumLiteral(templateKindEEnum, TemplateKind.LOOP_PORTS); - addEEnumLiteral(templateKindEEnum, TemplateKind.PASS_CLASSIFIER); - - initEEnum(actualChoiceEEnum, ActualChoice.class, "ActualChoice"); //$NON-NLS-1$ - addEEnumLiteral(actualChoiceEEnum, ActualChoice.PASS_ACTUAL); - addEEnumLiteral(actualChoiceEEnum, ActualChoice.INTERFACE_OF_PPORT); - addEEnumLiteral(actualChoiceEEnum, ActualChoice.INTERFACE_OF_RPORT); - initEEnum(containerRuleKindEEnum, ContainerRuleKind.class, "ContainerRuleKind"); //$NON-NLS-1$ addEEnumLiteral(containerRuleKindEEnum, ContainerRuleKind.COMPONENT_RULE); addEEnumLiteral(containerRuleKindEEnum, ContainerRuleKind.LIGHT_WEIGHT_OO_RULE); diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/InstanceConfiguratorImpl.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/InstanceConfiguratorImpl.java index b2386a6ea97..9f000fcf936 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/InstanceConfiguratorImpl.java +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/InstanceConfiguratorImpl.java @@ -31,6 +31,7 @@ import org.eclipse.papyrus.FCM.InstanceConfigurator; * The following features are implemented: * <ul> * <li>{@link org.eclipse.papyrus.FCM.impl.InstanceConfiguratorImpl#getBase_Class <em>Base Class</em>}</li> + * <li>{@link org.eclipse.papyrus.FCM.impl.InstanceConfiguratorImpl#isOnNodeModel <em>On Node Model</em>}</li> * </ul> * </p> * @@ -48,6 +49,25 @@ public class InstanceConfiguratorImpl extends EObjectImpl implements InstanceCon protected org.eclipse.uml2.uml.Class base_Class; /** + * The default value of the '{@link #isOnNodeModel() <em>On Node Model</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isOnNodeModel() + * @generated + * @ordered + */ + protected static final boolean ON_NODE_MODEL_EDEFAULT = false; + /** + * The cached value of the '{@link #isOnNodeModel() <em>On Node Model</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isOnNodeModel() + * @generated + * @ordered + */ + protected boolean onNodeModel = ON_NODE_MODEL_EDEFAULT; + + /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -109,12 +129,35 @@ public class InstanceConfiguratorImpl extends EObjectImpl implements InstanceCon * <!-- end-user-doc --> * @generated */ + public boolean isOnNodeModel() { + return onNodeModel; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setOnNodeModel(boolean newOnNodeModel) { + boolean oldOnNodeModel = onNodeModel; + onNodeModel = newOnNodeModel; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FCMPackage.INSTANCE_CONFIGURATOR__ON_NODE_MODEL, oldOnNodeModel, onNodeModel)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case FCMPackage.INSTANCE_CONFIGURATOR__BASE_CLASS: if (resolve) return getBase_Class(); return basicGetBase_Class(); + case FCMPackage.INSTANCE_CONFIGURATOR__ON_NODE_MODEL: + return isOnNodeModel(); } return super.eGet(featureID, resolve, coreType); } @@ -130,6 +173,9 @@ public class InstanceConfiguratorImpl extends EObjectImpl implements InstanceCon case FCMPackage.INSTANCE_CONFIGURATOR__BASE_CLASS: setBase_Class((org.eclipse.uml2.uml.Class)newValue); return; + case FCMPackage.INSTANCE_CONFIGURATOR__ON_NODE_MODEL: + setOnNodeModel((Boolean)newValue); + return; } super.eSet(featureID, newValue); } @@ -145,6 +191,9 @@ public class InstanceConfiguratorImpl extends EObjectImpl implements InstanceCon case FCMPackage.INSTANCE_CONFIGURATOR__BASE_CLASS: setBase_Class((org.eclipse.uml2.uml.Class)null); return; + case FCMPackage.INSTANCE_CONFIGURATOR__ON_NODE_MODEL: + setOnNodeModel(ON_NODE_MODEL_EDEFAULT); + return; } super.eUnset(featureID); } @@ -159,8 +208,26 @@ public class InstanceConfiguratorImpl extends EObjectImpl implements InstanceCon switch (featureID) { case FCMPackage.INSTANCE_CONFIGURATOR__BASE_CLASS: return base_Class != null; + case FCMPackage.INSTANCE_CONFIGURATOR__ON_NODE_MODEL: + return onNodeModel != ON_NODE_MODEL_EDEFAULT; } return super.eIsSet(featureID); } + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (onNodeModel: "); //$NON-NLS-1$ + result.append(onNodeModel); + result.append(')'); + return result.toString(); + } + } //InstanceConfiguratorImpl diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/TemplateImpl.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/TemplateImpl.java index c85e906720b..9bb51bf3a1d 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/TemplateImpl.java +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/impl/TemplateImpl.java @@ -12,26 +12,14 @@ */ package org.eclipse.papyrus.FCM.impl; -import java.util.Collection; - import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; - import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectResolvingEList; - -import org.eclipse.papyrus.FCM.ActualChoice; +import org.eclipse.papyrus.FCM.BindingHelper; import org.eclipse.papyrus.FCM.FCMPackage; import org.eclipse.papyrus.FCM.Template; -import org.eclipse.papyrus.FCM.TemplateKind; - -import org.eclipse.uml2.uml.Classifier; import org.eclipse.uml2.uml.Element; /** @@ -41,10 +29,8 @@ import org.eclipse.uml2.uml.Element; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.papyrus.FCM.impl.TemplateImpl#getTemplateParams <em>Template Params</em>}</li> * <li>{@link org.eclipse.papyrus.FCM.impl.TemplateImpl#getBase_Element <em>Base Element</em>}</li> - * <li>{@link org.eclipse.papyrus.FCM.impl.TemplateImpl#getKind <em>Kind</em>}</li> - * <li>{@link org.eclipse.papyrus.FCM.impl.TemplateImpl#getActualChoice <em>Actual Choice</em>}</li> + * <li>{@link org.eclipse.papyrus.FCM.impl.TemplateImpl#getHelper <em>Helper</em>}</li> * </ul> * </p> * @@ -52,16 +38,6 @@ import org.eclipse.uml2.uml.Element; */ public class TemplateImpl extends EObjectImpl implements Template { /** - * The cached value of the '{@link #getTemplateParams() <em>Template Params</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTemplateParams() - * @generated - * @ordered - */ - protected EList<Classifier> templateParams; - - /** * The cached value of the '{@link #getBase_Element() <em>Base Element</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -72,44 +48,14 @@ public class TemplateImpl extends EObjectImpl implements Template { protected Element base_Element; /** - * The default value of the '{@link #getKind() <em>Kind</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getKind() - * @generated - * @ordered - */ - protected static final TemplateKind KIND_EDEFAULT = TemplateKind.PASS_FORMAL; - - /** - * The cached value of the '{@link #getKind() <em>Kind</em>}' attribute. + * The cached value of the '{@link #getHelper() <em>Helper</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @see #getKind() + * @see #getHelper() * @generated * @ordered */ - protected TemplateKind kind = KIND_EDEFAULT; - - /** - * The default value of the '{@link #getActualChoice() <em>Actual Choice</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getActualChoice() - * @generated - * @ordered - */ - protected static final ActualChoice ACTUAL_CHOICE_EDEFAULT = ActualChoice.PASS_ACTUAL; - - /** - * The cached value of the '{@link #getActualChoice() <em>Actual Choice</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getActualChoice() - * @generated - * @ordered - */ - protected ActualChoice actualChoice = ACTUAL_CHOICE_EDEFAULT; + protected BindingHelper helper; /** * <!-- begin-user-doc --> @@ -135,18 +81,6 @@ public class TemplateImpl extends EObjectImpl implements Template { * <!-- end-user-doc --> * @generated */ - public EList<Classifier> getTemplateParams() { - if (templateParams == null) { - templateParams = new EObjectResolvingEList<Classifier>(Classifier.class, this, FCMPackage.TEMPLATE__TEMPLATE_PARAMS); - } - return templateParams; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ public Element getBase_Element() { if (base_Element != null && base_Element.eIsProxy()) { InternalEObject oldBase_Element = (InternalEObject)base_Element; @@ -185,20 +119,16 @@ public class TemplateImpl extends EObjectImpl implements Template { * <!-- end-user-doc --> * @generated */ - public TemplateKind getKind() { - return kind; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setKind(TemplateKind newKind) { - TemplateKind oldKind = kind; - kind = newKind == null ? KIND_EDEFAULT : newKind; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FCMPackage.TEMPLATE__KIND, oldKind, kind)); + public BindingHelper getHelper() { + if (helper != null && helper.eIsProxy()) { + InternalEObject oldHelper = (InternalEObject)helper; + helper = (BindingHelper)eResolveProxy(oldHelper); + if (helper != oldHelper) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, FCMPackage.TEMPLATE__HELPER, oldHelper, helper)); + } + } + return helper; } /** @@ -206,8 +136,8 @@ public class TemplateImpl extends EObjectImpl implements Template { * <!-- end-user-doc --> * @generated */ - public ActualChoice getActualChoice() { - return actualChoice; + public BindingHelper basicGetHelper() { + return helper; } /** @@ -215,11 +145,11 @@ public class TemplateImpl extends EObjectImpl implements Template { * <!-- end-user-doc --> * @generated */ - public void setActualChoice(ActualChoice newActualChoice) { - ActualChoice oldActualChoice = actualChoice; - actualChoice = newActualChoice == null ? ACTUAL_CHOICE_EDEFAULT : newActualChoice; + public void setHelper(BindingHelper newHelper) { + BindingHelper oldHelper = helper; + helper = newHelper; if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FCMPackage.TEMPLATE__ACTUAL_CHOICE, oldActualChoice, actualChoice)); + eNotify(new ENotificationImpl(this, Notification.SET, FCMPackage.TEMPLATE__HELPER, oldHelper, helper)); } /** @@ -230,15 +160,12 @@ public class TemplateImpl extends EObjectImpl implements Template { @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case FCMPackage.TEMPLATE__TEMPLATE_PARAMS: - return getTemplateParams(); case FCMPackage.TEMPLATE__BASE_ELEMENT: if (resolve) return getBase_Element(); return basicGetBase_Element(); - case FCMPackage.TEMPLATE__KIND: - return getKind(); - case FCMPackage.TEMPLATE__ACTUAL_CHOICE: - return getActualChoice(); + case FCMPackage.TEMPLATE__HELPER: + if (resolve) return getHelper(); + return basicGetHelper(); } return super.eGet(featureID, resolve, coreType); } @@ -248,22 +175,14 @@ public class TemplateImpl extends EObjectImpl implements Template { * <!-- end-user-doc --> * @generated */ - @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case FCMPackage.TEMPLATE__TEMPLATE_PARAMS: - getTemplateParams().clear(); - getTemplateParams().addAll((Collection<? extends Classifier>)newValue); - return; case FCMPackage.TEMPLATE__BASE_ELEMENT: setBase_Element((Element)newValue); return; - case FCMPackage.TEMPLATE__KIND: - setKind((TemplateKind)newValue); - return; - case FCMPackage.TEMPLATE__ACTUAL_CHOICE: - setActualChoice((ActualChoice)newValue); + case FCMPackage.TEMPLATE__HELPER: + setHelper((BindingHelper)newValue); return; } super.eSet(featureID, newValue); @@ -277,17 +196,11 @@ public class TemplateImpl extends EObjectImpl implements Template { @Override public void eUnset(int featureID) { switch (featureID) { - case FCMPackage.TEMPLATE__TEMPLATE_PARAMS: - getTemplateParams().clear(); - return; case FCMPackage.TEMPLATE__BASE_ELEMENT: setBase_Element((Element)null); return; - case FCMPackage.TEMPLATE__KIND: - setKind(KIND_EDEFAULT); - return; - case FCMPackage.TEMPLATE__ACTUAL_CHOICE: - setActualChoice(ACTUAL_CHOICE_EDEFAULT); + case FCMPackage.TEMPLATE__HELPER: + setHelper((BindingHelper)null); return; } super.eUnset(featureID); @@ -301,34 +214,12 @@ public class TemplateImpl extends EObjectImpl implements Template { @Override public boolean eIsSet(int featureID) { switch (featureID) { - case FCMPackage.TEMPLATE__TEMPLATE_PARAMS: - return templateParams != null && !templateParams.isEmpty(); case FCMPackage.TEMPLATE__BASE_ELEMENT: return base_Element != null; - case FCMPackage.TEMPLATE__KIND: - return kind != KIND_EDEFAULT; - case FCMPackage.TEMPLATE__ACTUAL_CHOICE: - return actualChoice != ACTUAL_CHOICE_EDEFAULT; + case FCMPackage.TEMPLATE__HELPER: + return helper != null; } return super.eIsSet(featureID); } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (kind: "); //$NON-NLS-1$ - result.append(kind); - result.append(", actualChoice: "); //$NON-NLS-1$ - result.append(actualChoice); - result.append(')'); - return result.toString(); - } - } //TemplateImpl diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/ConnectorTypeUtil.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/ConnectorTypeUtil.java index f4369372663..eea354d76bf 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/ConnectorTypeUtil.java +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/ConnectorTypeUtil.java @@ -1,3 +1,16 @@ +/**
+ * Copyright (c) 2013 CEA LIST
+ *
+ * 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:
+ * Ansgar Radermacher - Initial API and implementation
+ *
+ */
+
package org.eclipse.papyrus.FCM.util;
import java.util.ArrayList;
diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/FCMAdapterFactory.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/FCMAdapterFactory.java index 2c53d11ae2d..eace199e321 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/FCMAdapterFactory.java +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/FCMAdapterFactory.java @@ -82,6 +82,10 @@ public class FCMAdapterFactory extends AdapterFactoryImpl { return createTemplateAdapter(); } @Override + public Adapter caseBindingHelper(BindingHelper object) { + return createBindingHelperAdapter(); + } + @Override public Adapter caseConfigurationProperty(ConfigurationProperty object) { return createConfigurationPropertyAdapter(); } @@ -222,10 +226,6 @@ public class FCMAdapterFactory extends AdapterFactoryImpl { return createConnectorConfigurationAdapter(); } @Override - public Adapter caseExtendedSignature(ExtendedSignature object) { - return createExtendedSignatureAdapter(); - } - @Override public Adapter defaultCase(EObject object) { return createEObjectAdapter(); } @@ -260,6 +260,20 @@ public class FCMAdapterFactory extends AdapterFactoryImpl { } /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.FCM.BindingHelper <em>Binding Helper</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.FCM.BindingHelper + * @generated + */ + public Adapter createBindingHelperAdapter() { + return null; + } + + /** * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.FCM.ConfigurationProperty <em>Configuration Property</em>}'. * <!-- begin-user-doc --> * This default implementation returns null so that we can easily ignore cases; @@ -750,20 +764,6 @@ public class FCMAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.FCM.ExtendedSignature <em>Extended Signature</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.FCM.ExtendedSignature - * @generated - */ - public Adapter createExtendedSignatureAdapter() { - return null; - } - - /** * Creates a new adapter for the default case. * <!-- begin-user-doc --> * This default implementation returns null. diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/FCMSwitch.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/FCMSwitch.java index 3044c045f47..827d6ee5303 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/FCMSwitch.java +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/FCMSwitch.java @@ -82,6 +82,12 @@ public class FCMSwitch<T> extends Switch<T> { if (result == null) result = defaultCase(theEObject); return result; } + case FCMPackage.BINDING_HELPER: { + BindingHelper bindingHelper = (BindingHelper)theEObject; + T result = caseBindingHelper(bindingHelper); + if (result == null) result = defaultCase(theEObject); + return result; + } case FCMPackage.CONFIGURATION_PROPERTY: { ConfigurationProperty configurationProperty = (ConfigurationProperty)theEObject; T result = caseConfigurationProperty(configurationProperty); @@ -297,12 +303,6 @@ public class FCMSwitch<T> extends Switch<T> { if (result == null) result = defaultCase(theEObject); return result; } - case FCMPackage.EXTENDED_SIGNATURE: { - ExtendedSignature extendedSignature = (ExtendedSignature)theEObject; - T result = caseExtendedSignature(extendedSignature); - if (result == null) result = defaultCase(theEObject); - return result; - } default: return defaultCase(theEObject); } } @@ -323,6 +323,21 @@ public class FCMSwitch<T> extends Switch<T> { } /** + * Returns the result of interpreting the object as an instance of '<em>Binding Helper</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Binding Helper</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBindingHelper(BindingHelper object) { + return null; + } + + /** * Returns the result of interpreting the object as an instance of '<em>Configuration Property</em>'. * <!-- begin-user-doc --> * This implementation returns null; @@ -848,21 +863,6 @@ public class FCMSwitch<T> extends Switch<T> { } /** - * Returns the result of interpreting the object as an instance of '<em>Extended Signature</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Extended Signature</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExtendedSignature(ExtendedSignature object) { - return null; - } - - /** * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. * <!-- begin-user-doc --> * This implementation returns null; diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/IBindingHelper.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/IBindingHelper.java new file mode 100644 index 00000000000..3b824d9fa20 --- /dev/null +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/IBindingHelper.java @@ -0,0 +1,26 @@ +/** + * Copyright (c) 2013 CEA LIST + * + * 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: + * Ansgar Radermacher - Initial API and implementation + * + */ + +package org.eclipse.papyrus.FCM.util; + +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.TemplateBinding; + +/** + * BindingHelper interface. The interface is intentionally left empty. Implementations + * (such as Qompass designer) might check for subclasses. + * + */ +public interface IBindingHelper { + public void handleElement(TemplateBinding binding, Element object); +} diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/IEmbeddingRule.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/IEmbeddingRule.java index 9bf3ff544ba..a68f92e0db6 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/IEmbeddingRule.java +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/IEmbeddingRule.java @@ -1,3 +1,16 @@ +/** + * Copyright (c) 2013 CEA LIST + * + * 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: + * Ansgar Radermacher - Initial API and implementation + * + */ + package org.eclipse.papyrus.FCM.util; import org.eclipse.papyrus.FCM.Connector; diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/IMappingRule.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/IMappingRule.java index 1fe7d559e56..58fd27c89e3 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/IMappingRule.java +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/IMappingRule.java @@ -1,3 +1,16 @@ +/** + * Copyright (c) 2013 CEA LIST + * + * 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: + * Ansgar Radermacher - Initial API and implementation + * + */ + package org.eclipse.papyrus.FCM.util; import org.eclipse.papyrus.FCM.Port; diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/ITemplateMappingRule.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/ITemplateMappingRule.java index 7556d0a0587..58c70d8c821 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/ITemplateMappingRule.java +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/ITemplateMappingRule.java @@ -1,3 +1,16 @@ +/** + * Copyright (c) 2013 CEA LIST + * + * 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: + * Ansgar Radermacher - Initial API and implementation + * + */ + package org.eclipse.papyrus.FCM.util; import org.eclipse.papyrus.FCM.Port; diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/MapUtil.java b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/MapUtil.java index 682f092bd42..0ee35052352 100644 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/MapUtil.java +++ b/extraplugins/qompass-designer/org.eclipse.papyrus.fcm.profile/src/org/eclipse/papyrus/FCM/util/MapUtil.java @@ -1,3 +1,16 @@ +/** + * Copyright (c) 2013 CEA LIST + * + * 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: + * Ansgar Radermacher - Initial API and implementation + * + */ + package org.eclipse.papyrus.FCM.util; import org.eclipse.core.runtime.CoreException; diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.core/src/org/eclipse/papyrus/qompass/designer/core/transformations/ContainerContext.java b/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.core/src/org/eclipse/papyrus/qompass/designer/core/transformations/ContainerContext.java deleted file mode 100644 index 59839e5593f..00000000000 --- a/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.core/src/org/eclipse/papyrus/qompass/designer/core/transformations/ContainerContext.java +++ /dev/null @@ -1,84 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2013 CEA LIST. - * - * - * 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: - * Ansgar Radermacher ansgar.radermacher@cea.fr - * - *****************************************************************************/ - -package org.eclipse.papyrus.qompass.designer.core.transformations; - -import org.eclipse.uml2.uml.InstanceSpecification; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.StructuralFeature; - - -/** - * Holder for context information during the configuration of an element within a container - * - * @author ansgar - * - */ -public class ContainerContext { - - /** - * Convenience constructor. Used to initialize elements known outside the container transformation - * itself - * Constructor. - * - * @param copy copier - * @param smIS original component in source model - * @param executorPart part representing the executor - * @param nodeExecutorPart allocation target (in case of HW model) - */ - public ContainerContext(Copy copy, InstanceSpecification smIS, StructuralFeature executorPart, StructuralFeature nodeExecutorPart) { - this.copy = copy; - this.smIS = smIS; - this.smPartDF = executorPart; - this.smNodePartDF = nodeExecutorPart; - } - - /** - * original instance specification for a component in the source model. It might be used by instance configurators that need to access the - * configuration of the original component. - */ - public InstanceSpecification smIS; - - /** - * The instance specification of the executor. It is a part of container that has been created, thus - * an element of the target model. - */ - public InstanceSpecification executorIS; - - /** - * The part within a composite that represents a component applying a container rule. It is - * part of the source model. The main motivation for this information is that some instance configurators - * evaluate stereotype attributes that are applied to this part (we call it part, since it is typically a - * property with composite aggregation. It is stored as a structural feature, since the information is derived - * from the slot pointing to the current instance that is evaluated). - */ - public StructuralFeature smPartDF; - - /** - * The part within a composite that represents a hardware component applying a container rule. It is - * part of the source model. The main motivation for this information is that some instance configurators - * evaluate stereotype attributes that are applied to this part - * - * @see ContainerContext.smPartDF - */ - public StructuralFeature smNodePartDF; - - /** - * The port that is intercepted in case of an interceptor configuration. - * TODO: since container is *instantiated* after interception, port value is not useful - */ - public Port port; - - public Copy copy; -} |