diff options
author | Remi Schnekenburger | 2015-12-07 08:55:40 +0000 |
---|---|---|
committer | Remi Schnekenburger | 2015-12-07 08:56:00 +0000 |
commit | 87199897086030f1792df6480afaa626b5643591 (patch) | |
tree | 923f71d9699e3fbac0c1b4cfb981eed4ef259238 /tests | |
parent | e90f7c9ab2c42dea26fb6cd771d0c5090d869bb4 (diff) | |
download | org.eclipse.papyrus-rt-87199897086030f1792df6480afaa626b5643591.tar.gz org.eclipse.papyrus-rt-87199897086030f1792df6480afaa626b5643591.tar.xz org.eclipse.papyrus-rt-87199897086030f1792df6480afaa626b5643591.zip |
Bug 477033: [Tooling] Improve the relation between properties of a port
https://bugs.eclipse.org/bugs/show_bug.cgi?id=477033
- added RTPortUtils#isConnectedInside(Port) &
RTPortUtils#isConnectedOutside(Port)
- fix read-only state for connected relay/external/internal behaviors.
- fix tests
Change-Id: I0000000000000000000000000000000000000000
Signed-off-by: Remi Schnekenburger <remi.schnekenburger@cea.fr>
Diffstat (limited to 'tests')
8 files changed, 1166 insertions, 264 deletions
diff --git a/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/META-INF/MANIFEST.MF b/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/META-INF/MANIFEST.MF index e545ae9f3..e9095dcc0 100644 --- a/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/META-INF/MANIFEST.MF +++ b/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/META-INF/MANIFEST.MF @@ -44,7 +44,8 @@ Require-Bundle: org.eclipse.ui, org.eclipse.papyrus.uml.diagram.statemachine;bundle-version="1.1.3", org.eclipse.papyrusrt.umlrt.tooling.diagram.common;bundle-version="0.7.1", org.eclipse.papyrusrt.umlrt.tooling.diagram.statemachine;bundle-version="0.7.1", - org.eclipse.papyrusrt.umlrt.tooling.ui;bundle-version="0.7.1" + org.eclipse.papyrusrt.umlrt.tooling.ui;bundle-version="0.7.1", + org.eclipse.papyrus.infra.core.log;bundle-version="1.1.3" Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-ActivationPolicy: lazy Export-Package: org.eclipse.papyrusrt.umlrt.core.tests, diff --git a/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/resource/Utils.notation b/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/resource/Utils.notation index 132fa7293..09a6c7c2c 100644 --- a/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/resource/Utils.notation +++ b/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/resource/Utils.notation @@ -1,260 +1,433 @@ <?xml version="1.0" encoding="UTF-8"?> -<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:configuration="http://www.eclipse.org/papyrus/infra/viewpoints/configuration" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_raCY4JUlEeWXB8p0J_VVwA" type="CompositeStructure" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_raxYsJUlEeWXB8p0J_VVwA" type="2073"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_WrLHsJUmEeWXB8p0J_VVwA" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_WrLHsZUmEeWXB8p0J_VVwA" key="mutable" value="true"/> - </eAnnotations> - <children xmi:type="notation:DecorationNode" xmi:id="_ra0cAJUlEeWXB8p0J_VVwA" type="5156"/> - <children xmi:type="notation:DecorationNode" xmi:id="_ra0cAZUlEeWXB8p0J_VVwA" type="6089"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_ra0cApUlEeWXB8p0J_VVwA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_ra1DEJUlEeWXB8p0J_VVwA" type="7073"> - <styles xmi:type="notation:TitleStyle" xmi:id="_ra1DEZUlEeWXB8p0J_VVwA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ra1DEpUlEeWXB8p0J_VVwA"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_WiNY8JUmEeWXB8p0J_VVwA" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_WiNY8ZUmEeWXB8p0J_VVwA" name="stereotype" stringValue="UMLRealTime::Capsule"/> - <element xmi:type="uml:Stereotype" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_hcMIwEhNEeO0lv5O1DTHOQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WiNY8pUmEeWXB8p0J_VVwA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_WiV70JUmEeWXB8p0J_VVwA" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_WiV70ZUmEeWXB8p0J_VVwA" showTitle="true"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_WiV70pUmEeWXB8p0J_VVwA" name="stereotype" stringValue="UMLRealTime::Capsule"/> - <element xmi:type="uml:Stereotype" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_hcMIwEhNEeO0lv5O1DTHOQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WiV705UmEeWXB8p0J_VVwA"/> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:configuration="http://www.eclipse.org/papyrus/infra/viewpoints/configuration" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"> + <notation:Diagram xmi:id="_raCY4JUlEeWXB8p0J_VVwA" type="CompositeStructure" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_raxYsJUlEeWXB8p0J_VVwA" type="2073"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_WrLHsJUmEeWXB8p0J_VVwA" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_WrLHsZUmEeWXB8p0J_VVwA" key="mutable" value="true"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_ra0cAJUlEeWXB8p0J_VVwA" type="5156"/> + <children xmi:type="notation:DecorationNode" xmi:id="_ra0cAZUlEeWXB8p0J_VVwA" type="6089"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ra0cApUlEeWXB8p0J_VVwA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_ra1DEJUlEeWXB8p0J_VVwA" type="7073"> + <styles xmi:type="notation:TitleStyle" xmi:id="_ra1DEZUlEeWXB8p0J_VVwA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ra1DEpUlEeWXB8p0J_VVwA"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_WiNY8JUmEeWXB8p0J_VVwA" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_WiNY8ZUmEeWXB8p0J_VVwA" name="stereotype" stringValue="UMLRealTime::Capsule"/> + <element xmi:type="uml:Stereotype" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_hcMIwEhNEeO0lv5O1DTHOQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WiNY8pUmEeWXB8p0J_VVwA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_WiV70JUmEeWXB8p0J_VVwA" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_WiV70ZUmEeWXB8p0J_VVwA" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_WiV70pUmEeWXB8p0J_VVwA" name="stereotype" stringValue="UMLRealTime::Capsule"/> + <element xmi:type="uml:Stereotype" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_hcMIwEhNEeO0lv5O1DTHOQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WiV705UmEeWXB8p0J_VVwA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_Wig68JUmEeWXB8p0J_VVwA" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Wig68ZUmEeWXB8p0J_VVwA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Wig68pUmEeWXB8p0J_VVwA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_WiwLgJUmEeWXB8p0J_VVwA" type="StereotypeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_WiwLgZUmEeWXB8p0J_VVwA" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_WiwLgpUmEeWXB8p0J_VVwA" name="stereotype" stringValue="UMLRealTime::Capsule"/> + <element xmi:type="uml:Stereotype" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_hcMIwEhNEeO0lv5O1DTHOQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WiwLg5UmEeWXB8p0J_VVwA"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_WjM3cJUmEeWXB8p0J_VVwA" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_WjNegJUmEeWXB8p0J_VVwA" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WjNegZUmEeWXB8p0J_VVwA" x="27" y="-17"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_WjNegpUmEeWXB8p0J_VVwA" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WjNeg5UmEeWXB8p0J_VVwA" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#_sLCYAJUlEeWXB8p0J_VVwA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WjM3cZUmEeWXB8p0J_VVwA" y="78" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_WjOFkJUmEeWXB8p0J_VVwA" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_WjOFkpUmEeWXB8p0J_VVwA" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WjOFk5UmEeWXB8p0J_VVwA" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_WjOFlJUmEeWXB8p0J_VVwA" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WjOFlZUmEeWXB8p0J_VVwA" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#_2hkuAJUlEeWXB8p0J_VVwA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WjOFkZUmEeWXB8p0J_VVwA" x="286" y="190" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_WjOFlpUmEeWXB8p0J_VVwA" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_WjOFmJUmEeWXB8p0J_VVwA" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WjOFmZUmEeWXB8p0J_VVwA" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_WjOFmpUmEeWXB8p0J_VVwA" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WjOFm5UmEeWXB8p0J_VVwA" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#_6OcBUJUlEeWXB8p0J_VVwA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WjOFl5UmEeWXB8p0J_VVwA" y="113" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_WjOsoJUmEeWXB8p0J_VVwA" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_WjOsopUmEeWXB8p0J_VVwA" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WjOso5UmEeWXB8p0J_VVwA" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_WjOspJUmEeWXB8p0J_VVwA" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WjOspZUmEeWXB8p0J_VVwA" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#_8gm4QJUlEeWXB8p0J_VVwA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WjOsoZUmEeWXB8p0J_VVwA" x="84" y="187" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_WjOsppUmEeWXB8p0J_VVwA" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_WjOsqJUmEeWXB8p0J_VVwA" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WjPTsJUmEeWXB8p0J_VVwA" x="38" y="2"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_WjPTsZUmEeWXB8p0J_VVwA" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WjPTspUmEeWXB8p0J_VVwA" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#__SGvgJUlEeWXB8p0J_VVwA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WjOsp5UmEeWXB8p0J_VVwA" y="223" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_WjP6wJUmEeWXB8p0J_VVwA" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_WjP6wpUmEeWXB8p0J_VVwA" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WjP6w5UmEeWXB8p0J_VVwA" x="34" y="2"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_WjP6xJUmEeWXB8p0J_VVwA" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WjP6xZUmEeWXB8p0J_VVwA" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#_BXK-kJUmEeWXB8p0J_VVwA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WjP6wZUmEeWXB8p0J_VVwA" y="262" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_WjQh0JUmEeWXB8p0J_VVwA" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_WjQh0pUmEeWXB8p0J_VVwA" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WjQh05UmEeWXB8p0J_VVwA" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_WjQh1JUmEeWXB8p0J_VVwA" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WjQh1ZUmEeWXB8p0J_VVwA" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#_I7Y98JUmEeWXB8p0J_VVwA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WjQh0ZUmEeWXB8p0J_VVwA" x="284" y="117" width="20" height="20"/> + </children> + <element xmi:type="uml:Class" href="Utils.uml#_rSu3AJUlEeWXB8p0J_VVwA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_raxYsZUlEeWXB8p0J_VVwA" x="40" y="40" width="836" height="436"/> </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_Wig68JUmEeWXB8p0J_VVwA" type="compartment_shape_display"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Wig68ZUmEeWXB8p0J_VVwA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Wig68pUmEeWXB8p0J_VVwA"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_raCY4ZUlEeWXB8p0J_VVwA" name="diagram_compatibility_version" stringValue="1.1.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_raCY4pUlEeWXB8p0J_VVwA"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_raCY45UlEeWXB8p0J_VVwA"> + <owner xmi:type="uml:Class" href="Utils.uml#_rSu3AJUlEeWXB8p0J_VVwA"/> + <configuration xmi:type="configuration:PapyrusDiagram" href="platform:/plugin/org.eclipse.papyrusrt.umlrt.tooling.diagram.common/configuration/UMLRT.configuration#_Z79eQHcZEeSnWeKqQOfW2A"/> + </styles> + <element xmi:type="uml:Class" href="Utils.uml#_rSu3AJUlEeWXB8p0J_VVwA"/> + </notation:Diagram> + <notation:Diagram xmi:id="_eV3VsJq8EeWppZ5DjCMcNg" type="CompositeStructure" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_eWdLkJq8EeWppZ5DjCMcNg" type="2073"> + <children xmi:type="notation:DecorationNode" xmi:id="_eWdLkpq8EeWppZ5DjCMcNg" type="5156"/> + <children xmi:type="notation:DecorationNode" xmi:id="_eWdLk5q8EeWppZ5DjCMcNg" type="6089"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_eWdLlJq8EeWppZ5DjCMcNg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_eWdLlZq8EeWppZ5DjCMcNg" type="7073"> + <children xmi:type="notation:Shape" xmi:id="_75_h8Jq8EeWppZ5DjCMcNg" type="3070"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_FDSBsJq9EeWppZ5DjCMcNg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_FDSBsZq9EeWppZ5DjCMcNg" key="mutable" value="true"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_75_h8pq8EeWppZ5DjCMcNg" type="5126"/> + <children xmi:type="notation:DecorationNode" xmi:id="_75_h85q8EeWppZ5DjCMcNg" type="6054"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_75_h9Jq8EeWppZ5DjCMcNg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_75_h9Zq8EeWppZ5DjCMcNg" type="7077"> + <styles xmi:type="notation:TitleStyle" xmi:id="_75_h9pq8EeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_75_h95q8EeWppZ5DjCMcNg"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_76Sc4Jq8EeWppZ5DjCMcNg" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_76Sc4Zq8EeWppZ5DjCMcNg" name="stereotype" stringValue="UMLRealTime::CapsulePart"/> + <element xmi:type="uml:Stereotype" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_EQwT4EhOEeO0lv5O1DTHOQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_76Sc4pq8EeWppZ5DjCMcNg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_76Sc45q8EeWppZ5DjCMcNg" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_76Sc5Jq8EeWppZ5DjCMcNg" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_76Sc5Zq8EeWppZ5DjCMcNg" name="stereotype" stringValue="UMLRealTime::CapsulePart"/> + <element xmi:type="uml:Stereotype" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_EQwT4EhOEeO0lv5O1DTHOQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_76Sc5pq8EeWppZ5DjCMcNg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_76cN4Jq8EeWppZ5DjCMcNg" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_76cN4Zq8EeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_76cN4pq8EeWppZ5DjCMcNg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_76cN9Zq8EeWppZ5DjCMcNg" type="StereotypeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_76cN9pq8EeWppZ5DjCMcNg" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_76cN95q8EeWppZ5DjCMcNg" name="stereotype" stringValue="UMLRealTime::CapsulePart"/> + <element xmi:type="uml:Stereotype" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_EQwT4EhOEeO0lv5O1DTHOQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_76cN-Jq8EeWppZ5DjCMcNg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Fgb3wJq9EeWppZ5DjCMcNg" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_Fgb3wpq9EeWppZ5DjCMcNg" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Fgb3w5q9EeWppZ5DjCMcNg" x="-221" y="15"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_Fgb3xJq9EeWppZ5DjCMcNg" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Fgb3xZq9EeWppZ5DjCMcNg" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#_E_tJQJq9EeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Fgb3wZq9EeWppZ5DjCMcNg" x="-7" y="164" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Gr3wIJq9EeWppZ5DjCMcNg" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_Gr3wIpq9EeWppZ5DjCMcNg" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Gr3wI5q9EeWppZ5DjCMcNg" x="-218" y="20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_Gr3wJJq9EeWppZ5DjCMcNg" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Gr3wJZq9EeWppZ5DjCMcNg" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#_GrRTMJq9EeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Gr3wIZq9EeWppZ5DjCMcNg" y="320" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_HbnyEJq9EeWppZ5DjCMcNg" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_HbnyEpq9EeWppZ5DjCMcNg" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_HbnyE5q9EeWppZ5DjCMcNg" x="-142" y="1"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_HbnyFJq9EeWppZ5DjCMcNg" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_HbnyFZq9EeWppZ5DjCMcNg" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#_Ha4LMJq9EeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HbnyEZq9EeWppZ5DjCMcNg" y="90" width="20" height="20"/> + </children> + <element xmi:type="uml:Property" href="Utils.uml#_752YAJq8EeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_75_h8Zq8EeWppZ5DjCMcNg" x="471" y="47" width="347" height="366"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_eWdLlpq8EeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eWdLl5q8EeWppZ5DjCMcNg"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_fVPIAJq8EeWppZ5DjCMcNg" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_fVPIAZq8EeWppZ5DjCMcNg" name="stereotype" stringValue="UMLRealTime::Capsule"/> + <element xmi:type="uml:Stereotype" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_hcMIwEhNEeO0lv5O1DTHOQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fVPIApq8EeWppZ5DjCMcNg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_fVPIA5q8EeWppZ5DjCMcNg" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_fVPIBJq8EeWppZ5DjCMcNg" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_fVPIBZq8EeWppZ5DjCMcNg" name="stereotype" stringValue="UMLRealTime::Capsule"/> + <element xmi:type="uml:Stereotype" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_hcMIwEhNEeO0lv5O1DTHOQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fVPIBpq8EeWppZ5DjCMcNg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_fVPIB5q8EeWppZ5DjCMcNg" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_fVPICJq8EeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fVPICZq8EeWppZ5DjCMcNg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_fVY5CJq8EeWppZ5DjCMcNg" type="StereotypeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_fVY5CZq8EeWppZ5DjCMcNg" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_fVY5Cpq8EeWppZ5DjCMcNg" name="stereotype" stringValue="UMLRealTime::Capsule"/> + <element xmi:type="uml:Stereotype" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_hcMIwEhNEeO0lv5O1DTHOQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fVY5C5q8EeWppZ5DjCMcNg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_g6jgAJq8EeWppZ5DjCMcNg" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_g6jgApq8EeWppZ5DjCMcNg" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_g6jgA5q8EeWppZ5DjCMcNg" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_g6jgBJq8EeWppZ5DjCMcNg" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_g6jgBZq8EeWppZ5DjCMcNg" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#_gRMZ8Jq8EeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_g6jgAZq8EeWppZ5DjCMcNg" x="155" y="236" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_hy8gkJq8EeWppZ5DjCMcNg" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_hy8gkpq8EeWppZ5DjCMcNg" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_hzFqgJq8EeWppZ5DjCMcNg" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_hzFqgZq8EeWppZ5DjCMcNg" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_hzFqgpq8EeWppZ5DjCMcNg" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#_hVVXgJq8EeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hy8gkZq8EeWppZ5DjCMcNg" y="162" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_ig6Z0Jq8EeWppZ5DjCMcNg" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_ig6Z0pq8EeWppZ5DjCMcNg" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ig6Z05q8EeWppZ5DjCMcNg" x="29" y="25"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_ig6Z1Jq8EeWppZ5DjCMcNg" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ig6Z1Zq8EeWppZ5DjCMcNg" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#_iBFDMJq8EeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ig6Z0Zq8EeWppZ5DjCMcNg" y="392" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_US6qgJyzEeWppZ5DjCMcNg" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_US6qgpyzEeWppZ5DjCMcNg" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_US6qg5yzEeWppZ5DjCMcNg" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_US6qhJyzEeWppZ5DjCMcNg" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_US6qhZyzEeWppZ5DjCMcNg" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#_To3A4JyzEeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_US6qgZyzEeWppZ5DjCMcNg" x="911" y="179" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Vryh8JyzEeWppZ5DjCMcNg" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_Vryh8pyzEeWppZ5DjCMcNg" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Vryh85yzEeWppZ5DjCMcNg" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_Vryh9JyzEeWppZ5DjCMcNg" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Vryh9ZyzEeWppZ5DjCMcNg" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#_VIRlMJyzEeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Vryh8ZyzEeWppZ5DjCMcNg" x="911" y="120" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_eqKyMJyzEeWppZ5DjCMcNg" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_eqKyMpyzEeWppZ5DjCMcNg" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_eqKyM5yzEeWppZ5DjCMcNg" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_eqKyNJyzEeWppZ5DjCMcNg" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_eqKyNZyzEeWppZ5DjCMcNg" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#_eqBoQJyzEeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eqKyMZyzEeWppZ5DjCMcNg" x="896" y="240" width="20" height="20"/> + </children> + <element xmi:type="uml:Class" href="Utils.uml#_eTohEJq8EeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eWdLkZq8EeWppZ5DjCMcNg" x="35" y="47" width="911" height="507"/> </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_WiwLgJUmEeWXB8p0J_VVwA" type="StereotypeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_WiwLgZUmEeWXB8p0J_VVwA" showTitle="true"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_WiwLgpUmEeWXB8p0J_VVwA" name="stereotype" stringValue="UMLRealTime::Capsule"/> - <element xmi:type="uml:Stereotype" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_hcMIwEhNEeO0lv5O1DTHOQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WiwLg5UmEeWXB8p0J_VVwA"/> + <children xmi:type="notation:Shape" xmi:id="_erEKEJyzEeWppZ5DjCMcNg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_erEKEZyzEeWppZ5DjCMcNg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_erEKE5yzEeWppZ5DjCMcNg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Port" href="Utils.uml#_eqBoQJyzEeWppZ5DjCMcNg"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_erEKEpyzEeWppZ5DjCMcNg" x="388" y="61"/> </children> - <children xmi:type="notation:Shape" xmi:id="_WjM3cJUmEeWXB8p0J_VVwA" type="3069"> - <children xmi:type="notation:DecorationNode" xmi:id="_WjNegJUmEeWXB8p0J_VVwA" type="5125"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_WjNegZUmEeWXB8p0J_VVwA" x="27" y="-17"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_eV3VsZq8EeWppZ5DjCMcNg" name="diagram_compatibility_version" stringValue="1.1.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_eV3Vspq8EeWppZ5DjCMcNg"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_eV3Vs5q8EeWppZ5DjCMcNg"> + <owner xmi:type="uml:Class" href="Utils.uml#_eTohEJq8EeWppZ5DjCMcNg"/> + <configuration xmi:type="configuration:PapyrusDiagram" href="platform:/plugin/org.eclipse.papyrusrt.umlrt.tooling.diagram.common/configuration/UMLRT.configuration#_Z79eQHcZEeSnWeKqQOfW2A"/> + </styles> + <element xmi:type="uml:Class" href="Utils.uml#_eTohEJq8EeWppZ5DjCMcNg"/> + <edges xmi:type="notation:Connector" xmi:id="_R_NsoJq9EeWppZ5DjCMcNg" type="4013" source="_ig6Z0Jq8EeWppZ5DjCMcNg" target="_Gr3wIJq9EeWppZ5DjCMcNg"> + <children xmi:type="notation:DecorationNode" xmi:id="_R_Nso5q9EeWppZ5DjCMcNg" type="6025"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_R_NspJq9EeWppZ5DjCMcNg" x="46" y="-15"/> </children> - <children xmi:type="notation:DecorationNode" xmi:id="_WjNegpUmEeWXB8p0J_VVwA" type="6029"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_WjNeg5UmEeWXB8p0J_VVwA" x="25" y="-10"/> + <children xmi:type="notation:DecorationNode" xmi:id="_R_NspZq9EeWppZ5DjCMcNg" type="6050"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_R_Nsppq9EeWppZ5DjCMcNg" x="-63" y="-13"/> </children> - <element xmi:type="uml:Port" href="Utils.uml#_sLCYAJUlEeWXB8p0J_VVwA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WjM3cZUmEeWXB8p0J_VVwA" y="78" width="20" height="20"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_WjOFkJUmEeWXB8p0J_VVwA" type="3069"> - <children xmi:type="notation:DecorationNode" xmi:id="_WjOFkpUmEeWXB8p0J_VVwA" type="5125"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_WjOFk5UmEeWXB8p0J_VVwA" x="25" y="3"/> + <children xmi:type="notation:DecorationNode" xmi:id="_R_Nsp5q9EeWppZ5DjCMcNg" type="6051"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_R_NsqJq9EeWppZ5DjCMcNg" y="20"/> </children> - <children xmi:type="notation:DecorationNode" xmi:id="_WjOFlJUmEeWXB8p0J_VVwA" type="6029"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_WjOFlZUmEeWXB8p0J_VVwA" x="25" y="-10"/> + <children xmi:type="notation:DecorationNode" xmi:id="_R_NsqZq9EeWppZ5DjCMcNg" type="6052"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_R_Nsqpq9EeWppZ5DjCMcNg" y="20"/> </children> - <element xmi:type="uml:Port" href="Utils.uml#_2hkuAJUlEeWXB8p0J_VVwA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WjOFkZUmEeWXB8p0J_VVwA" x="286" y="190" width="20" height="20"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_WjOFlpUmEeWXB8p0J_VVwA" type="3069"> - <children xmi:type="notation:DecorationNode" xmi:id="_WjOFmJUmEeWXB8p0J_VVwA" type="5125"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_WjOFmZUmEeWXB8p0J_VVwA" x="25" y="3"/> + <styles xmi:type="notation:FontStyle" xmi:id="_R_NsoZq9EeWppZ5DjCMcNg"/> + <element xmi:type="uml:Connector" href="Utils.uml#_R-n2wJq9EeWppZ5DjCMcNg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_R_Nsopq9EeWppZ5DjCMcNg" points="[10, 3, -425, -141]$[432, 154, -3, 10]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_SBchQJq9EeWppZ5DjCMcNg" id="(1.0,0.8)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_SBchQZq9EeWppZ5DjCMcNg" id="(0.0,0.45)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_W3V5MJq9EeWppZ5DjCMcNg" type="4013" source="_Fgb3wJq9EeWppZ5DjCMcNg" target="_g6jgAJq8EeWppZ5DjCMcNg"> + <children xmi:type="notation:DecorationNode" xmi:id="_W3V5M5q9EeWppZ5DjCMcNg" type="6025"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_W3V5NJq9EeWppZ5DjCMcNg" x="20" y="12"/> </children> - <children xmi:type="notation:DecorationNode" xmi:id="_WjOFmpUmEeWXB8p0J_VVwA" type="6029"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_WjOFm5UmEeWXB8p0J_VVwA" x="25" y="-10"/> + <children xmi:type="notation:DecorationNode" xmi:id="_W3V5NZq9EeWppZ5DjCMcNg" type="6050"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_W3V5Npq9EeWppZ5DjCMcNg" x="15" y="26"/> </children> - <element xmi:type="uml:Port" href="Utils.uml#_6OcBUJUlEeWXB8p0J_VVwA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WjOFl5UmEeWXB8p0J_VVwA" y="113" width="20" height="20"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_WjOsoJUmEeWXB8p0J_VVwA" type="3069"> - <children xmi:type="notation:DecorationNode" xmi:id="_WjOsopUmEeWXB8p0J_VVwA" type="5125"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_WjOso5UmEeWXB8p0J_VVwA" x="25" y="3"/> + <children xmi:type="notation:DecorationNode" xmi:id="_W3V5N5q9EeWppZ5DjCMcNg" type="6051"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_W3V5OJq9EeWppZ5DjCMcNg" y="20"/> </children> - <children xmi:type="notation:DecorationNode" xmi:id="_WjOspJUmEeWXB8p0J_VVwA" type="6029"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_WjOspZUmEeWXB8p0J_VVwA" x="25" y="-10"/> + <children xmi:type="notation:DecorationNode" xmi:id="_W3V5OZq9EeWppZ5DjCMcNg" type="6052"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_W3V5Opq9EeWppZ5DjCMcNg" y="20"/> </children> - <element xmi:type="uml:Port" href="Utils.uml#_8gm4QJUlEeWXB8p0J_VVwA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WjOsoZUmEeWXB8p0J_VVwA" x="84" y="187" width="20" height="20"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_WjOsppUmEeWXB8p0J_VVwA" type="3069"> - <children xmi:type="notation:DecorationNode" xmi:id="_WjOsqJUmEeWXB8p0J_VVwA" type="5125"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_WjPTsJUmEeWXB8p0J_VVwA" x="38" y="2"/> + <styles xmi:type="notation:FontStyle" xmi:id="_W3V5MZq9EeWppZ5DjCMcNg"/> + <element xmi:type="uml:Connector" href="Utils.uml#_W25NQJq9EeWppZ5DjCMcNg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_W3V5Mpq9EeWppZ5DjCMcNg" points="[-10, -7, 311, -2]$[-320, -15, 1, -10]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_W4YbAJq9EeWppZ5DjCMcNg" id="(0.0,0.55)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_W4YbAZq9EeWppZ5DjCMcNg" id="(1.0,0.4)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_X1h_wJq9EeWppZ5DjCMcNg" type="4013" source="_HbnyEJq9EeWppZ5DjCMcNg" target="_hy8gkJq8EeWppZ5DjCMcNg"> + <children xmi:type="notation:DecorationNode" xmi:id="_X1h_w5q9EeWppZ5DjCMcNg" type="6025"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_X1h_xJq9EeWppZ5DjCMcNg" x="3" y="29"/> </children> - <children xmi:type="notation:DecorationNode" xmi:id="_WjPTsZUmEeWXB8p0J_VVwA" type="6029"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_WjPTspUmEeWXB8p0J_VVwA" x="25" y="-10"/> + <children xmi:type="notation:DecorationNode" xmi:id="_X1h_xZq9EeWppZ5DjCMcNg" type="6050"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_X1h_xpq9EeWppZ5DjCMcNg" x="2" y="15"/> </children> - <element xmi:type="uml:Port" href="Utils.uml#__SGvgJUlEeWXB8p0J_VVwA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WjOsp5UmEeWXB8p0J_VVwA" y="223" width="20" height="20"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_WjP6wJUmEeWXB8p0J_VVwA" type="3069"> - <children xmi:type="notation:DecorationNode" xmi:id="_WjP6wpUmEeWXB8p0J_VVwA" type="5125"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_WjP6w5UmEeWXB8p0J_VVwA" x="34" y="2"/> + <children xmi:type="notation:DecorationNode" xmi:id="_X1h_x5q9EeWppZ5DjCMcNg" type="6051"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_X1h_yJq9EeWppZ5DjCMcNg" y="20"/> </children> - <children xmi:type="notation:DecorationNode" xmi:id="_WjP6xJUmEeWXB8p0J_VVwA" type="6029"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_WjP6xZUmEeWXB8p0J_VVwA" x="25" y="-10"/> + <children xmi:type="notation:DecorationNode" xmi:id="_X1h_yZq9EeWppZ5DjCMcNg" type="6052"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_X1h_ypq9EeWppZ5DjCMcNg" y="20"/> </children> - <element xmi:type="uml:Port" href="Utils.uml#_BXK-kJUmEeWXB8p0J_VVwA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WjP6wZUmEeWXB8p0J_VVwA" y="262" width="20" height="20"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_WjQh0JUmEeWXB8p0J_VVwA" type="3069"> - <children xmi:type="notation:DecorationNode" xmi:id="_WjQh0pUmEeWXB8p0J_VVwA" type="5125"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_WjQh05UmEeWXB8p0J_VVwA" x="25" y="3"/> + <styles xmi:type="notation:FontStyle" xmi:id="_X1h_wZq9EeWppZ5DjCMcNg"/> + <element xmi:type="uml:Connector" href="Utils.uml#_X1FT0Jq9EeWppZ5DjCMcNg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_X1h_wpq9EeWppZ5DjCMcNg" points="[-4, -1, 466, 50]$[-465, -61, 5, -10]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_X23cgJq9EeWppZ5DjCMcNg" id="(0.0,0.3)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_X23cgZq9EeWppZ5DjCMcNg" id="(1.0,0.45)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_erEKFJyzEeWppZ5DjCMcNg" type="StereotypeCommentLink" source="_eqKyMJyzEeWppZ5DjCMcNg" target="_erEKEJyzEeWppZ5DjCMcNg"> + <styles xmi:type="notation:FontStyle" xmi:id="_erEKFZyzEeWppZ5DjCMcNg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_erEKGZyzEeWppZ5DjCMcNg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Port" href="Utils.uml#_eqBoQJyzEeWppZ5DjCMcNg"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_erEKFpyzEeWppZ5DjCMcNg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_erEKF5yzEeWppZ5DjCMcNg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_erEKGJyzEeWppZ5DjCMcNg"/> + </edges> + </notation:Diagram> + <notation:Diagram xmi:id="_2D-JwJq8EeWppZ5DjCMcNg" type="CompositeStructure" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_2D-JxJq8EeWppZ5DjCMcNg" type="2073"> + <children xmi:type="notation:DecorationNode" xmi:id="_2D-Jxpq8EeWppZ5DjCMcNg" type="5156"/> + <children xmi:type="notation:DecorationNode" xmi:id="_2D-Jx5q8EeWppZ5DjCMcNg" type="6089"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_2D-JyJq8EeWppZ5DjCMcNg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_2D-JyZq8EeWppZ5DjCMcNg" type="7073"> + <styles xmi:type="notation:TitleStyle" xmi:id="_2D-Jypq8EeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2D-Jy5q8EeWppZ5DjCMcNg"/> </children> - <children xmi:type="notation:DecorationNode" xmi:id="_WjQh1JUmEeWXB8p0J_VVwA" type="6029"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_WjQh1ZUmEeWXB8p0J_VVwA" x="25" y="-10"/> + <children xmi:type="notation:DecorationNode" xmi:id="_ETYOwJq9EeWppZ5DjCMcNg" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_ETYOwZq9EeWppZ5DjCMcNg" name="stereotype" stringValue="UMLRealTime::Capsule"/> + <element xmi:type="uml:Stereotype" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_hcMIwEhNEeO0lv5O1DTHOQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ETYOwpq9EeWppZ5DjCMcNg"/> </children> - <element xmi:type="uml:Port" href="Utils.uml#_I7Y98JUmEeWXB8p0J_VVwA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WjQh0ZUmEeWXB8p0J_VVwA" x="284" y="117" width="20" height="20"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_EThYsJq9EeWppZ5DjCMcNg" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_EThYsZq9EeWppZ5DjCMcNg" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_EThYspq9EeWppZ5DjCMcNg" name="stereotype" stringValue="UMLRealTime::Capsule"/> + <element xmi:type="uml:Stereotype" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_hcMIwEhNEeO0lv5O1DTHOQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EThYs5q9EeWppZ5DjCMcNg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_EThYtJq9EeWppZ5DjCMcNg" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_EThYtZq9EeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EThYtpq9EeWppZ5DjCMcNg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_EThYyZq9EeWppZ5DjCMcNg" type="StereotypeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_EThYypq9EeWppZ5DjCMcNg" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_EThYy5q9EeWppZ5DjCMcNg" name="stereotype" stringValue="UMLRealTime::Capsule"/> + <element xmi:type="uml:Stereotype" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_hcMIwEhNEeO0lv5O1DTHOQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EThYzJq9EeWppZ5DjCMcNg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_FAArQJq9EeWppZ5DjCMcNg" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_FAArQpq9EeWppZ5DjCMcNg" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_FAArQ5q9EeWppZ5DjCMcNg" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_FAArRJq9EeWppZ5DjCMcNg" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_FAArRZq9EeWppZ5DjCMcNg" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#_E_tJQJq9EeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FAArQZq9EeWppZ5DjCMcNg" x="95" y="134" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_GrbEMJq9EeWppZ5DjCMcNg" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_GrbEMpq9EeWppZ5DjCMcNg" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_GrbEM5q9EeWppZ5DjCMcNg" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_GrbENJq9EeWppZ5DjCMcNg" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_GrbENZq9EeWppZ5DjCMcNg" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#_GrRTMJq9EeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GrbEMZq9EeWppZ5DjCMcNg" x="279" y="240" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_HbB8MZq9EeWppZ5DjCMcNg" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_HbB8M5q9EeWppZ5DjCMcNg" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_HbB8NJq9EeWppZ5DjCMcNg" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_HbB8NZq9EeWppZ5DjCMcNg" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_HbB8Npq9EeWppZ5DjCMcNg" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="Utils.uml#_Ha4LMJq9EeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HbB8Mpq9EeWppZ5DjCMcNg" x="91" y="240" width="20" height="20"/> + </children> + <element xmi:type="uml:Class" href="Utils.uml#_2DOi4Jq8EeWppZ5DjCMcNg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2D-JxZq8EeWppZ5DjCMcNg" x="40" y="40" width="500" height="250"/> </children> - <element xmi:type="uml:Class" href="Utils.uml#_rSu3AJUlEeWXB8p0J_VVwA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_raxYsZUlEeWXB8p0J_VVwA" x="40" y="40" width="836" height="436"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_WinooJUmEeWXB8p0J_VVwA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_WinooZUmEeWXB8p0J_VVwA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_WioPsJUmEeWXB8p0J_VVwA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="Utils.uml#_rSu3AJUlEeWXB8p0J_VVwA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WinoopUmEeWXB8p0J_VVwA" x="240" y="40"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_WkFBMJUmEeWXB8p0J_VVwA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_WkFBMZUmEeWXB8p0J_VVwA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_WkFBM5UmEeWXB8p0J_VVwA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Port" href="Utils.uml#_sLCYAJUlEeWXB8p0J_VVwA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WkFBMpUmEeWXB8p0J_VVwA" x="190" y="-10"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_WkZKRJUmEeWXB8p0J_VVwA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_WkZKRZUmEeWXB8p0J_VVwA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_WkZKR5UmEeWXB8p0J_VVwA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Port" href="Utils.uml#_2hkuAJUlEeWXB8p0J_VVwA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WkZKRpUmEeWXB8p0J_VVwA" x="190" y="-10"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_WknMsJUmEeWXB8p0J_VVwA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_WknMsZUmEeWXB8p0J_VVwA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_WknMs5UmEeWXB8p0J_VVwA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Port" href="Utils.uml#_6OcBUJUlEeWXB8p0J_VVwA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WknMspUmEeWXB8p0J_VVwA" x="190" y="-10"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Wk2dQpUmEeWXB8p0J_VVwA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Wk2dQ5UmEeWXB8p0J_VVwA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Wk2dRZUmEeWXB8p0J_VVwA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Port" href="Utils.uml#_8gm4QJUlEeWXB8p0J_VVwA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Wk2dRJUmEeWXB8p0J_VVwA" x="190" y="-10"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_WlDRkJUmEeWXB8p0J_VVwA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_WlDRkZUmEeWXB8p0J_VVwA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_WlDRk5UmEeWXB8p0J_VVwA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Port" href="Utils.uml#__SGvgJUlEeWXB8p0J_VVwA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WlDRkpUmEeWXB8p0J_VVwA" x="190" y="-10"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_WlQs9pUmEeWXB8p0J_VVwA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_WlQs95UmEeWXB8p0J_VVwA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_WlQs-ZUmEeWXB8p0J_VVwA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Port" href="Utils.uml#_BXK-kJUmEeWXB8p0J_VVwA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WlQs-JUmEeWXB8p0J_VVwA" x="190" y="-10"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Wlc6MpUmEeWXB8p0J_VVwA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Wlc6M5UmEeWXB8p0J_VVwA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Wlc6NZUmEeWXB8p0J_VVwA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Port" href="Utils.uml#_I7Y98JUmEeWXB8p0J_VVwA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Wlc6NJUmEeWXB8p0J_VVwA" x="190" y="-10"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_raCY4ZUlEeWXB8p0J_VVwA" name="diagram_compatibility_version" stringValue="1.1.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_raCY4pUlEeWXB8p0J_VVwA"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_raCY45UlEeWXB8p0J_VVwA"> - <owner xmi:type="uml:Class" href="Utils.uml#_rSu3AJUlEeWXB8p0J_VVwA"/> - <configuration xmi:type="configuration:PapyrusDiagram" href="platform:/plugin/org.eclipse.papyrusrt.umlrt.tooling.diagram.common/configuration/UMLRT.configuration#_Z79eQHcZEeSnWeKqQOfW2A"/> - </styles> - <element xmi:type="uml:Class" href="Utils.uml#_rSu3AJUlEeWXB8p0J_VVwA"/> - <edges xmi:type="notation:Connector" xmi:id="_Wio2wJUmEeWXB8p0J_VVwA" type="StereotypeCommentLink" source="_raxYsJUlEeWXB8p0J_VVwA" target="_WinooJUmEeWXB8p0J_VVwA"> - <styles xmi:type="notation:FontStyle" xmi:id="_Wio2wZUmEeWXB8p0J_VVwA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Wipd0pUmEeWXB8p0J_VVwA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="Utils.uml#_rSu3AJUlEeWXB8p0J_VVwA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Wio2wpUmEeWXB8p0J_VVwA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Wipd0JUmEeWXB8p0J_VVwA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Wipd0ZUmEeWXB8p0J_VVwA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_WkFBNJUmEeWXB8p0J_VVwA" type="StereotypeCommentLink" source="_WjM3cJUmEeWXB8p0J_VVwA" target="_WkFBMJUmEeWXB8p0J_VVwA"> - <styles xmi:type="notation:FontStyle" xmi:id="_WkFBNZUmEeWXB8p0J_VVwA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_WkFBOZUmEeWXB8p0J_VVwA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Port" href="Utils.uml#_sLCYAJUlEeWXB8p0J_VVwA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_WkFBNpUmEeWXB8p0J_VVwA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WkFBN5UmEeWXB8p0J_VVwA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WkFBOJUmEeWXB8p0J_VVwA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_WkZxUJUmEeWXB8p0J_VVwA" type="StereotypeCommentLink" source="_WjOFkJUmEeWXB8p0J_VVwA" target="_WkZKRJUmEeWXB8p0J_VVwA"> - <styles xmi:type="notation:FontStyle" xmi:id="_WkZxUZUmEeWXB8p0J_VVwA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_WkZxVZUmEeWXB8p0J_VVwA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Port" href="Utils.uml#_2hkuAJUlEeWXB8p0J_VVwA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_WkZxUpUmEeWXB8p0J_VVwA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WkZxU5UmEeWXB8p0J_VVwA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WkZxVJUmEeWXB8p0J_VVwA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_WknMtJUmEeWXB8p0J_VVwA" type="StereotypeCommentLink" source="_WjOFlpUmEeWXB8p0J_VVwA" target="_WknMsJUmEeWXB8p0J_VVwA"> - <styles xmi:type="notation:FontStyle" xmi:id="_WknMtZUmEeWXB8p0J_VVwA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_WknMuZUmEeWXB8p0J_VVwA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Port" href="Utils.uml#_6OcBUJUlEeWXB8p0J_VVwA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_WknMtpUmEeWXB8p0J_VVwA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WknMt5UmEeWXB8p0J_VVwA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WknMuJUmEeWXB8p0J_VVwA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_Wk2dRpUmEeWXB8p0J_VVwA" type="StereotypeCommentLink" source="_WjOsoJUmEeWXB8p0J_VVwA" target="_Wk2dQpUmEeWXB8p0J_VVwA"> - <styles xmi:type="notation:FontStyle" xmi:id="_Wk2dR5UmEeWXB8p0J_VVwA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Wk3EUpUmEeWXB8p0J_VVwA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Port" href="Utils.uml#_8gm4QJUlEeWXB8p0J_VVwA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Wk2dSJUmEeWXB8p0J_VVwA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Wk3EUJUmEeWXB8p0J_VVwA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Wk3EUZUmEeWXB8p0J_VVwA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_WlDRlJUmEeWXB8p0J_VVwA" type="StereotypeCommentLink" source="_WjOsppUmEeWXB8p0J_VVwA" target="_WlDRkJUmEeWXB8p0J_VVwA"> - <styles xmi:type="notation:FontStyle" xmi:id="_WlDRlZUmEeWXB8p0J_VVwA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_WlDRmZUmEeWXB8p0J_VVwA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Port" href="Utils.uml#__SGvgJUlEeWXB8p0J_VVwA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_WlDRlpUmEeWXB8p0J_VVwA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WlDRl5UmEeWXB8p0J_VVwA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WlDRmJUmEeWXB8p0J_VVwA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_WlRUAJUmEeWXB8p0J_VVwA" type="StereotypeCommentLink" source="_WjP6wJUmEeWXB8p0J_VVwA" target="_WlQs9pUmEeWXB8p0J_VVwA"> - <styles xmi:type="notation:FontStyle" xmi:id="_WlRUAZUmEeWXB8p0J_VVwA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_WlRUBZUmEeWXB8p0J_VVwA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Port" href="Utils.uml#_BXK-kJUmEeWXB8p0J_VVwA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_WlRUApUmEeWXB8p0J_VVwA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WlRUA5UmEeWXB8p0J_VVwA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WlRUBJUmEeWXB8p0J_VVwA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_Wlc6NpUmEeWXB8p0J_VVwA" type="StereotypeCommentLink" source="_WjQh0JUmEeWXB8p0J_VVwA" target="_Wlc6MpUmEeWXB8p0J_VVwA"> - <styles xmi:type="notation:FontStyle" xmi:id="_Wlc6N5UmEeWXB8p0J_VVwA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_WldhQpUmEeWXB8p0J_VVwA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Port" href="Utils.uml#_I7Y98JUmEeWXB8p0J_VVwA"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_2D-JwZq8EeWppZ5DjCMcNg" name="diagram_compatibility_version" stringValue="1.1.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_2D-Jwpq8EeWppZ5DjCMcNg"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_2D-Jw5q8EeWppZ5DjCMcNg"> + <owner xmi:type="uml:Class" href="Utils.uml#_2DOi4Jq8EeWppZ5DjCMcNg"/> + <configuration xmi:type="configuration:PapyrusDiagram" href="platform:/plugin/org.eclipse.papyrusrt.umlrt.tooling.diagram.common/configuration/UMLRT.configuration#_Z79eQHcZEeSnWeKqQOfW2A"/> </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Wlc6OJUmEeWXB8p0J_VVwA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WldhQJUmEeWXB8p0J_VVwA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WldhQZUmEeWXB8p0J_VVwA"/> - </edges> -</notation:Diagram> + <element xmi:type="uml:Class" href="Utils.uml#_2DOi4Jq8EeWppZ5DjCMcNg"/> + </notation:Diagram> +</xmi:XMI> diff --git a/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/resource/Utils.uml b/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/resource/Utils.uml index ed437e1bd..e5b0cc43b 100644 --- a/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/resource/Utils.uml +++ b/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/resource/Utils.uml @@ -30,6 +30,35 @@ <name xsi:nil="true"/> </packagedElement> </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_eTohEJq8EeWppZ5DjCMcNg" name="ConnectedCapsule" isActive="true"> + <ownedAttribute xmi:type="uml:Port" xmi:id="_gRMZ8Jq8EeWppZ5DjCMcNg" name="internalBehavior" visibility="public" type="_s-nKAJUlEeWXB8p0J_VVwA" isOrdered="true" aggregation="composite" isBehavior="true" isService="false"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_hVVXgJq8EeWppZ5DjCMcNg" name="relay" visibility="public" type="_s-nKAJUlEeWXB8p0J_VVwA" isOrdered="true" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_iBFDMJq8EeWppZ5DjCMcNg" name="externalBehavior" visibility="public" type="_s-nKAJUlEeWXB8p0J_VVwA" isOrdered="true" aggregation="composite" isBehavior="true"/> + <ownedAttribute xmi:type="uml:Property" xmi:id="_752YAJq8EeWppZ5DjCMcNg" name="connectedCapsule2" visibility="protected" type="_2DOi4Jq8EeWppZ5DjCMcNg" isOrdered="true" aggregation="composite"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_752YApq8EeWppZ5DjCMcNg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_752YA5q8EeWppZ5DjCMcNg" value="1"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Port" xmi:id="_To3A4JyzEeWppZ5DjCMcNg" name="externalBehaviorNotConnected" visibility="public" type="_s-nKAJUlEeWXB8p0J_VVwA" isOrdered="true" aggregation="composite" isBehavior="true"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_VIRlMJyzEeWppZ5DjCMcNg" name="relayNotConnected" visibility="public" type="_s-nKAJUlEeWXB8p0J_VVwA" isOrdered="true" aggregation="composite" isBehavior="true"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_eqBoQJyzEeWppZ5DjCMcNg" name="internalBehaviorNotConnected" visibility="protected" type="_s-nKAJUlEeWXB8p0J_VVwA" isOrdered="true" aggregation="composite" isBehavior="true" isService="false"/> + <ownedConnector xmi:type="uml:Connector" xmi:id="_R-n2wJq9EeWppZ5DjCMcNg" name="externalBehaviorConnector"> + <end xmi:type="uml:ConnectorEnd" xmi:id="_R-xAsJq9EeWppZ5DjCMcNg" role="_iBFDMJq8EeWppZ5DjCMcNg"/> + <end xmi:type="uml:ConnectorEnd" xmi:id="_R-xAsZq9EeWppZ5DjCMcNg" partWithPort="_752YAJq8EeWppZ5DjCMcNg" role="_GrRTMJq9EeWppZ5DjCMcNg"/> + </ownedConnector> + <ownedConnector xmi:type="uml:Connector" xmi:id="_W25NQJq9EeWppZ5DjCMcNg" name="internalBehaviorConnector"> + <end xmi:type="uml:ConnectorEnd" xmi:id="_W25NQZq9EeWppZ5DjCMcNg" partWithPort="_752YAJq8EeWppZ5DjCMcNg" role="_E_tJQJq9EeWppZ5DjCMcNg"/> + <end xmi:type="uml:ConnectorEnd" xmi:id="_W3C-QJq9EeWppZ5DjCMcNg" role="_gRMZ8Jq8EeWppZ5DjCMcNg"/> + </ownedConnector> + <ownedConnector xmi:type="uml:Connector" xmi:id="_X1FT0Jq9EeWppZ5DjCMcNg" name="relayConnector"> + <end xmi:type="uml:ConnectorEnd" xmi:id="_X1FT0Zq9EeWppZ5DjCMcNg" partWithPort="_752YAJq8EeWppZ5DjCMcNg" role="_Ha4LMJq9EeWppZ5DjCMcNg"/> + <end xmi:type="uml:ConnectorEnd" xmi:id="_X1FT0pq9EeWppZ5DjCMcNg" role="_hVVXgJq8EeWppZ5DjCMcNg"/> + </ownedConnector> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_2DOi4Jq8EeWppZ5DjCMcNg" name="ConnectedCapsule2" isActive="true"> + <ownedAttribute xmi:type="uml:Port" xmi:id="_E_tJQJq9EeWppZ5DjCMcNg" name="internalBehavior" visibility="protected" type="_s-nKAJUlEeWXB8p0J_VVwA" isOrdered="true" aggregation="composite" isBehavior="true" isService="false"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_GrRTMJq9EeWppZ5DjCMcNg" name="externalBehavior" visibility="public" type="_s-nKAJUlEeWXB8p0J_VVwA" isOrdered="true" aggregation="composite" isBehavior="true"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_Ha4LMJq9EeWppZ5DjCMcNg" name="relay" visibility="public" type="_s-nKAJUlEeWXB8p0J_VVwA" isOrdered="true" aggregation="composite"/> + </packagedElement> <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_qOAqoJUlEeWXB8p0J_VVwA"> <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qODG4JUlEeWXB8p0J_VVwA" source="http://www.eclipse.org/uml2/2.0.0/UML"> <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/umlrt#/"/> @@ -50,4 +79,19 @@ <UMLRealTime:RTPort xmi:id="__SIksJUlEeWXB8p0J_VVwA" isPublish="true" isWired="false" base_Port="__SGvgJUlEeWXB8p0J_VVwA"/> <UMLRealTime:RTPort xmi:id="_BXOo8JUmEeWXB8p0J_VVwA" isPublish="true" isWired="false" base_Port="_BXK-kJUmEeWXB8p0J_VVwA"/> <UMLRealTime:RTPort xmi:id="_I7azIJUmEeWXB8p0J_VVwA" isWired="false" base_Port="_I7Y98JUmEeWXB8p0J_VVwA"/> + <UMLRealTime:Capsule xmi:id="_eWm8kJq8EeWppZ5DjCMcNg" base_Class="_eTohEJq8EeWppZ5DjCMcNg"/> + <UMLRealTime:RTPort xmi:id="_gRfU4Jq8EeWppZ5DjCMcNg" base_Port="_gRMZ8Jq8EeWppZ5DjCMcNg"/> + <UMLRealTime:RTPort xmi:id="_hVVXgZq8EeWppZ5DjCMcNg" base_Port="_hVVXgJq8EeWppZ5DjCMcNg"/> + <UMLRealTime:RTPort xmi:id="_iBFDMZq8EeWppZ5DjCMcNg" base_Port="_iBFDMJq8EeWppZ5DjCMcNg"/> + <UMLRealTime:Capsule xmi:id="_2D-JzJq8EeWppZ5DjCMcNg" base_Class="_2DOi4Jq8EeWppZ5DjCMcNg"/> + <UMLRealTime:CapsulePart xmi:id="_752YAZq8EeWppZ5DjCMcNg" base_Property="_752YAJq8EeWppZ5DjCMcNg"/> + <UMLRealTime:RTPort xmi:id="_E_26QJq9EeWppZ5DjCMcNg" base_Port="_E_tJQJq9EeWppZ5DjCMcNg"/> + <UMLRealTime:RTPort xmi:id="_GrRTMZq9EeWppZ5DjCMcNg" base_Port="_GrRTMJq9EeWppZ5DjCMcNg"/> + <UMLRealTime:RTPort xmi:id="_HbB8MJq9EeWppZ5DjCMcNg" base_Port="_Ha4LMJq9EeWppZ5DjCMcNg"/> + <UMLRealTime:RTConnector xmi:id="_R-xAspq9EeWppZ5DjCMcNg" base_Connector="_R-n2wJq9EeWppZ5DjCMcNg"/> + <UMLRealTime:RTConnector xmi:id="_W3C-QZq9EeWppZ5DjCMcNg" base_Connector="_W25NQJq9EeWppZ5DjCMcNg"/> + <UMLRealTime:RTConnector xmi:id="_X1FT05q9EeWppZ5DjCMcNg" base_Connector="_X1FT0Jq9EeWppZ5DjCMcNg"/> + <UMLRealTime:RTPort xmi:id="_TpAx4JyzEeWppZ5DjCMcNg" base_Port="_To3A4JyzEeWppZ5DjCMcNg"/> + <UMLRealTime:RTPort xmi:id="_VIRlMZyzEeWppZ5DjCMcNg" base_Port="_VIRlMJyzEeWppZ5DjCMcNg"/> + <UMLRealTime:RTPort xmi:id="_eqBoQZyzEeWppZ5DjCMcNg" base_Port="_eqBoQJyzEeWppZ5DjCMcNg"/> </xmi:XMI> diff --git a/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/src/org/eclipse/papyrusrt/umlrt/core/tests/utils/AbstractRTPortTest.java b/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/src/org/eclipse/papyrusrt/umlrt/core/tests/utils/AbstractRTPortTest.java index aae68d949..b36136186 100644 --- a/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/src/org/eclipse/papyrusrt/umlrt/core/tests/utils/AbstractRTPortTest.java +++ b/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/src/org/eclipse/papyrusrt/umlrt/core/tests/utils/AbstractRTPortTest.java @@ -20,11 +20,13 @@ import org.eclipse.papyrus.infra.elementtypesconfigurations.registries.ElementTy import org.eclipse.papyrus.junit.framework.classification.tests.AbstractPapyrusTest; import org.eclipse.papyrus.junit.utils.rules.ModelSetFixture; import org.eclipse.papyrus.junit.utils.rules.PluginResource; +import org.eclipse.papyrusrt.umlrt.core.Activator; import org.eclipse.papyrusrt.umlrt.core.utils.RTPortKindEnum; import org.eclipse.papyrusrt.umlrt.core.utils.RTPortUtils; import org.eclipse.papyrusrt.umlrt.profile.UMLRealTime.RTPort; import org.eclipse.swt.widgets.Display; import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Connector; import org.eclipse.uml2.uml.Port; import org.junit.Assert; import org.junit.BeforeClass; @@ -45,6 +47,21 @@ public abstract class AbstractRTPortTest extends AbstractPapyrusTest { protected static Port capsule_legacySap; protected static Port capsule_legacySpp; + protected static Class connectedCapsule; + protected static Class connectedCapsule2; + protected static Port connectedCapsule_externalBehavior; + protected static Port connectedCapsule_internalBehavior; + protected static Port connectedCapsule_relay; + protected static Port connectedCapsule_externalBehaviorNotConnected; + protected static Port connectedCapsule_internalBehaviorNotConnected; + protected static Port connectedCapsule_relayNotConnected; + protected static Port connectedCapsule2_externalBehavior; + protected static Port connectedCapsule2_internalBehavior; + protected static Port connectedCapsule2_relay; + protected static Connector connectedCapsule_externalBehaviorConnector; + protected static Connector connectedCapsule_internalBehaviorConnector; + protected static Connector connectedCapsule_relayConnector; + @ClassRule public final static ModelSetFixture modelSetFixture = new ModelSetFixture(); @@ -71,6 +88,43 @@ public abstract class AbstractRTPortTest extends AbstractPapyrusTest { capsule_legacySpp = capsule.getOwnedPort("legacySpp", null); Assert.assertNotNull(capsule_legacySpp); + // connections tests - classes + connectedCapsule = (Class) modelSetFixture.getModel().getMember("ConnectedCapsule"); + Assert.assertNotNull(connectedCapsule); + connectedCapsule2 = (Class) modelSetFixture.getModel().getMember("ConnectedCapsule2"); + Assert.assertNotNull(connectedCapsule2); + + // connections tests - ports + connectedCapsule_externalBehavior = connectedCapsule.getOwnedPort("externalBehavior", null); + Assert.assertNotNull(connectedCapsule_externalBehavior); + connectedCapsule_internalBehavior = connectedCapsule.getOwnedPort("internalBehavior", null); + Assert.assertNotNull(connectedCapsule_internalBehavior); + connectedCapsule_relay = connectedCapsule.getOwnedPort("relay", null); + Assert.assertNotNull(connectedCapsule_relay); + // not connected + connectedCapsule_externalBehaviorNotConnected = connectedCapsule.getOwnedPort("externalBehaviorNotConnected", null); + Assert.assertNotNull(connectedCapsule_externalBehaviorNotConnected); + connectedCapsule_internalBehaviorNotConnected = connectedCapsule.getOwnedPort("internalBehaviorNotConnected", null); + Assert.assertNotNull(connectedCapsule_internalBehaviorNotConnected); + connectedCapsule_relayNotConnected = connectedCapsule.getOwnedPort("relayNotConnected", null); + Assert.assertNotNull(connectedCapsule_relayNotConnected); + + // port on part + connectedCapsule2_externalBehavior = connectedCapsule2.getOwnedPort("externalBehavior", null); + Assert.assertNotNull(connectedCapsule2_externalBehavior); + connectedCapsule2_internalBehavior = connectedCapsule2.getOwnedPort("internalBehavior", null); + Assert.assertNotNull(connectedCapsule2_internalBehavior); + connectedCapsule2_relay = connectedCapsule2.getOwnedPort("relay", null); + Assert.assertNotNull(connectedCapsule2_relay); + + // connector + connectedCapsule_externalBehaviorConnector = connectedCapsule.getOwnedConnector("externalBehaviorConnector"); + Assert.assertNotNull(connectedCapsule_externalBehaviorConnector); + connectedCapsule_internalBehaviorConnector = connectedCapsule.getOwnedConnector("internalBehaviorConnector"); + Assert.assertNotNull(connectedCapsule_internalBehaviorConnector); + connectedCapsule_relayConnector = connectedCapsule.getOwnedConnector("relayConnector"); + Assert.assertNotNull(connectedCapsule_relayConnector); + // ensure ElementTypeRegistry is started Display.getDefault().syncExec(new Runnable() { @@ -78,6 +132,7 @@ public abstract class AbstractRTPortTest extends AbstractPapyrusTest { public void run() { // force loading of the state machine plugin, but in UI thread, as the element types require some UI... ElementTypeSetConfigurationRegistry registry = ElementTypeSetConfigurationRegistry.getInstance(); + Activator.log.debug("Configuration size: " + registry.getElementTypeSetConfigurations().size()); } }); } diff --git a/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/src/org/eclipse/papyrusrt/umlrt/core/tests/utils/RTPortUtilsTest.java b/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/src/org/eclipse/papyrusrt/umlrt/core/tests/utils/RTPortUtilsTest.java index 24ebf5b92..a8f6afb87 100644 --- a/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/src/org/eclipse/papyrusrt/umlrt/core/tests/utils/RTPortUtilsTest.java +++ b/tests/junit/umlrt/core/org.eclipse.papyrusrt.umlrt.core.tests/src/org/eclipse/papyrusrt/umlrt/core/tests/utils/RTPortUtilsTest.java @@ -367,6 +367,151 @@ public class RTPortUtilsTest extends AbstractRTPortTest { Assert.assertFalse(RTPortUtils.isLegacySap(capsule_relay)); } + // ------------------------------------------------------------------------ + // RTPortUtils#isConnected() + // ------------------------------------------------------------------------ + @Test + public void testRTPortUtils_isConnected_ExternalBehaviorConnected() throws Exception { + Assert.assertTrue(RTPortUtils.isConnected(connectedCapsule_externalBehavior)); + } + + @Test + public void testRTPortUtils_isConnected_InternalBehaviorConnected() throws Exception { + Assert.assertTrue(RTPortUtils.isConnected(connectedCapsule_internalBehavior)); + } + + @Test + public void testRTPortUtils_isConnected_RelayConnected() throws Exception { + Assert.assertTrue(RTPortUtils.isConnected(connectedCapsule_relay)); + } + + @Test + public void testRTPortUtils_isConnected_ExternalBehaviorNotConnected() throws Exception { + Assert.assertFalse(RTPortUtils.isConnected(connectedCapsule_externalBehaviorNotConnected)); + } + + @Test + public void testRTPortUtils_isConnected_InternalBehaviorNotConnected() throws Exception { + Assert.assertFalse(RTPortUtils.isConnected(connectedCapsule_internalBehaviorNotConnected)); + } + + @Test + public void testRTPortUtils_isConnected_RelayNotConnected() throws Exception { + Assert.assertFalse(RTPortUtils.isConnected(connectedCapsule_relayNotConnected)); + } + + @Test + public void testRTPortUtils_isConnected_ExternalBehavior2Connected() throws Exception { + Assert.assertTrue(RTPortUtils.isConnected(connectedCapsule2_externalBehavior)); + } + + @Test + public void testRTPortUtils_isConnected_InternalBehavior2Connected() throws Exception { + Assert.assertTrue(RTPortUtils.isConnected(connectedCapsule2_internalBehavior)); + } + + @Test + public void testRTPortUtils_isConnected_Relay2Connected() throws Exception { + Assert.assertTrue(RTPortUtils.isConnected(connectedCapsule2_relay)); + } + + + // ------------------------------------------------------------------------ + // RTPortUtils#isConnectedInside() + // ------------------------------------------------------------------------ + @Test + public void testRTPortUtils_isConnectedInside_ExternalBehaviorConnected() throws Exception { + Assert.assertTrue(RTPortUtils.isConnectedInside(connectedCapsule_externalBehavior)); + } + + @Test + public void testRTPortUtils_isConnectedInside_InternalBehaviorConnected() throws Exception { + Assert.assertTrue(RTPortUtils.isConnectedInside(connectedCapsule_internalBehavior)); + } + + @Test + public void testRTPortUtils_isConnectedInside_RelayConnected() throws Exception { + Assert.assertTrue(RTPortUtils.isConnectedInside(connectedCapsule_relay)); + } + + @Test + public void testRTPortUtils_isConnectedInside_ExternalBehaviorNotConnected() throws Exception { + Assert.assertFalse(RTPortUtils.isConnectedInside(connectedCapsule_externalBehaviorNotConnected)); + } + + @Test + public void testRTPortUtils_isConnectedInside_InternalBehaviorNotConnected() throws Exception { + Assert.assertFalse(RTPortUtils.isConnectedInside(connectedCapsule_internalBehaviorNotConnected)); + } + + @Test + public void testRTPortUtils_isConnectedInside_RelayNotConnected() throws Exception { + Assert.assertFalse(RTPortUtils.isConnectedInside(connectedCapsule_relayNotConnected)); + } + + @Test + public void testRTPortUtils_isConnectedInside_ExternalBehavior2Connected() throws Exception { + Assert.assertFalse(RTPortUtils.isConnectedInside(connectedCapsule2_externalBehavior)); + } + + @Test + public void testRTPortUtils_isConnectedInside_InternalBehavior2Connected() throws Exception { + Assert.assertFalse(RTPortUtils.isConnectedInside(connectedCapsule2_internalBehavior)); + } + + @Test + public void testRTPortUtils_isConnectedInside_Relay2Connected() throws Exception { + Assert.assertFalse(RTPortUtils.isConnectedInside(connectedCapsule2_relay)); + } + + // ------------------------------------------------------------------------ + // RTPortUtils#isConnectedOutside() + // ------------------------------------------------------------------------ + @Test + public void testRTPortUtils_isConnectedOutside_ExternalBehaviorConnected() throws Exception { + Assert.assertFalse(RTPortUtils.isConnectedOutside(connectedCapsule_externalBehavior)); + } + + @Test + public void testRTPortUtils_isConnectedOutside_InternalBehaviorConnected() throws Exception { + Assert.assertFalse(RTPortUtils.isConnectedOutside(connectedCapsule_internalBehavior)); + } + + @Test + public void testRTPortUtils_isConnectedOutside_RelayConnected() throws Exception { + Assert.assertFalse(RTPortUtils.isConnectedOutside(connectedCapsule_relay)); + } + + @Test + public void testRTPortUtils_isConnectedOutside_ExternalBehaviorNotConnected() throws Exception { + Assert.assertFalse(RTPortUtils.isConnectedOutside(connectedCapsule_externalBehaviorNotConnected)); + } + + @Test + public void testRTPortUtils_isConnectedOutside_InternalBehaviorNotConnected() throws Exception { + Assert.assertFalse(RTPortUtils.isConnectedOutside(connectedCapsule_internalBehaviorNotConnected)); + } + + @Test + public void testRTPortUtils_isConnectedOutside_RelayNotConnected() throws Exception { + Assert.assertFalse(RTPortUtils.isConnectedOutside(connectedCapsule_relayNotConnected)); + } + + @Test + public void testRTPortUtils_isConnectedOutside_ExternalBehavior2Connected() throws Exception { + Assert.assertTrue(RTPortUtils.isConnectedOutside(connectedCapsule2_externalBehavior)); + } + + @Test + public void testRTPortUtils_isConnectedOutside_InternalBehavior2Connected() throws Exception { + Assert.assertTrue(RTPortUtils.isConnectedOutside(connectedCapsule2_internalBehavior)); + } + + @Test + public void testRTPortUtils_isConnectedOutside_Relay2Connected() throws Exception { + Assert.assertTrue(RTPortUtils.isConnectedOutside(connectedCapsule2_relay)); + } + // ------------------------------------------------------------------------ // test methods diff --git a/tests/junit/umlrt/tooling/org.eclipse.papyrusrt.umlrt.tooling.ui.tests/resource/modelelement/model.notation b/tests/junit/umlrt/tooling/org.eclipse.papyrusrt.umlrt.tooling.ui.tests/resource/modelelement/model.notation index 62ea6a9de..3d9d3a61c 100644 --- a/tests/junit/umlrt/tooling/org.eclipse.papyrusrt.umlrt.tooling.ui.tests/resource/modelelement/model.notation +++ b/tests/junit/umlrt/tooling/org.eclipse.papyrusrt.umlrt.tooling.ui.tests/resource/modelelement/model.notation @@ -330,26 +330,152 @@ </children> <children xmi:type="notation:Shape" xmi:id="_--P8MJUhEeW98PTE4--NLw" type="3069"> <children xmi:type="notation:DecorationNode" xmi:id="_--P8MpUhEeW98PTE4--NLw" type="5125"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_--P8M5UhEeW98PTE4--NLw" x="25" y="3"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_--P8M5UhEeW98PTE4--NLw" x="-33" y="29"/> </children> <children xmi:type="notation:DecorationNode" xmi:id="_--QjQJUhEeW98PTE4--NLw" type="6029"> <layoutConstraint xmi:type="notation:Location" xmi:id="_--QjQZUhEeW98PTE4--NLw" x="25" y="-10"/> </children> <element xmi:type="uml:Port" href="library.uml#_tXMl8JUhEeW98PTE4--NLw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_--P8MZUhEeW98PTE4--NLw" x="-10" y="-10" width="20" height="20"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_--P8MZUhEeW98PTE4--NLw" x="39" y="111" width="20" height="20"/> </children> <children xmi:type="notation:Shape" xmi:id="__Gl_4JUhEeW98PTE4--NLw" type="3069"> <children xmi:type="notation:DecorationNode" xmi:id="__Gl_4pUhEeW98PTE4--NLw" type="5125"> - <layoutConstraint xmi:type="notation:Location" xmi:id="__Gl_45UhEeW98PTE4--NLw" x="25" y="3"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__Gl_45UhEeW98PTE4--NLw" x="41" y="26"/> </children> <children xmi:type="notation:DecorationNode" xmi:id="__Gl_5JUhEeW98PTE4--NLw" type="6029"> <layoutConstraint xmi:type="notation:Location" xmi:id="__Gl_5ZUhEeW98PTE4--NLw" x="25" y="-10"/> </children> <element xmi:type="uml:Port" href="library.uml#_v3TLMJUhEeW98PTE4--NLw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="__Gl_4ZUhEeW98PTE4--NLw" x="-10" y="-10" width="20" height="20"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="__Gl_4ZUhEeW98PTE4--NLw" x="94" y="111" width="20" height="20"/> </children> <element xmi:type="uml:Property" href="model.uml#_xFbawJTrEeW50dEfV7kAUw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x7OaUZTrEeW50dEfV7kAUw" x="186" y="211" width="194" height="111"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x7OaUZTrEeW50dEfV7kAUw" x="222" y="353" width="194" height="111"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_-A2nkJy7EeWzdt_55Z9oIQ" type="3070"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-QJn0Jy7EeWzdt_55Z9oIQ" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-QJn0Zy7EeWzdt_55Z9oIQ" key="mutable" value="true"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_-A_xgJy7EeWzdt_55Z9oIQ" type="5126"/> + <children xmi:type="notation:DecorationNode" xmi:id="_-A_xgZy7EeWzdt_55Z9oIQ" type="6054"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-A_xgpy7EeWzdt_55Z9oIQ" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_-BAYkJy7EeWzdt_55Z9oIQ" type="7077"> + <styles xmi:type="notation:TitleStyle" xmi:id="_-BAYkZy7EeWzdt_55Z9oIQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-BAYkpy7EeWzdt_55Z9oIQ"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_-BjyMJy7EeWzdt_55Z9oIQ" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_-BkZQJy7EeWzdt_55Z9oIQ" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-BkZQZy7EeWzdt_55Z9oIQ" y="-29"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-BkZQpy7EeWzdt_55Z9oIQ" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-BkZQ5y7EeWzdt_55Z9oIQ" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="model.uml#_4LjlYJTqEeW50dEfV7kAUw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-BjyMZy7EeWzdt_55Z9oIQ" x="167" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_-BpRwJy7EeWzdt_55Z9oIQ" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_-BpRwpy7EeWzdt_55Z9oIQ" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-BpRw5y7EeWzdt_55Z9oIQ" x="-9" y="-43"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-Bp40Jy7EeWzdt_55Z9oIQ" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-Bp40Zy7EeWzdt_55Z9oIQ" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="model.uml#_7rMVAJTqEeW50dEfV7kAUw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-BpRwZy7EeWzdt_55Z9oIQ" y="17" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_-Bqf4Jy7EeWzdt_55Z9oIQ" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_-BrG8Jy7EeWzdt_55Z9oIQ" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-BrG8Zy7EeWzdt_55Z9oIQ" x="-28" y="50"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-BruAJy7EeWzdt_55Z9oIQ" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-BruAZy7EeWzdt_55Z9oIQ" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="model.uml#_8bB2gJTqEeW50dEfV7kAUw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-Bqf4Zy7EeWzdt_55Z9oIQ" y="93" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_-Bv_cJy7EeWzdt_55Z9oIQ" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_-BwmgJy7EeWzdt_55Z9oIQ" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-BwmgZy7EeWzdt_55Z9oIQ" x="25" y="-28"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-Bwmgpy7EeWzdt_55Z9oIQ" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-Bwmg5y7EeWzdt_55Z9oIQ" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="model.uml#_nFjBsJUhEeW98PTE4--NLw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-Bv_cZy7EeWzdt_55Z9oIQ" x="215" y="68" width="20" height="20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-CqlcJy7EeWzdt_55Z9oIQ" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_-CqlcZy7EeWzdt_55Z9oIQ" name="stereotype" stringValue="UMLRealTime::CapsulePart"/> + <element xmi:type="uml:Stereotype" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_EQwT4EhOEeO0lv5O1DTHOQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-Cqlcpy7EeWzdt_55Z9oIQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_-Cqlc5y7EeWzdt_55Z9oIQ" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_-CqldJy7EeWzdt_55Z9oIQ" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_-CqldZy7EeWzdt_55Z9oIQ" name="stereotype" stringValue="UMLRealTime::CapsulePart"/> + <element xmi:type="uml:Stereotype" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_EQwT4EhOEeO0lv5O1DTHOQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-Cqldpy7EeWzdt_55Z9oIQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_-CtBsJy7EeWzdt_55Z9oIQ" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_-CtBsZy7EeWzdt_55Z9oIQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-CtBspy7EeWzdt_55Z9oIQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_-C0WcJy7EeWzdt_55Z9oIQ" type="StereotypeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_-C0WcZy7EeWzdt_55Z9oIQ" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_-C0Wcpy7EeWzdt_55Z9oIQ" name="stereotype" stringValue="UMLRealTime::CapsulePart"/> + <element xmi:type="uml:Stereotype" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_EQwT4EhOEeO0lv5O1DTHOQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-C0Wc5y7EeWzdt_55Z9oIQ"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_-DDnAJy7EeWzdt_55Z9oIQ" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_-DDnApy7EeWzdt_55Z9oIQ" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-DE1IJy7EeWzdt_55Z9oIQ" x="17" y="27"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-DJtoJy7EeWzdt_55Z9oIQ" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-DKUsJy7EeWzdt_55Z9oIQ" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="model.uml#_6rNesJTqEeW50dEfV7kAUw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-DDnAZy7EeWzdt_55Z9oIQ" x="57" y="100" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_-DMJ4Jy7EeWzdt_55Z9oIQ" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_-DMJ4py7EeWzdt_55Z9oIQ" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-DMJ45y7EeWzdt_55Z9oIQ" x="24" y="-10"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-DMJ5Jy7EeWzdt_55Z9oIQ" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-DMJ5Zy7EeWzdt_55Z9oIQ" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="model.uml#_9SfqAJTqEeW50dEfV7kAUw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-DMJ4Zy7EeWzdt_55Z9oIQ" y="44" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_-DNYAJy7EeWzdt_55Z9oIQ" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_-DNYApy7EeWzdt_55Z9oIQ" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-DNYA5y7EeWzdt_55Z9oIQ" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-DNYBJy7EeWzdt_55Z9oIQ" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-DNYBZy7EeWzdt_55Z9oIQ" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="model.uml#_jWNpMJUhEeW98PTE4--NLw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-DNYAZy7EeWzdt_55Z9oIQ" x="174" y="100" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_jQbKoJy-EeWzdt_55Z9oIQ" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_jQbKopy-EeWzdt_55Z9oIQ" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_jQbKo5y-EeWzdt_55Z9oIQ" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_jQbKpJy-EeWzdt_55Z9oIQ" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_jQbKpZy-EeWzdt_55Z9oIQ" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="model.uml#_ims4MJy-EeWzdt_55Z9oIQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jQbKoZy-EeWzdt_55Z9oIQ" x="-10" y="-10" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_l-14sJy-EeWzdt_55Z9oIQ" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_l-2fwJy-EeWzdt_55Z9oIQ" type="5125"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_l-2fwZy-EeWzdt_55Z9oIQ" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_l-2fwpy-EeWzdt_55Z9oIQ" type="6029"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_l-2fw5y-EeWzdt_55Z9oIQ" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="model.uml#_lVc9cJy-EeWzdt_55Z9oIQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_l-14sZy-EeWzdt_55Z9oIQ" x="-10" y="-10" width="20" height="20"/> + </children> + <element xmi:type="uml:Property" href="model.uml#_9_ofkJy7EeWzdt_55Z9oIQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-A2nkZy7EeWzdt_55Z9oIQ" x="281" y="100" width="215" height="100"/> </children> <styles xmi:type="notation:TitleStyle" xmi:id="_uujC_JTrEeW50dEfV7kAUw"/> <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uujC_ZTrEeW50dEfV7kAUw"/> @@ -387,13 +513,13 @@ </children> <children xmi:type="notation:Shape" xmi:id="_uujDNJTrEeW50dEfV7kAUw" type="3069"> <children xmi:type="notation:DecorationNode" xmi:id="_uujDNZTrEeW50dEfV7kAUw" type="5125"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_uujDNpTrEeW50dEfV7kAUw" x="25" y="3"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_uujDNpTrEeW50dEfV7kAUw" x="16" y="-11"/> </children> <children xmi:type="notation:DecorationNode" xmi:id="_uujDN5TrEeW50dEfV7kAUw" type="6029"> <layoutConstraint xmi:type="notation:Location" xmi:id="_uujDSZTrEeW50dEfV7kAUw" x="25" y="-10"/> </children> <element xmi:type="uml:Port" href="model.uml#_uujC8pTrEeW50dEfV7kAUw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uujDW5TrEeW50dEfV7kAUw" x="43" y="113" width="20" height="20"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uujDW5TrEeW50dEfV7kAUw" x="605" y="344" width="20" height="20"/> </children> <children xmi:type="notation:Shape" xmi:id="_uujDXJTrEeW50dEfV7kAUw" type="3069"> <children xmi:type="notation:DecorationNode" xmi:id="_uujDXZTrEeW50dEfV7kAUw" type="5125"> @@ -403,7 +529,7 @@ <layoutConstraint xmi:type="notation:Location" xmi:id="_uujDcZTrEeW50dEfV7kAUw" x="25" y="-10"/> </children> <element xmi:type="uml:Port" href="model.uml#_uujC85TrEeW50dEfV7kAUw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uujDg5TrEeW50dEfV7kAUw" y="178" width="20" height="20"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uujDg5TrEeW50dEfV7kAUw" y="465" width="20" height="20"/> </children> <children xmi:type="notation:Shape" xmi:id="_uujDhJTrEeW50dEfV7kAUw" type="3069"> <children xmi:type="notation:DecorationNode" xmi:id="_uujDhZTrEeW50dEfV7kAUw" type="5125"> @@ -413,17 +539,17 @@ <layoutConstraint xmi:type="notation:Location" xmi:id="_uujDmZTrEeW50dEfV7kAUw" x="25" y="-10"/> </children> <element xmi:type="uml:Port" href="model.uml#_uujC9JTrEeW50dEfV7kAUw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uujDq5TrEeW50dEfV7kAUw" x="490" y="199" width="20" height="20"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uujDq5TrEeW50dEfV7kAUw" x="616" y="490" width="20" height="20"/> </children> <children xmi:type="notation:Shape" xmi:id="_uujDrJTrEeW50dEfV7kAUw" type="3069"> <children xmi:type="notation:DecorationNode" xmi:id="_uujDrZTrEeW50dEfV7kAUw" type="5125"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_uujDrpTrEeW50dEfV7kAUw" x="25" y="3"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_uujDrpTrEeW50dEfV7kAUw" x="3" y="23"/> </children> <children xmi:type="notation:DecorationNode" xmi:id="_uujDr5TrEeW50dEfV7kAUw" type="6029"> <layoutConstraint xmi:type="notation:Location" xmi:id="_uujDwZTrEeW50dEfV7kAUw" x="25" y="-10"/> </children> <element xmi:type="uml:Port" href="model.uml#_uujC9ZTrEeW50dEfV7kAUw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uujD05TrEeW50dEfV7kAUw" x="348" y="83" width="20" height="20"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uujD05TrEeW50dEfV7kAUw" x="372" y="159" width="20" height="20"/> </children> <children xmi:type="notation:Shape" xmi:id="_CceWkJUiEeW98PTE4--NLw" type="3069"> <children xmi:type="notation:DecorationNode" xmi:id="_Cce9oJUiEeW98PTE4--NLw" type="5125"> @@ -433,7 +559,7 @@ <layoutConstraint xmi:type="notation:Location" xmi:id="_Cce9o5UiEeW98PTE4--NLw" x="25" y="-10"/> </children> <element xmi:type="uml:Port" href="model.uml#_B3KqEJUiEeW98PTE4--NLw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CceWkZUiEeW98PTE4--NLw" x="635" y="63" width="20" height="20"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CceWkZUiEeW98PTE4--NLw" x="753" y="224" width="20" height="20"/> </children> <children xmi:type="notation:Shape" xmi:id="_FSStIJUiEeW98PTE4--NLw" type="3069"> <children xmi:type="notation:DecorationNode" xmi:id="_FSTUMJUiEeW98PTE4--NLw" type="5125"> @@ -446,7 +572,95 @@ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FSStIZUiEeW98PTE4--NLw" x="635" y="118" width="20" height="20"/> </children> <element xmi:type="uml:Class" href="model.uml#_uujC8JTrEeW50dEfV7kAUw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uujD1JTrEeW50dEfV7kAUw" x="40" y="40" width="645" height="409"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uujD1JTrEeW50dEfV7kAUw" x="40" y="40" width="753" height="553"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_EP0Oxpy9EeWzdt_55Z9oIQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_EP0Ox5y9EeWzdt_55Z9oIQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_EP0OyZy9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Port" href="model.uml#_uujC8ZTrEeW50dEfV7kAUw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EP0OyJy9EeWzdt_55Z9oIQ" x="200" y="58"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_EP_N4Jy9EeWzdt_55Z9oIQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_EP_N4Zy9EeWzdt_55Z9oIQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_EP_N45y9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Connector" href="model.uml#_4HOCgJTrEeW50dEfV7kAUw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EP_N4py9EeWzdt_55Z9oIQ" x="200" y="-42"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_EQKNAJy9EeWzdt_55Z9oIQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_EQKNAZy9EeWzdt_55Z9oIQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_EQKNA5y9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Port" href="model.uml#_uujC8pTrEeW50dEfV7kAUw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EQKNApy9EeWzdt_55Z9oIQ" x="805" y="344"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_EQdvAJy9EeWzdt_55Z9oIQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_EQdvAZy9EeWzdt_55Z9oIQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_EQdvA5y9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Connector" href="model.uml#_7QMloJTrEeW50dEfV7kAUw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EQdvApy9EeWzdt_55Z9oIQ" x="805" y="244"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_EQj1pJy9EeWzdt_55Z9oIQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_EQj1pZy9EeWzdt_55Z9oIQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_EQj1p5y9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Port" href="model.uml#_uujC85TrEeW50dEfV7kAUw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EQj1ppy9EeWzdt_55Z9oIQ" x="200" y="465"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_EQyfIJy9EeWzdt_55Z9oIQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_EQyfIZy9EeWzdt_55Z9oIQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_EQyfI5y9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Connector" href="model.uml#_4-JqgJTrEeW50dEfV7kAUw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EQyfIpy9EeWzdt_55Z9oIQ" x="200" y="365"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_EQ5M1Jy9EeWzdt_55Z9oIQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_EQ5M1Zy9EeWzdt_55Z9oIQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_EQ5M15y9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Port" href="model.uml#_uujC9JTrEeW50dEfV7kAUw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EQ5M1py9EeWzdt_55Z9oIQ" x="816" y="490"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_ERGBIJy9EeWzdt_55Z9oIQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_ERGBIZy9EeWzdt_55Z9oIQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_ERGBI5y9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Connector" href="model.uml#_50gqwJTrEeW50dEfV7kAUw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ERGBIpy9EeWzdt_55Z9oIQ" x="816" y="390"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_ERN89Jy9EeWzdt_55Z9oIQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_ERN89Zy9EeWzdt_55Z9oIQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_ERN895y9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Port" href="model.uml#_uujC9ZTrEeW50dEfV7kAUw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ERN89py9EeWzdt_55Z9oIQ" x="572" y="159"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_ERcmdpy9EeWzdt_55Z9oIQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_ERdNgJy9EeWzdt_55Z9oIQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_ERdNgpy9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Port" href="model.uml#_B3KqEJUiEeW98PTE4--NLw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ERdNgZy9EeWzdt_55Z9oIQ" x="953" y="224"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_ERlwYJy9EeWzdt_55Z9oIQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_ERlwYZy9EeWzdt_55Z9oIQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_ERlwY5y9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Port" href="model.uml#_EkS-sJUiEeW98PTE4--NLw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ERlwYpy9EeWzdt_55Z9oIQ" x="835" y="118"/> </children> <styles xmi:type="notation:StringValueStyle" xmi:id="_uujD1ZTrEeW50dEfV7kAUw" name="diagram_compatibility_version" stringValue="1.1.0"/> <styles xmi:type="notation:DiagramStyle" xmi:id="_uujD1pTrEeW50dEfV7kAUw"/> @@ -528,8 +742,175 @@ <styles xmi:type="notation:FontStyle" xmi:id="_7QxNYZTrEeW50dEfV7kAUw"/> <element xmi:type="uml:Connector" href="model.uml#_7QMloJTrEeW50dEfV7kAUw"/> <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_7QxNYpTrEeW50dEfV7kAUw" points="[10, 4, -338, -160]$[352, 162, 4, -2]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7SY-AJTrEeW50dEfV7kAUw" id="(1.0,0.8)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7SY-AZTrEeW50dEfV7kAUw" id="(0.0,0.0)"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7SY-AJTrEeW50dEfV7kAUw" id="(0.55,1.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7SY-AZTrEeW50dEfV7kAUw" id="(1.0,0.5)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_WLwFUJy8EeWzdt_55Z9oIQ" type="4013" source="_-BjyMJy7EeWzdt_55Z9oIQ" target="_uujDDJTrEeW50dEfV7kAUw"> + <children xmi:type="notation:DecorationNode" xmi:id="_WLwFU5y8EeWzdt_55Z9oIQ" type="6025"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WLwFVJy8EeWzdt_55Z9oIQ" y="60"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_WLwFVZy8EeWzdt_55Z9oIQ" type="6050"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WLwFVpy8EeWzdt_55Z9oIQ" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_WLwFV5y8EeWzdt_55Z9oIQ" type="6051"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WLwFWJy8EeWzdt_55Z9oIQ" y="20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_WLwsYJy8EeWzdt_55Z9oIQ" type="6052"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WLwsYZy8EeWzdt_55Z9oIQ" y="20"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_WLwFUZy8EeWzdt_55Z9oIQ"/> + <element xmi:type="uml:Connector" href="model.uml#_WKmOwJy8EeWzdt_55Z9oIQ"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_WLwFUpy8EeWzdt_55Z9oIQ" points="[-10, -2, 479, 71]$[-493, -74, -4, -1]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WPsKIJy8EeWzdt_55Z9oIQ" id="(0.0,0.3)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WPsKIZy8EeWzdt_55Z9oIQ" id="(1.0,0.55)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_agtTYJy8EeWzdt_55Z9oIQ" type="4013" source="_-BpRwJy7EeWzdt_55Z9oIQ" target="_uujDXJTrEeW50dEfV7kAUw"> + <children xmi:type="notation:DecorationNode" xmi:id="_aguhgJy8EeWzdt_55Z9oIQ" type="6025"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_aguhgZy8EeWzdt_55Z9oIQ" y="60"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_aguhgpy8EeWzdt_55Z9oIQ" type="6050"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_aguhg5y8EeWzdt_55Z9oIQ" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_agvIkJy8EeWzdt_55Z9oIQ" type="6051"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_agvIkZy8EeWzdt_55Z9oIQ" y="20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_agvIkpy8EeWzdt_55Z9oIQ" type="6052"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_agvIk5y8EeWzdt_55Z9oIQ" y="20"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_agtTYZy8EeWzdt_55Z9oIQ"/> + <element xmi:type="uml:Connector" href="model.uml#_afbhAJy8EeWzdt_55Z9oIQ"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_agtTYpy8EeWzdt_55Z9oIQ" points="[-10, 10, 306, -308]$[-313, 308, 3, -10]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_akEwcJy8EeWzdt_55Z9oIQ" id="(0.0,0.95)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_akEwcZy8EeWzdt_55Z9oIQ" id="(0.9,0.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_d3RmkJy8EeWzdt_55Z9oIQ" type="4013" source="_-DDnAJy7EeWzdt_55Z9oIQ" target="_uujDNJTrEeW50dEfV7kAUw"> + <children xmi:type="notation:DecorationNode" xmi:id="_d3SNoJy8EeWzdt_55Z9oIQ" type="6025"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_d3SNoZy8EeWzdt_55Z9oIQ" y="60"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_d3SNopy8EeWzdt_55Z9oIQ" type="6050"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_d3SNo5y8EeWzdt_55Z9oIQ" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_d3SNpJy8EeWzdt_55Z9oIQ" type="6051"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_d3SNpZy8EeWzdt_55Z9oIQ" y="20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_d3SNppy8EeWzdt_55Z9oIQ" type="6052"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_d3SNp5y8EeWzdt_55Z9oIQ" y="20"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_d3RmkZy8EeWzdt_55Z9oIQ"/> + <element xmi:type="uml:Connector" href="model.uml#_d2aq8Jy8EeWzdt_55Z9oIQ"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_d3Rmkpy8EeWzdt_55Z9oIQ" points="[10, 4, -222, -110]$[236, 104, 4, -10]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_d53nkJy8EeWzdt_55Z9oIQ" id="(1.0,0.8)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_d53nkZy8EeWzdt_55Z9oIQ" id="(0.0,0.1)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_EP0Oypy9EeWzdt_55Z9oIQ" type="StereotypeCommentLink" source="_uujDDJTrEeW50dEfV7kAUw" target="_EP0Oxpy9EeWzdt_55Z9oIQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_EP0Oy5y9EeWzdt_55Z9oIQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_EP0Oz5y9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Port" href="model.uml#_uujC8ZTrEeW50dEfV7kAUw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_EP0OzJy9EeWzdt_55Z9oIQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_EP0OzZy9EeWzdt_55Z9oIQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_EP0Ozpy9EeWzdt_55Z9oIQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_EP_N5Jy9EeWzdt_55Z9oIQ" type="StereotypeCommentLink" source="_4HyqQJTrEeW50dEfV7kAUw" target="_EP_N4Jy9EeWzdt_55Z9oIQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_EP_N5Zy9EeWzdt_55Z9oIQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_EP_N6Zy9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Connector" href="model.uml#_4HOCgJTrEeW50dEfV7kAUw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_EP_N5py9EeWzdt_55Z9oIQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_EP_N55y9EeWzdt_55Z9oIQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_EP_N6Jy9EeWzdt_55Z9oIQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_EQKNBJy9EeWzdt_55Z9oIQ" type="StereotypeCommentLink" source="_uujDNJTrEeW50dEfV7kAUw" target="_EQKNAJy9EeWzdt_55Z9oIQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_EQKNBZy9EeWzdt_55Z9oIQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_EQKNCZy9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Port" href="model.uml#_uujC8pTrEeW50dEfV7kAUw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_EQKNBpy9EeWzdt_55Z9oIQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_EQKNB5y9EeWzdt_55Z9oIQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_EQKNCJy9EeWzdt_55Z9oIQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_EQdvBJy9EeWzdt_55Z9oIQ" type="StereotypeCommentLink" source="_7QxNYJTrEeW50dEfV7kAUw" target="_EQdvAJy9EeWzdt_55Z9oIQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_EQdvBZy9EeWzdt_55Z9oIQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_EQdvCZy9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Connector" href="model.uml#_7QMloJTrEeW50dEfV7kAUw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_EQdvBpy9EeWzdt_55Z9oIQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_EQdvB5y9EeWzdt_55Z9oIQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_EQdvCJy9EeWzdt_55Z9oIQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_EQj1qJy9EeWzdt_55Z9oIQ" type="StereotypeCommentLink" source="_uujDXJTrEeW50dEfV7kAUw" target="_EQj1pJy9EeWzdt_55Z9oIQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_EQj1qZy9EeWzdt_55Z9oIQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_EQj1rZy9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Port" href="model.uml#_uujC85TrEeW50dEfV7kAUw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_EQj1qpy9EeWzdt_55Z9oIQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_EQj1q5y9EeWzdt_55Z9oIQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_EQj1rJy9EeWzdt_55Z9oIQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_EQyfJJy9EeWzdt_55Z9oIQ" type="StereotypeCommentLink" source="_4-iFAJTrEeW50dEfV7kAUw" target="_EQyfIJy9EeWzdt_55Z9oIQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_EQyfJZy9EeWzdt_55Z9oIQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_EQyfKZy9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Connector" href="model.uml#_4-JqgJTrEeW50dEfV7kAUw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_EQyfJpy9EeWzdt_55Z9oIQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_EQyfJ5y9EeWzdt_55Z9oIQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_EQyfKJy9EeWzdt_55Z9oIQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_EQ5M2Jy9EeWzdt_55Z9oIQ" type="StereotypeCommentLink" source="_uujDhJTrEeW50dEfV7kAUw" target="_EQ5M1Jy9EeWzdt_55Z9oIQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_EQ5M2Zy9EeWzdt_55Z9oIQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_EQ5M3Zy9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Port" href="model.uml#_uujC9JTrEeW50dEfV7kAUw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_EQ5M2py9EeWzdt_55Z9oIQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_EQ5M25y9EeWzdt_55Z9oIQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_EQ5M3Jy9EeWzdt_55Z9oIQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_ERGBJJy9EeWzdt_55Z9oIQ" type="StereotypeCommentLink" source="_50_L4JTrEeW50dEfV7kAUw" target="_ERGBIJy9EeWzdt_55Z9oIQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_ERGBJZy9EeWzdt_55Z9oIQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_ERGBKZy9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Connector" href="model.uml#_50gqwJTrEeW50dEfV7kAUw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ERGBJpy9EeWzdt_55Z9oIQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ERGBJ5y9EeWzdt_55Z9oIQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ERGBKJy9EeWzdt_55Z9oIQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_ERN8-Jy9EeWzdt_55Z9oIQ" type="StereotypeCommentLink" source="_uujDrJTrEeW50dEfV7kAUw" target="_ERN89Jy9EeWzdt_55Z9oIQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_ERN8-Zy9EeWzdt_55Z9oIQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_EROkAJy9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Port" href="model.uml#_uujC9ZTrEeW50dEfV7kAUw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ERN8-py9EeWzdt_55Z9oIQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ERN8-5y9EeWzdt_55Z9oIQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ERN8_Jy9EeWzdt_55Z9oIQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_ERdNg5y9EeWzdt_55Z9oIQ" type="StereotypeCommentLink" source="_CceWkJUiEeW98PTE4--NLw" target="_ERcmdpy9EeWzdt_55Z9oIQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_ERdNhJy9EeWzdt_55Z9oIQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_ERdNiJy9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Port" href="model.uml#_B3KqEJUiEeW98PTE4--NLw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ERdNhZy9EeWzdt_55Z9oIQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ERdNhpy9EeWzdt_55Z9oIQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ERdNh5y9EeWzdt_55Z9oIQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_ERlwZJy9EeWzdt_55Z9oIQ" type="StereotypeCommentLink" source="_FSStIJUiEeW98PTE4--NLw" target="_ERlwYJy9EeWzdt_55Z9oIQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_ERlwZZy9EeWzdt_55Z9oIQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_ERlwaZy9EeWzdt_55Z9oIQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Port" href="model.uml#_EkS-sJUiEeW98PTE4--NLw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ERlwZpy9EeWzdt_55Z9oIQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ERlwZ5y9EeWzdt_55Z9oIQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ERlwaJy9EeWzdt_55Z9oIQ"/> </edges> </notation:Diagram> </xmi:XMI> diff --git a/tests/junit/umlrt/tooling/org.eclipse.papyrusrt.umlrt.tooling.ui.tests/resource/modelelement/model.uml b/tests/junit/umlrt/tooling/org.eclipse.papyrusrt.umlrt.tooling.ui.tests/resource/modelelement/model.uml index 3ac1977d1..f4369d360 100644 --- a/tests/junit/umlrt/tooling/org.eclipse.papyrusrt.umlrt.tooling.ui.tests/resource/modelelement/model.uml +++ b/tests/junit/umlrt/tooling/org.eclipse.papyrusrt.umlrt.tooling.ui.tests/resource/modelelement/model.uml @@ -11,7 +11,10 @@ <ownedAttribute xmi:type="uml:Port" xmi:id="_8bB2gJTqEeW50dEfV7kAUw" name="spp" visibility="public" type="_5K7XsJTqEeW50dEfV7kAUw" aggregation="composite" isBehavior="true"/> <ownedAttribute xmi:type="uml:Port" xmi:id="_9SfqAJTqEeW50dEfV7kAUw" name="sap" visibility="protected" type="_5K7XsJTqEeW50dEfV7kAUw" aggregation="composite" isBehavior="true" isService="false"/> <ownedAttribute xmi:type="uml:Port" xmi:id="_jWNpMJUhEeW98PTE4--NLw" name="legacySpp" visibility="protected" type="_5K7XsJTqEeW50dEfV7kAUw" aggregation="composite" isBehavior="true" isService="false"/> - <ownedAttribute xmi:type="uml:Port" xmi:id="_nFjBsJUhEeW98PTE4--NLw" name="legacySap" visibility="protected" type="_5K7XsJTqEeW50dEfV7kAUw" aggregation="composite" isBehavior="true" isService="true"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_nFjBsJUhEeW98PTE4--NLw" name="legacySap" visibility="protected" type="_5K7XsJTqEeW50dEfV7kAUw" aggregation="composite" isBehavior="true"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_ims4MJy-EeWzdt_55Z9oIQ" name="externalBehaviorNotConnected" visibility="public" type="_5K7XsJTqEeW50dEfV7kAUw" isOrdered="true" aggregation="composite" isBehavior="true"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_kVDQYJy-EeWzdt_55Z9oIQ" name="internalBehaviorNotConnected" visibility="public" type="_5K7XsJTqEeW50dEfV7kAUw" isOrdered="true" aggregation="composite" isBehavior="true" isService="false"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_lVc9cJy-EeWzdt_55Z9oIQ" name="relayNotConnected" visibility="public" type="_5K7XsJTqEeW50dEfV7kAUw" isOrdered="true" aggregation="composite"/> </packagedElement> <packagedElement xmi:type="uml:Package" xmi:id="_5K_CEJTqEeW50dEfV7kAUw" name="Protocol1"> <packagedElement xmi:type="uml:Collaboration" xmi:id="_5K7XsJTqEeW50dEfV7kAUw" name="Protocol1"> @@ -46,6 +49,10 @@ </ownedAttribute> <ownedAttribute xmi:type="uml:Port" xmi:id="_B3KqEJUiEeW98PTE4--NLw" name="legacySpp" visibility="protected" type="_5K7XsJTqEeW50dEfV7kAUw" aggregation="composite" isBehavior="true" isService="false"/> <ownedAttribute xmi:type="uml:Port" xmi:id="_EkS-sJUiEeW98PTE4--NLw" name="legacySap" visibility="protected" type="_5K7XsJTqEeW50dEfV7kAUw" aggregation="composite" isBehavior="true"/> + <ownedAttribute xmi:type="uml:Property" xmi:id="_9_ofkJy7EeWzdt_55Z9oIQ" name="capsule" visibility="protected" type="_2FYjEJTqEeW50dEfV7kAUw" isOrdered="true" aggregation="composite"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_-AOVcJy7EeWzdt_55Z9oIQ" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_-AOVcZy7EeWzdt_55Z9oIQ" value="1"/> + </ownedAttribute> <ownedConnector xmi:type="uml:Connector" xmi:id="_4HOCgJTrEeW50dEfV7kAUw" name="RTConnector1"> <end xmi:type="uml:ConnectorEnd" xmi:id="_4HUJIJTrEeW50dEfV7kAUw" role="_uujC8ZTrEeW50dEfV7kAUw"/> <end xmi:type="uml:ConnectorEnd" xmi:id="_4HUJIZTrEeW50dEfV7kAUw" partWithPort="_xFbawJTrEeW50dEfV7kAUw"> @@ -70,6 +77,18 @@ <role xmi:type="uml:Port" href="library.uml#_VpBwAJTrEeW50dEfV7kAUw"/> </end> </ownedConnector> + <ownedConnector xmi:type="uml:Connector" xmi:id="_WKmOwJy8EeWzdt_55Z9oIQ" name="RTConnector5"> + <end xmi:type="uml:ConnectorEnd" xmi:id="_WKnc4Jy8EeWzdt_55Z9oIQ" partWithPort="_9_ofkJy7EeWzdt_55Z9oIQ" role="_4LjlYJTqEeW50dEfV7kAUw"/> + <end xmi:type="uml:ConnectorEnd" xmi:id="_WKoD8Jy8EeWzdt_55Z9oIQ" role="_uujC8ZTrEeW50dEfV7kAUw"/> + </ownedConnector> + <ownedConnector xmi:type="uml:Connector" xmi:id="_afbhAJy8EeWzdt_55Z9oIQ" name="RTConnector6"> + <end xmi:type="uml:ConnectorEnd" xmi:id="_afcvIJy8EeWzdt_55Z9oIQ" partWithPort="_9_ofkJy7EeWzdt_55Z9oIQ" role="_7rMVAJTqEeW50dEfV7kAUw"/> + <end xmi:type="uml:ConnectorEnd" xmi:id="_afdWMJy8EeWzdt_55Z9oIQ" role="_uujC85TrEeW50dEfV7kAUw"/> + </ownedConnector> + <ownedConnector xmi:type="uml:Connector" xmi:id="_d2aq8Jy8EeWzdt_55Z9oIQ" name="RTConnector7"> + <end xmi:type="uml:ConnectorEnd" xmi:id="_d2b5EJy8EeWzdt_55Z9oIQ" partWithPort="_9_ofkJy7EeWzdt_55Z9oIQ" role="_6rNesJTqEeW50dEfV7kAUw"/> + <end xmi:type="uml:ConnectorEnd" xmi:id="_d2b5EZy8EeWzdt_55Z9oIQ" role="_uujC8pTrEeW50dEfV7kAUw"/> + </ownedConnector> </packagedElement> <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_0paUUJTqEeW50dEfV7kAUw"> <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_0pcwkJTqEeW50dEfV7kAUw" source="http://www.eclipse.org/uml2/2.0.0/UML"> @@ -87,7 +106,7 @@ <UMLRealTime:Protocol xmi:id="_5LweIJTqEeW50dEfV7kAUw" base_Collaboration="_5K7XsJTqEeW50dEfV7kAUw"/> <UMLRealTime:RTPort xmi:id="_6rRJEJTqEeW50dEfV7kAUw" base_Port="_6rNesJTqEeW50dEfV7kAUw"/> <UMLRealTime:RTPort xmi:id="_7rPYUJTqEeW50dEfV7kAUw" base_Port="_7rMVAJTqEeW50dEfV7kAUw"/> - <UMLRealTime:RTPort xmi:id="_8bDrsJTqEeW50dEfV7kAUw" isWired="false" isPublish="true" base_Port="_8bB2gJTqEeW50dEfV7kAUw"/> + <UMLRealTime:RTPort xmi:id="_8bDrsJTqEeW50dEfV7kAUw" isPublish="true" isWired="false" base_Port="_8bB2gJTqEeW50dEfV7kAUw"/> <UMLRealTime:RTPort xmi:id="_9SjUYJTqEeW50dEfV7kAUw" isWired="false" base_Port="_9SfqAJTqEeW50dEfV7kAUw"/> <UMLRealTime:Capsule xmi:id="_uupJkJTrEeW50dEfV7kAUw" base_Class="_uujC8JTrEeW50dEfV7kAUw"/> <UMLRealTime:RTPort xmi:id="_uupJkZTrEeW50dEfV7kAUw" base_Port="_uujC8ZTrEeW50dEfV7kAUw"/> @@ -101,7 +120,14 @@ <UMLRealTime:RTConnector xmi:id="_50gqw5TrEeW50dEfV7kAUw" base_Connector="_50gqwJTrEeW50dEfV7kAUw"/> <UMLRealTime:RTConnector xmi:id="_7QSsQpTrEeW50dEfV7kAUw" base_Connector="_7QMloJTrEeW50dEfV7kAUw"/> <UMLRealTime:RTPort xmi:id="_jWQFcJUhEeW98PTE4--NLw" isPublish="true" isWired="false" base_Port="_jWNpMJUhEeW98PTE4--NLw"/> - <UMLRealTime:RTPort xmi:id="_nFk24JUhEeW98PTE4--NLw" isPublish="false" isWired="false" base_Port="_nFjBsJUhEeW98PTE4--NLw"/> + <UMLRealTime:RTPort xmi:id="_nFk24JUhEeW98PTE4--NLw" isWired="false" base_Port="_nFjBsJUhEeW98PTE4--NLw"/> <UMLRealTime:RTPort xmi:id="_B3NGUJUiEeW98PTE4--NLw" isPublish="true" isWired="false" base_Port="_B3KqEJUiEeW98PTE4--NLw"/> <UMLRealTime:RTPort xmi:id="_EkVa8JUiEeW98PTE4--NLw" isWired="false" base_Port="_EkS-sJUiEeW98PTE4--NLw"/> + <UMLRealTime:CapsulePart xmi:id="_-AL5MJy7EeWzdt_55Z9oIQ" base_Property="_9_ofkJy7EeWzdt_55Z9oIQ"/> + <UMLRealTime:RTConnector xmi:id="_WKorAJy8EeWzdt_55Z9oIQ" base_Connector="_WKmOwJy8EeWzdt_55Z9oIQ"/> + <UMLRealTime:RTConnector xmi:id="_afdWMZy8EeWzdt_55Z9oIQ" base_Connector="_afbhAJy8EeWzdt_55Z9oIQ"/> + <UMLRealTime:RTConnector xmi:id="_d2b5Epy8EeWzdt_55Z9oIQ" base_Connector="_d2aq8Jy8EeWzdt_55Z9oIQ"/> + <UMLRealTime:RTPort xmi:id="_im1bEJy-EeWzdt_55Z9oIQ" base_Port="_ims4MJy-EeWzdt_55Z9oIQ"/> + <UMLRealTime:RTPort xmi:id="_kVFFkJy-EeWzdt_55Z9oIQ" base_Port="_kVDQYJy-EeWzdt_55Z9oIQ"/> + <UMLRealTime:RTPort xmi:id="_lVeLkJy-EeWzdt_55Z9oIQ" base_Port="_lVc9cJy-EeWzdt_55Z9oIQ"/> </xmi:XMI> diff --git a/tests/junit/umlrt/tooling/org.eclipse.papyrusrt.umlrt.tooling.ui.tests/src/org/eclipse/papyrusrt/umlrt/tooling/ui/tests/modelelement/ModelElementTest.java b/tests/junit/umlrt/tooling/org.eclipse.papyrusrt.umlrt.tooling.ui.tests/src/org/eclipse/papyrusrt/umlrt/tooling/ui/tests/modelelement/ModelElementTest.java index b1d83112c..65242e07d 100644 --- a/tests/junit/umlrt/tooling/org.eclipse.papyrusrt.umlrt.tooling.ui.tests/src/org/eclipse/papyrusrt/umlrt/tooling/ui/tests/modelelement/ModelElementTest.java +++ b/tests/junit/umlrt/tooling/org.eclipse.papyrusrt.umlrt.tooling.ui.tests/src/org/eclipse/papyrusrt/umlrt/tooling/ui/tests/modelelement/ModelElementTest.java @@ -44,6 +44,9 @@ public class ModelElementTest extends AbstractPapyrusTest { protected static Port capsule_externalBehavior; protected static Port capsule_internalBehavior; protected static Port capsule_relay; + protected static Port capsule_externalBehaviorNotConnected; + protected static Port capsule_internalBehaviorNotConnected; + protected static Port capsule_relayNotConnected; protected static Port capsule_sap; protected static Port capsule_spp; protected static Port capsule_legacySap; @@ -113,6 +116,12 @@ public class ModelElementTest extends AbstractPapyrusTest { Assert.assertNotNull(capsule_internalBehavior); capsule_relay= capsule.getOwnedPort("relay", null); Assert.assertNotNull(capsule_relay); + capsule_externalBehaviorNotConnected = capsule.getOwnedPort("externalBehaviorNotConnected", null); + Assert.assertNotNull(capsule_externalBehaviorNotConnected); + capsule_internalBehaviorNotConnected = capsule.getOwnedPort("internalBehaviorNotConnected", null); + Assert.assertNotNull(capsule_internalBehaviorNotConnected); + capsule_relayNotConnected = capsule.getOwnedPort("relayNotConnected", null); + Assert.assertNotNull(capsule_relayNotConnected); capsule_sap= capsule.getOwnedPort("sap", null); Assert.assertNotNull(capsule_sap); capsule_spp= capsule.getOwnedPort("spp", null); @@ -156,14 +165,14 @@ public class ModelElementTest extends AbstractPapyrusTest { // test Property paths on UML Element UMLRTExtModelElement umlrtExtModelElement = new UMLRTExtModelElement(capsule_externalBehavior, modelSetFixture.getEditingDomain()); assertFalse(IS_CONJUGATED_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_CONJUGATED)); - assertFalse(IS_SERVICE_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_SERVICE)); + assertTrue(IS_SERVICE_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_SERVICE));// it is connected outside assertFalse(IS_BEHAVIOR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_BEHAVIOR)); assertTrue(UNKNOWN_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, UNKNOWN)); // test Property Paths for RTStereotypeModelElement RTStereotypeModelElement rtStereotypeModelElement = new RTStereotypeModelElement(RTPortUtils.getStereotypeApplication(capsule_externalBehavior), capsule_externalBehavior.getAppliedStereotype("UMLRealTime::RTPort"), modelSetFixture.getEditingDomain()); assertFalse(KIND_ERROR_MESSAGE, isDeactivated(rtStereotypeModelElement, IRealTimeConstants.KIND)); - assertFalse(IS_WIRED_MESSAGE, isDeactivated(rtStereotypeModelElement, IS_WIRED)); + assertTrue(IS_WIRED_MESSAGE, isDeactivated(rtStereotypeModelElement, IS_WIRED)); // it is connected outside assertFalse(IS_NOTIFICATION_MESSAGE, isDeactivated(rtStereotypeModelElement, IS_NOTIFICATION)); assertTrue(IS_PUBLISH_MESSAGE, isDeactivated(rtStereotypeModelElement, IS_PUBLISH)); assertTrue(UNKNOWN_ERROR_MESSAGE, isDeactivated(rtStereotypeModelElement, UNKNOWN)); @@ -177,14 +186,14 @@ public class ModelElementTest extends AbstractPapyrusTest { // test Property paths on UML Element UMLRTExtModelElement umlrtExtModelElement = new UMLRTExtModelElement(capsule_internalBehavior, modelSetFixture.getEditingDomain()); assertFalse(IS_CONJUGATED_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_CONJUGATED)); - assertFalse(IS_SERVICE_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_SERVICE)); + assertTrue(IS_SERVICE_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_SERVICE)); // is is connected outside assertTrue(IS_BEHAVIOR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_BEHAVIOR)); assertTrue(UNKNOWN_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, UNKNOWN)); // test Property Paths for RTStereotypeModelElement RTStereotypeModelElement rtStereotypeModelElement = new RTStereotypeModelElement(RTPortUtils.getStereotypeApplication(capsule_internalBehavior), capsule_internalBehavior.getAppliedStereotype("UMLRealTime::RTPort"), modelSetFixture.getEditingDomain()); assertFalse(KIND_ERROR_MESSAGE, isDeactivated(rtStereotypeModelElement, IRealTimeConstants.KIND)); - assertFalse(IS_WIRED_MESSAGE, isDeactivated(rtStereotypeModelElement, IS_WIRED)); + assertTrue(IS_WIRED_MESSAGE, isDeactivated(rtStereotypeModelElement, IS_WIRED)); assertFalse(IS_NOTIFICATION_MESSAGE, isDeactivated(rtStereotypeModelElement, IS_NOTIFICATION)); assertTrue(IS_PUBLISH_MESSAGE, isDeactivated(rtStereotypeModelElement, IS_PUBLISH)); assertTrue(UNKNOWN_ERROR_MESSAGE, isDeactivated(rtStereotypeModelElement, UNKNOWN)); @@ -215,6 +224,74 @@ public class ModelElementTest extends AbstractPapyrusTest { } @Test + public void validateStandardCapsuleExternalBehaviorNotConnectedPort() throws Exception { + assertEquals(RTPortKindEnum.EXTERNAL, RTPortUtils.getKind(capsule_externalBehaviorNotConnected)); + // test Property paths on UML Element + UMLRTExtModelElement umlrtExtModelElement = new UMLRTExtModelElement(capsule_externalBehaviorNotConnected, modelSetFixture.getEditingDomain()); + assertFalse(IS_CONJUGATED_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_CONJUGATED)); + assertFalse(IS_SERVICE_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_SERVICE)); + assertFalse(IS_BEHAVIOR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_BEHAVIOR)); + assertTrue(UNKNOWN_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, UNKNOWN)); + // test Property Paths for RTStereotypeModelElement + + RTStereotypeModelElement rtStereotypeModelElement = new RTStereotypeModelElement(RTPortUtils.getStereotypeApplication(capsule_externalBehaviorNotConnected), capsule_externalBehaviorNotConnected.getAppliedStereotype("UMLRealTime::RTPort"), + modelSetFixture.getEditingDomain()); + assertFalse(KIND_ERROR_MESSAGE, isDeactivated(rtStereotypeModelElement, IRealTimeConstants.KIND)); + assertFalse(IS_WIRED_MESSAGE, isDeactivated(rtStereotypeModelElement, IS_WIRED)); + assertFalse(IS_NOTIFICATION_MESSAGE, isDeactivated(rtStereotypeModelElement, IS_NOTIFICATION)); + assertTrue(IS_PUBLISH_MESSAGE, isDeactivated(rtStereotypeModelElement, IS_PUBLISH)); + assertTrue(UNKNOWN_ERROR_MESSAGE, isDeactivated(rtStereotypeModelElement, UNKNOWN)); + assertTrue(REGISTRATION_KIND_MESSAGE, isDeactivated(rtStereotypeModelElement, REGISTRATION_KIND)); + assertTrue(REGISTRATION_OVERRIDE_MESSAGE, isDeactivated(rtStereotypeModelElement, REGISTRATION_OVERRIDE)); + } + + @Test + public void validateStandardCapsuleInternalBehaviorNotConnectedPort() throws Exception { + assertEquals(RTPortKindEnum.INTERNAL, RTPortUtils.getKind(capsule_internalBehaviorNotConnected)); + // test Property paths on UML Element + UMLRTExtModelElement umlrtExtModelElement = new UMLRTExtModelElement(capsule_internalBehaviorNotConnected, modelSetFixture.getEditingDomain()); + assertFalse(IS_CONJUGATED_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_CONJUGATED)); + assertFalse(IS_SERVICE_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_SERVICE)); + assertTrue(IS_BEHAVIOR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_BEHAVIOR)); + assertTrue(UNKNOWN_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, UNKNOWN)); + // test Property Paths for RTStereotypeModelElement + + RTStereotypeModelElement rtStereotypeModelElement = new RTStereotypeModelElement(RTPortUtils.getStereotypeApplication(capsule_internalBehaviorNotConnected), capsule_internalBehaviorNotConnected.getAppliedStereotype("UMLRealTime::RTPort"), + modelSetFixture.getEditingDomain()); + assertFalse(KIND_ERROR_MESSAGE, isDeactivated(rtStereotypeModelElement, IRealTimeConstants.KIND)); + assertFalse(IS_WIRED_MESSAGE, isDeactivated(rtStereotypeModelElement, IS_WIRED)); + assertFalse(IS_NOTIFICATION_MESSAGE, isDeactivated(rtStereotypeModelElement, IS_NOTIFICATION)); + assertTrue(IS_PUBLISH_MESSAGE, isDeactivated(rtStereotypeModelElement, IS_PUBLISH)); + assertTrue(UNKNOWN_ERROR_MESSAGE, isDeactivated(rtStereotypeModelElement, UNKNOWN)); + assertTrue(REGISTRATION_KIND_MESSAGE, isDeactivated(rtStereotypeModelElement, REGISTRATION_KIND)); + assertTrue(REGISTRATION_OVERRIDE_MESSAGE, isDeactivated(rtStereotypeModelElement, REGISTRATION_OVERRIDE)); + } + + @Test + public void validateStandardCapsuleRelayNotConnectedPort() throws Exception { + assertEquals(RTPortKindEnum.RELAY, RTPortUtils.getKind(capsule_relayNotConnected)); + // test Property paths on UML Element + UMLRTExtModelElement umlrtExtModelElement = new UMLRTExtModelElement(capsule_relayNotConnected, modelSetFixture.getEditingDomain()); + assertFalse(IS_CONJUGATED_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_CONJUGATED)); + assertTrue(IS_SERVICE_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_SERVICE)); + assertFalse(IS_BEHAVIOR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_BEHAVIOR)); + assertTrue(UNKNOWN_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, UNKNOWN)); + // test Property Paths for RTStereotypeModelElement + + RTStereotypeModelElement rtStereotypeModelElement = new RTStereotypeModelElement(RTPortUtils.getStereotypeApplication(capsule_relayNotConnected), capsule_relayNotConnected.getAppliedStereotype("UMLRealTime::RTPort"), + modelSetFixture.getEditingDomain()); + assertFalse(KIND_ERROR_MESSAGE, isDeactivated(rtStereotypeModelElement, IRealTimeConstants.KIND)); + assertTrue(IS_WIRED_MESSAGE, isDeactivated(rtStereotypeModelElement, IS_WIRED)); + assertTrue(IS_NOTIFICATION_MESSAGE, isDeactivated(rtStereotypeModelElement, IS_NOTIFICATION)); + assertTrue(IS_PUBLISH_MESSAGE, isDeactivated(rtStereotypeModelElement, IS_PUBLISH)); + assertTrue(UNKNOWN_ERROR_MESSAGE, isDeactivated(rtStereotypeModelElement, UNKNOWN)); + assertTrue(REGISTRATION_KIND_MESSAGE, isDeactivated(rtStereotypeModelElement, REGISTRATION_KIND)); + assertTrue(REGISTRATION_OVERRIDE_MESSAGE, isDeactivated(rtStereotypeModelElement, REGISTRATION_OVERRIDE)); + + } + + + @Test public void validateStandardCapsuleSAP() throws Exception { assertEquals(RTPortKindEnum.SAP, RTPortUtils.getKind(capsule_sap)); assertFalse(RTPortUtils.isLegacySpp(capsule_sap)); @@ -358,7 +435,7 @@ public class ModelElementTest extends AbstractPapyrusTest { UMLRTExtModelElement umlrtExtModelElement = new UMLRTExtModelElement(connectedCapsule_relay, modelSetFixture.getEditingDomain()); assertFalse(IS_CONJUGATED_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_CONJUGATED)); assertTrue(IS_SERVICE_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_SERVICE)); - assertFalse(IS_BEHAVIOR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_BEHAVIOR)); + assertTrue(IS_BEHAVIOR_MESSAGE, isDeactivated(umlrtExtModelElement, IS_BEHAVIOR)); // is is connected inside assertTrue(UNKNOWN_ERROR_MESSAGE, isDeactivated(umlrtExtModelElement, UNKNOWN)); // test Property Paths for RTStereotypeModelElement |