Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCéline Janssens2015-07-02 07:01:29 -0400
committervincent lorenzo2018-07-02 04:14:41 -0400
commitb8befb87976640be6a4c99f6b29cfd9256af180c (patch)
treead1d7cd5230564d1d0669bf69050224b77e7f0bb
parent3f37c91cb336d4c73bc1c89a2f8f689a5eee6c87 (diff)
downloadorg.eclipse.papyrus-b8befb87976640be6a4c99f6b29cfd9256af180c.tar.gz
org.eclipse.papyrus-b8befb87976640be6a4c99f6b29cfd9256af180c.tar.xz
org.eclipse.papyrus-b8befb87976640be6a4c99f6b29cfd9256af180c.zip
Bug 471584: [Stereotype Display] Provide JUnit Tests for a complexe
Class Diagram https://bugs.eclipse.org/bugs/show_bug.cgi?id=471584 - Update NominalProfileTest - Create a new model for the test - Test Class, Interface, Enumeration, Package - Test Enumeration Litteral, Property and Operation - Outline the main tests - fix a bug on the Comment refresh Change-Id: I0e07b278e99d3f0c9e7bfa2fa166fc29b9f15765 Signed-off-by: Céline Janssens <Celine.Janssens@all4tec.net> Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/custom-src/org/eclipse/papyrus/uml/diagram/clazz/custom/figure/LiteralEnumerationFigure.java8
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.stereotype.edition/src/org/eclipse/papyrus/uml/diagram/stereotype/edition/editpolicies/AppliedStereotypeCommentEditPolicy.java4
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.di2
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.notation303
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.uml485
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayClassDiagramModel.di2
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayClassDiagramModel.notation135
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayClassDiagramModel.uml101
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.di2
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.uml16
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AbstractAppliedStereotypeDisplayTest.java446
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayCompartmentClassDiagramTest.java104
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayNodeClassDiagramTest.java137
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayTestUtils.java6
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/tests/AllTests.java4
15 files changed, 1738 insertions, 17 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/custom-src/org/eclipse/papyrus/uml/diagram/clazz/custom/figure/LiteralEnumerationFigure.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/custom-src/org/eclipse/papyrus/uml/diagram/clazz/custom/figure/LiteralEnumerationFigure.java
index 2b3a8114c02..103d943b2b5 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/custom-src/org/eclipse/papyrus/uml/diagram/clazz/custom/figure/LiteralEnumerationFigure.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/custom-src/org/eclipse/papyrus/uml/diagram/clazz/custom/figure/LiteralEnumerationFigure.java
@@ -1,5 +1,5 @@
/*****************************************************************************
- * Copyright (c) 2016 CEA LIST and others.
+ * Copyright (c) 2016, 2018 CEA LIST and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@@ -12,10 +12,12 @@
*****************************************************************************/
package org.eclipse.papyrus.uml.diagram.clazz.custom.figure;
-public class LiteralEnumerationFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel {
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.PapyrusWrappingLabel;
+
+public class LiteralEnumerationFigure extends PapyrusWrappingLabel {
public LiteralEnumerationFigure() {
- this.setText("<UNDEFINED>");
+ this.setText("<UNDEFINED>"); //$NON-NLS-1$
}
}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.stereotype.edition/src/org/eclipse/papyrus/uml/diagram/stereotype/edition/editpolicies/AppliedStereotypeCommentEditPolicy.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.stereotype.edition/src/org/eclipse/papyrus/uml/diagram/stereotype/edition/editpolicies/AppliedStereotypeCommentEditPolicy.java
index d0a49dc857b..a534e6b8aa0 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.stereotype.edition/src/org/eclipse/papyrus/uml/diagram/stereotype/edition/editpolicies/AppliedStereotypeCommentEditPolicy.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.stereotype.edition/src/org/eclipse/papyrus/uml/diagram/stereotype/edition/editpolicies/AppliedStereotypeCommentEditPolicy.java
@@ -187,6 +187,8 @@ public class AppliedStereotypeCommentEditPolicy extends AppliedStereotypeNodeLab
protected void refreshStereotypeDisplay() {
super.refreshStereotypeDisplay();
+ comment = helper.getStereotypeComment(hostView);
+
// If no more Compartment, delete the Comment
if (comment != null && getAppliedStereotypeCompartmentNumber(comment) == 0) {
executeAppliedStereotypeCommentDeletion(comment);
@@ -470,4 +472,4 @@ public class AppliedStereotypeCommentEditPolicy extends AppliedStereotypeNodeLab
}
-}
+}
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.di b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.di
index bf9abab340f..247ed5e3570 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.di
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.di
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/>
+<architecture:ArchitectureDescription xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:architecture="http://www.eclipse.org/papyrus/infra/core/architecture" contextId="org.eclipse.papyrus.uml.architecture.Profile"/>
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.notation b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.notation
index de46f306eed..d6eab2be62b 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.notation
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.notation
@@ -115,6 +115,110 @@
<element xsi:nil="true"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_UQvT1RT5EeWgELX9raxvAA" x="383" y="303"/>
</children>
+ <children xmi:type="notation:Shape" xmi:id="_OEHG0CCcEeW-JeGYisxUuw" type="1031">
+ <children xmi:type="notation:DecorationNode" xmi:id="_OEIU8CCcEeW-JeGYisxUuw" type="1084"/>
+ <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Association"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OEI8ACCcEeW-JeGYisxUuw" x="951" y="76"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_OEKxMCCcEeW-JeGYisxUuw" type="1031">
+ <children xmi:type="notation:DecorationNode" xmi:id="_OEKxMiCcEeW-JeGYisxUuw" type="1084"/>
+ <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#TimeObservation"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OEKxMyCcEeW-JeGYisxUuw" x="951" y="156"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_OEMmYCCcEeW-JeGYisxUuw" type="1031">
+ <children xmi:type="notation:DecorationNode" xmi:id="_OEMmYiCcEeW-JeGYisxUuw" type="1084"/>
+ <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DurationObservation"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OEMmYyCcEeW-JeGYisxUuw" x="951" y="236"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_OENNdiCcEeW-JeGYisxUuw" type="1031">
+ <children xmi:type="notation:DecorationNode" xmi:id="_OEN0gSCcEeW-JeGYisxUuw" type="1084"/>
+ <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Interface"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OEN0giCcEeW-JeGYisxUuw" x="951" y="316"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_OGaM4CCcEeW-JeGYisxUuw" type="StereotypeComment">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_OGaM4SCcEeW-JeGYisxUuw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_OGaM4yCcEeW-JeGYisxUuw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Association"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OGaM4iCcEeW-JeGYisxUuw" x="1107" y="139"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_OIAvYCCcEeW-JeGYisxUuw" type="StereotypeComment">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_OIAvYSCcEeW-JeGYisxUuw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_OIAvYyCcEeW-JeGYisxUuw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#TimeObservation"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OIAvYiCcEeW-JeGYisxUuw" x="1107" y="219"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_OIvIICCcEeW-JeGYisxUuw" type="StereotypeComment">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_OIvIISCcEeW-JeGYisxUuw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_OIvIIyCcEeW-JeGYisxUuw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DurationObservation"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OIvIIiCcEeW-JeGYisxUuw" x="1107" y="299"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_OJVlECCcEeW-JeGYisxUuw" type="StereotypeComment">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_OJVlESCcEeW-JeGYisxUuw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_OJVlEyCcEeW-JeGYisxUuw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Interface"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OJVlEiCcEeW-JeGYisxUuw" x="1107" y="379"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_j5Q4YCCgEeW-JeGYisxUuw" type="1031">
+ <children xmi:type="notation:DecorationNode" xmi:id="_j5RfcCCgEeW-JeGYisxUuw" type="1084"/>
+ <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Enumeration"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_j5RfcSCgEeW-JeGYisxUuw" x="954" y="401"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_j5SGhiCgEeW-JeGYisxUuw" type="1031">
+ <children xmi:type="notation:DecorationNode" xmi:id="_j5SGiCCgEeW-JeGYisxUuw" type="1084"/>
+ <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#EnumerationLiteral"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_j5SGiSCgEeW-JeGYisxUuw" x="954" y="481"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_j5StliCgEeW-JeGYisxUuw" type="1031">
+ <children xmi:type="notation:DecorationNode" xmi:id="_j5StmCCgEeW-JeGYisxUuw" type="1084"/>
+ <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_j5StmSCgEeW-JeGYisxUuw" x="55" y="428"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_j5TUpSCgEeW-JeGYisxUuw" type="1031">
+ <children xmi:type="notation:DecorationNode" xmi:id="_j5TUpyCgEeW-JeGYisxUuw" type="1084"/>
+ <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_j5TUqCCgEeW-JeGYisxUuw" x="55" y="508"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_j5vZgCCgEeW-JeGYisxUuw" type="StereotypeComment">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_j5vZgSCgEeW-JeGYisxUuw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_j5vZgyCgEeW-JeGYisxUuw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Enumeration"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_j5vZgiCgEeW-JeGYisxUuw" x="1357" y="98"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_j6KQQCCgEeW-JeGYisxUuw" type="StereotypeComment">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_j6KQQSCgEeW-JeGYisxUuw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_j6KQQyCgEeW-JeGYisxUuw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#EnumerationLiteral"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_j6KQQiCgEeW-JeGYisxUuw" x="1357" y="178"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_j6mVIyCgEeW-JeGYisxUuw" type="StereotypeComment">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_j6mVJCCgEeW-JeGYisxUuw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_j6mVJiCgEeW-JeGYisxUuw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_j6mVJSCgEeW-JeGYisxUuw" x="1357" y="258"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_j7BL4CCgEeW-JeGYisxUuw" type="StereotypeComment">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_j7BL4SCgEeW-JeGYisxUuw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_j7BL4yCgEeW-JeGYisxUuw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_j7BL4iCgEeW-JeGYisxUuw" x="1357" y="338"/>
+ </children>
<styles xmi:type="notation:StringValueStyle" xmi:id="_EZXygRT5EeWgELX9raxvAA" name="diagram_compatibility_version" stringValue="1.1.0"/>
<styles xmi:type="notation:DiagramStyle" xmi:id="_EZXyghT5EeWgELX9raxvAA"/>
<styles xmi:type="style:PapyrusViewStyle" xmi:id="_EZXygxT5EeWgELX9raxvAA">
@@ -217,4 +321,203 @@
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uFBKMBT5EeWgELX9raxvAA" id="(0.0,0.27835051546391754)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uFBxQBT5EeWgELX9raxvAA" id="(1.0,0.24)"/>
</edges>
+ <edges xmi:type="notation:Connector" xmi:id="_OGaz8CCcEeW-JeGYisxUuw" type="StereotypeCommentLink" source="_OEHG0CCcEeW-JeGYisxUuw" target="_OGaM4CCcEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_OGaz8SCcEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_OGbbACCcEeW-JeGYisxUuw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Association"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OGaz8iCcEeW-JeGYisxUuw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OGaz8yCcEeW-JeGYisxUuw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OGaz9CCcEeW-JeGYisxUuw"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_OIAvZCCcEeW-JeGYisxUuw" type="StereotypeCommentLink" source="_OEKxMCCcEeW-JeGYisxUuw" target="_OIAvYCCcEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_OIAvZSCcEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_OIBWcSCcEeW-JeGYisxUuw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#TimeObservation"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OIAvZiCcEeW-JeGYisxUuw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OIAvZyCcEeW-JeGYisxUuw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OIBWcCCcEeW-JeGYisxUuw"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_OIvIJCCcEeW-JeGYisxUuw" type="StereotypeCommentLink" source="_OEMmYCCcEeW-JeGYisxUuw" target="_OIvIICCcEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_OIvIJSCcEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_OIvvMiCcEeW-JeGYisxUuw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DurationObservation"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OIvIJiCcEeW-JeGYisxUuw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OIvvMCCcEeW-JeGYisxUuw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OIvvMSCcEeW-JeGYisxUuw"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_OJVlFCCcEeW-JeGYisxUuw" type="StereotypeCommentLink" source="_OENNdiCcEeW-JeGYisxUuw" target="_OJVlECCcEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_OJVlFSCcEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_OJVlGSCcEeW-JeGYisxUuw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Interface"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OJVlFiCcEeW-JeGYisxUuw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OJVlFyCcEeW-JeGYisxUuw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OJVlGCCcEeW-JeGYisxUuw"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_RC_SwCCcEeW-JeGYisxUuw" type="1013" source="_LDEqYBT5EeWgELX9raxvAA" target="_OEHG0CCcEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_RC_SwSCcEeW-JeGYisxUuw"/>
+ <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_RBoA0CCcEeW-JeGYisxUuw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_RC_SwiCcEeW-JeGYisxUuw" points="[18, 0, -286, -10]$[297, 9, -7, -1]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_RE1F0CCcEeW-JeGYisxUuw" id="(1.0,0.16326530612244897)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_RE1s4CCcEeW-JeGYisxUuw" id="(0.0,0.42)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_R2CgUCCcEeW-JeGYisxUuw" type="1013" source="_KDjuIBT5EeWgELX9raxvAA" target="_OEHG0CCcEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_R2CgUSCcEeW-JeGYisxUuw"/>
+ <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_R1siECCcEeW-JeGYisxUuw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_R2CgUiCcEeW-JeGYisxUuw" points="[19, -14, -281, 198]$[297, -212, -3, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_R3iVICCcEeW-JeGYisxUuw" id="(0.9877300613496932,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_R3i8MCCcEeW-JeGYisxUuw" id="(0.0,0.72)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_SppHgCCcEeW-JeGYisxUuw" type="1013" source="_KDjuIBT5EeWgELX9raxvAA" target="_OEKxMCCcEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_SppHgSCcEeW-JeGYisxUuw"/>
+ <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_SpSiMCCcEeW-JeGYisxUuw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_SppHgiCcEeW-JeGYisxUuw" points="[14, -7, -288, 132]$[290, -136, -12, 3]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Sq654CCcEeW-JeGYisxUuw" id="(1.0,0.16326530612244897)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Sq654SCcEeW-JeGYisxUuw" id="(0.0,0.82)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_TT2iICCcEeW-JeGYisxUuw" type="1013" source="_KDjuIBT5EeWgELX9raxvAA" target="_OEMmYCCcEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_TT2iISCcEeW-JeGYisxUuw"/>
+ <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_TTk1UCCcEeW-JeGYisxUuw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_TT2iIiCcEeW-JeGYisxUuw" points="[15, -6, -294, 108]$[291, -109, -18, 5]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_TU98cCCcEeW-JeGYisxUuw" id="(1.0,0.7346938775510204)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_TU98cSCcEeW-JeGYisxUuw" id="(0.0,0.84)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_T9G6gCCcEeW-JeGYisxUuw" type="1013" source="_KDjuIBT5EeWgELX9raxvAA" target="_OENNdiCcEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_T9G6gSCcEeW-JeGYisxUuw"/>
+ <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_T8wVMCCcEeW-JeGYisxUuw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_T9G6giCcEeW-JeGYisxUuw" points="[8, -2, -290, 42]$[284, -42, -14, 2]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_T-R_MCCcEeW-JeGYisxUuw" id="(1.0,0.826530612244898)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_T-SmQCCcEeW-JeGYisxUuw" id="(0.0,0.66)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_UzqIACCcEeW-JeGYisxUuw" type="1013" source="_LDEqYBT5EeWgELX9raxvAA" target="_OEKxMCCcEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_UzqIASCcEeW-JeGYisxUuw"/>
+ <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_UzTisCCcEeW-JeGYisxUuw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_UzqIAiCcEeW-JeGYisxUuw" points="[19, 4, -283, -71]$[298, 74, -4, -1]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_U0-9sCCcEeW-JeGYisxUuw" id="(1.0,0.30612244897959184)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_U0-9sSCcEeW-JeGYisxUuw" id="(0.0,0.32)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_V2mLsCCcEeW-JeGYisxUuw" type="1013" source="_LDEqYBT5EeWgELX9raxvAA" target="_OENNdiCcEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_V2mLsSCcEeW-JeGYisxUuw"/>
+ <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_V2QNcCCcEeW-JeGYisxUuw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_V2mLsiCcEeW-JeGYisxUuw" points="[17, 13, -288, -233]$[296, 247, -9, 1]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_V3s-8CCcEeW-JeGYisxUuw" id="(1.0,0.41836734693877553)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_V3tmACCcEeW-JeGYisxUuw" id="(0.0,0.44)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_IQepYCCeEeW-JeGYisxUuw" type="1013" source="_Kk4SgBT5EeWgELX9raxvAA" target="_OEMmYCCcEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_IQfQcCCeEeW-JeGYisxUuw"/>
+ <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_IQFAwCCeEeW-JeGYisxUuw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_IQfQcSCeEeW-JeGYisxUuw" points="[20, 9, -285, 0]$[298, 8, -7, -1]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_IRdg0CCeEeW-JeGYisxUuw" id="(1.0,0.6185567010309279)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_IReH4CCeEeW-JeGYisxUuw" id="(0.0,0.38)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_j5vZhCCgEeW-JeGYisxUuw" type="StereotypeCommentLink" source="_j5Q4YCCgEeW-JeGYisxUuw" target="_j5vZgCCgEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_j5vZhSCgEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_j5vZiSCgEeW-JeGYisxUuw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Enumeration"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_j5vZhiCgEeW-JeGYisxUuw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_j5vZhyCgEeW-JeGYisxUuw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_j5vZiCCgEeW-JeGYisxUuw"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_j6KQRCCgEeW-JeGYisxUuw" type="StereotypeCommentLink" source="_j5SGhiCgEeW-JeGYisxUuw" target="_j6KQQCCgEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_j6KQRSCgEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_j6KQSSCgEeW-JeGYisxUuw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#EnumerationLiteral"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_j6KQRiCgEeW-JeGYisxUuw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_j6KQRyCgEeW-JeGYisxUuw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_j6KQSCCgEeW-JeGYisxUuw"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_j6mVJyCgEeW-JeGYisxUuw" type="StereotypeCommentLink" source="_j5StliCgEeW-JeGYisxUuw" target="_j6mVIyCgEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_j6mVKCCgEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_j6mVLCCgEeW-JeGYisxUuw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_j6mVKSCgEeW-JeGYisxUuw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_j6mVKiCgEeW-JeGYisxUuw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_j6mVKyCgEeW-JeGYisxUuw"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_j7BL5CCgEeW-JeGYisxUuw" type="StereotypeCommentLink" source="_j5TUpSCgEeW-JeGYisxUuw" target="_j7BL4CCgEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_j7BL5SCgEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_j7BL6SCgEeW-JeGYisxUuw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_j7BL5iCgEeW-JeGYisxUuw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_j7BL5yCgEeW-JeGYisxUuw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_j7BL6CCgEeW-JeGYisxUuw"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_lNNzkCCgEeW-JeGYisxUuw" type="1013" source="_KDjuIBT5EeWgELX9raxvAA" target="_j5TUpSCgEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_lNOaoCCgEeW-JeGYisxUuw"/>
+ <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_lM8GwCCgEeW-JeGYisxUuw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_lNOaoSCgEeW-JeGYisxUuw" points="[9, 0, -532, -39]$[491, 37, -50, -2]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_lOHygCCgEeW-JeGYisxUuw" id="(0.0,0.6530612244897959)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_lOHygSCgEeW-JeGYisxUuw" id="(1.0,0.64)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_mEahUCCgEeW-JeGYisxUuw" type="1013" source="_Kk4SgBT5EeWgELX9raxvAA" target="_j5StliCgEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_mEahUSCgEeW-JeGYisxUuw"/>
+ <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_mEJbkCCgEeW-JeGYisxUuw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_mEahUiCgEeW-JeGYisxUuw" points="[21, 3, -534, -77]$[563, 105, 8, 25]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_mFam4CCgEeW-JeGYisxUuw" id="(0.0,0.6907216494845361)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_mFam4SCgEeW-JeGYisxUuw" id="(1.0,0.52)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_m1c8sCCgEeW-JeGYisxUuw" type="1013" source="_KDjuIBT5EeWgELX9raxvAA" target="_j5Q4YCCgEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_m1c8sSCgEeW-JeGYisxUuw"/>
+ <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_m1FJQCCgEeW-JeGYisxUuw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_m1c8siCgEeW-JeGYisxUuw" points="[28, -10, -498, 173]$[521, -182, -5, 1]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_m2QN8CCgEeW-JeGYisxUuw" id="(1.0,0.9489795918367347)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_m2QN8SCgEeW-JeGYisxUuw" id="(0.0,0.0)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_nab5ECCgEeW-JeGYisxUuw" type="1013" source="_Kk4SgBT5EeWgELX9raxvAA" target="_j5SGhiCgEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_nab5ESCgEeW-JeGYisxUuw"/>
+ <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_naHI8CCgEeW-JeGYisxUuw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_nab5EiCgEeW-JeGYisxUuw" points="[27, -9, -492, 0]$[511, -11, -8, -2]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_nbOjQCCgEeW-JeGYisxUuw" id="(0.6585365853658537,1.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_nbPKUCCgEeW-JeGYisxUuw" id="(0.09803921568627451,0.0)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_n6uisCCgEeW-JeGYisxUuw" type="1013" source="_LDEqYBT5EeWgELX9raxvAA" target="_j5Q4YCCgEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_n6vJwCCgEeW-JeGYisxUuw"/>
+ <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_n6erECCgEeW-JeGYisxUuw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_n6vJwSCgEeW-JeGYisxUuw" points="[18, 0, -498, -23]$[503, 17, -13, -6]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_n7gl0CCgEeW-JeGYisxUuw" id="(0.6727272727272727,1.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_n7gl0SCgEeW-JeGYisxUuw" id="(0.05,0.0)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_xsZRECCgEeW-JeGYisxUuw" type="1013" source="_LDEqYBT5EeWgELX9raxvAA" target="_j5StliCgEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_xsZRESCgEeW-JeGYisxUuw"/>
+ <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_xsEg8CCgEeW-JeGYisxUuw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_xsZREiCgEeW-JeGYisxUuw" points="[-28, 22, 402, -311]$[-380, 324, 50, -9]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_xtJfACCgEeW-JeGYisxUuw" id="(0.0,0.7142857142857143)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_xtJfASCgEeW-JeGYisxUuw" id="(0.9,0.0)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_zAIJ0CCgEeW-JeGYisxUuw" type="1013" source="_KDjuIBT5EeWgELX9raxvAA" target="_j5StliCgEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_zAIJ0SCgEeW-JeGYisxUuw"/>
+ <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_y_yLkCCgEeW-JeGYisxUuw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_zAIJ0iCgEeW-JeGYisxUuw" points="[-15, 5, 365, -127]$[-372, 135, 8, 3]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zBCv0CCgEeW-JeGYisxUuw" id="(0.0,0.3673469387755102)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zBCv0SCgEeW-JeGYisxUuw" id="(1.0,0.8)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_z5bwYCCgEeW-JeGYisxUuw" type="1013" source="_Kk4SgBT5EeWgELX9raxvAA" target="_j5TUpSCgEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_z5bwYSCgEeW-JeGYisxUuw"/>
+ <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_z5FLECCgEeW-JeGYisxUuw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_z5bwYiCgEeW-JeGYisxUuw" points="[-17, 12, 365, -278]$[-371, 290, 11, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_z6k_4CCgEeW-JeGYisxUuw" id="(0.0,0.7319587628865979)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_z6k_4SCgEeW-JeGYisxUuw" id="(1.0,0.38)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_4cQbUCCgEeW-JeGYisxUuw" type="1013" source="_KDjuIBT5EeWgELX9raxvAA" target="_j5SGhiCgEeW-JeGYisxUuw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_4cQbUSCgEeW-JeGYisxUuw"/>
+ <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_4b5O8CCgEeW-JeGYisxUuw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_4cRCYCCgEeW-JeGYisxUuw" points="[14, 4, -287, -103]$[293, 105, -8, -2]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4dOrsCCgEeW-JeGYisxUuw" id="(1.0,0.9081632653061225)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4dOrsSCgEeW-JeGYisxUuw" id="(0.0,0.32)"/>
+ </edges>
</notation:Diagram>
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.uml b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.uml
index 84f84df6fa7..935a6105fb7 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.uml
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.uml
@@ -1,6 +1,366 @@
<?xml version="1.0" encoding="UTF-8"?>
-<uml:Profile xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_EU0CoBT5EeWgELX9raxvAA" name="NominalTestProfile" metaclassReference="_UMFdUBT5EeWgELX9raxvAA _UMGEYBT5EeWgELX9raxvAA _UMGrcBT5EeWgELX9raxvAA _UMGrcRT5EeWgELX9raxvAA">
+<uml:Profile xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_EU0CoBT5EeWgELX9raxvAA" name="NominalTestProfile" metaclassReference="_UMFdUBT5EeWgELX9raxvAA _UMGEYBT5EeWgELX9raxvAA _UMGrcBT5EeWgELX9raxvAA _UMGrcRT5EeWgELX9raxvAA _OD9V0CCcEeW-JeGYisxUuw _OD-j8CCcEeW-JeGYisxUuw _OEBAMCCcEeW-JeGYisxUuw _OEBnQCCcEeW-JeGYisxUuw _j5PqQCCgEeW-JeGYisxUuw _j5PqQSCgEeW-JeGYisxUuw _j5PqQiCgEeW-JeGYisxUuw">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_QhygYBT6EeWgELX9raxvAA" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <contents xmi:type="ecore:EPackage" xmi:id="_6YWUkCCgEeW-JeGYisxUuw" name="NominalTestProfile" nsURI="http:///schemas/NominalTestProfile/_6YVtgCCgEeW-JeGYisxUuw/5" nsPrefix="NominalTestProfile">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6YYJwSCgEeW-JeGYisxUuw" source="PapyrusVersion">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6YYJwiCgEeW-JeGYisxUuw" key="Version" value="0.0.6"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6YYJwyCgEeW-JeGYisxUuw" key="Comment" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6YYJxCCgEeW-JeGYisxUuw" key="Copyright" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6YYJxSCgEeW-JeGYisxUuw" key="Date" value="2015-07-02"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6YYJxiCgEeW-JeGYisxUuw" key="Author" value=""/>
+ </eAnnotations>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_6YWUkSCgEeW-JeGYisxUuw" name="stereoA">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6YWUkiCgEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_KDfcsBT5EeWgELX9raxvAA"/>
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6YWUkyCgEeW-JeGYisxUuw" source="duplicates">
+ <contents xmi:type="ecore:EReference" xmi:id="_6YWUlCCgEeW-JeGYisxUuw" name="base_Package" ordered="false" lowerBound="1">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6YWUlSCgEeW-JeGYisxUuw" source="redefines" references="_6YWUlyCgEeW-JeGYisxUuw"/>
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+ </contents>
+ </eAnnotations>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YWUlyCgEeW-JeGYisxUuw" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YWUmSCgEeW-JeGYisxUuw" name="base_Class" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YWUmyCgEeW-JeGYisxUuw" name="base_Operation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_6YWUnSCgEeW-JeGYisxUuw" name="propertyA1" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_6YWUnyCgEeW-JeGYisxUuw" name="propertyA2" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YWUoSCgEeW-JeGYisxUuw" name="base_Association" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Association"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YWUoyCgEeW-JeGYisxUuw" name="base_TimeObservation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TimeObservation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YWUpSCgEeW-JeGYisxUuw" name="base_DurationObservation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//DurationObservation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YWUpyCgEeW-JeGYisxUuw" name="base_Interface" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Interface"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YWUqSCgEeW-JeGYisxUuw" name="base_Enumeration" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Enumeration"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YWUqyCgEeW-JeGYisxUuw" name="base_Port" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Port"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YWUrSCgEeW-JeGYisxUuw" name="base_EnumerationLiteral" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//EnumerationLiteral"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_6YWUryCgEeW-JeGYisxUuw" name="stereoB">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6YWUsCCgEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_Kk3EYBT5EeWgELX9raxvAA"/>
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6YWUsSCgEeW-JeGYisxUuw" source="duplicates">
+ <contents xmi:type="ecore:EReference" xmi:id="_6YWUsiCgEeW-JeGYisxUuw" name="base_Package" ordered="false" lowerBound="1">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6YWUsyCgEeW-JeGYisxUuw" source="redefines" references="_6YWUuSCgEeW-JeGYisxUuw"/>
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+ </contents>
+ </eAnnotations>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YWUtSCgEeW-JeGYisxUuw" name="base_Class" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YWUtyCgEeW-JeGYisxUuw" name="base_Operation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YWUuSCgEeW-JeGYisxUuw" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_6YWUuyCgEeW-JeGYisxUuw" name="propertyB1" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YWUvSCgEeW-JeGYisxUuw" name="base_DurationObservation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//DurationObservation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YWUvyCgEeW-JeGYisxUuw" name="base_Port" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Port"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YW7oSCgEeW-JeGYisxUuw" name="base_EnumerationLiteral" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//EnumerationLiteral"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_6YW7oyCgEeW-JeGYisxUuw" name="stereoC">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6YW7pCCgEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_LDEDUBT5EeWgELX9raxvAA"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YW7pSCgEeW-JeGYisxUuw" name="base_Property" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YW7pyCgEeW-JeGYisxUuw" name="base_Class" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YW7qSCgEeW-JeGYisxUuw" name="base_Association" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Association"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YW7qyCgEeW-JeGYisxUuw" name="base_TimeObservation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TimeObservation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YW7rSCgEeW-JeGYisxUuw" name="base_Interface" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Interface"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YW7ryCgEeW-JeGYisxUuw" name="base_Enumeration" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Enumeration"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_6YW7sSCgEeW-JeGYisxUuw" name="base_Port" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Port"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ </contents>
+ <contents xmi:type="ecore:EPackage" xmi:id="_3DTEUCCgEeW-JeGYisxUuw" name="NominalTestProfile" nsURI="http:///schemas/NominalTestProfile/_3DSdQCCgEeW-JeGYisxUuw/4" nsPrefix="NominalTestProfile">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3DUSfSCgEeW-JeGYisxUuw" source="PapyrusVersion">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3DUSfiCgEeW-JeGYisxUuw" key="Version" value="0.0.5"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3DUSfyCgEeW-JeGYisxUuw" key="Comment" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3DUSgCCgEeW-JeGYisxUuw" key="Copyright" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3DUSgSCgEeW-JeGYisxUuw" key="Date" value="2015-07-02"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3DUSgiCgEeW-JeGYisxUuw" key="Author" value=""/>
+ </eAnnotations>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_3DTEUSCgEeW-JeGYisxUuw" name="stereoA">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3DTEUiCgEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_KDfcsBT5EeWgELX9raxvAA"/>
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3DTEUyCgEeW-JeGYisxUuw" source="duplicates">
+ <contents xmi:type="ecore:EReference" xmi:id="_3DTEVCCgEeW-JeGYisxUuw" name="base_Package" ordered="false" lowerBound="1">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3DTEVSCgEeW-JeGYisxUuw" source="redefines" references="_3DTEVyCgEeW-JeGYisxUuw"/>
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+ </contents>
+ </eAnnotations>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTEVyCgEeW-JeGYisxUuw" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTEWSCgEeW-JeGYisxUuw" name="base_Class" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTEWyCgEeW-JeGYisxUuw" name="base_Operation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_3DTEXSCgEeW-JeGYisxUuw" name="propertyA1" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_3DTrYSCgEeW-JeGYisxUuw" name="propertyA2" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTrYyCgEeW-JeGYisxUuw" name="base_Association" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Association"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTrZSCgEeW-JeGYisxUuw" name="base_TimeObservation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TimeObservation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTrZyCgEeW-JeGYisxUuw" name="base_DurationObservation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//DurationObservation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTraSCgEeW-JeGYisxUuw" name="base_Interface" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Interface"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTrayCgEeW-JeGYisxUuw" name="base_Enumeration" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Enumeration"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTrbSCgEeW-JeGYisxUuw" name="base_Port" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Port"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_3DTrbyCgEeW-JeGYisxUuw" name="stereoB">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3DTrcCCgEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_Kk3EYBT5EeWgELX9raxvAA"/>
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3DTrcSCgEeW-JeGYisxUuw" source="duplicates">
+ <contents xmi:type="ecore:EReference" xmi:id="_3DTrciCgEeW-JeGYisxUuw" name="base_Package" ordered="false" lowerBound="1">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3DTrcyCgEeW-JeGYisxUuw" source="redefines" references="_3DTreSCgEeW-JeGYisxUuw"/>
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+ </contents>
+ </eAnnotations>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTrdSCgEeW-JeGYisxUuw" name="base_Class" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTrdyCgEeW-JeGYisxUuw" name="base_Operation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTreSCgEeW-JeGYisxUuw" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_3DTreyCgEeW-JeGYisxUuw" name="propertyB1" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTrfSCgEeW-JeGYisxUuw" name="base_DurationObservation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//DurationObservation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTrfyCgEeW-JeGYisxUuw" name="base_Port" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Port"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTrgSCgEeW-JeGYisxUuw" name="base_EnumerationLiteral" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//EnumerationLiteral"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_3DTrgyCgEeW-JeGYisxUuw" name="stereoC">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3DTrhCCgEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_LDEDUBT5EeWgELX9raxvAA"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTrhSCgEeW-JeGYisxUuw" name="base_Property" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTrhyCgEeW-JeGYisxUuw" name="base_Class" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTriSCgEeW-JeGYisxUuw" name="base_Association" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Association"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTriyCgEeW-JeGYisxUuw" name="base_TimeObservation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TimeObservation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTrjSCgEeW-JeGYisxUuw" name="base_Interface" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Interface"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTrjyCgEeW-JeGYisxUuw" name="base_Enumeration" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Enumeration"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3DTrkSCgEeW-JeGYisxUuw" name="base_Port" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Port"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ </contents>
+ <contents xmi:type="ecore:EPackage" xmi:id="_JR7fUCCeEeW-JeGYisxUuw" name="NominalTestProfile" nsURI="http:///schemas/NominalTestProfile/_JR64QCCeEeW-JeGYisxUuw/3" nsPrefix="NominalTestProfile">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_JR8teSCeEeW-JeGYisxUuw" source="PapyrusVersion">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_JR8teiCeEeW-JeGYisxUuw" key="Version" value="0.0.4"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_JR8teyCeEeW-JeGYisxUuw" key="Comment" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_JR8tfCCeEeW-JeGYisxUuw" key="Copyright" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_JR8tfSCeEeW-JeGYisxUuw" key="Date" value="2015-07-02"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_JR8tfiCeEeW-JeGYisxUuw" key="Author" value=""/>
+ </eAnnotations>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_JR7fUSCeEeW-JeGYisxUuw" name="stereoA">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_JR7fUiCeEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_KDfcsBT5EeWgELX9raxvAA"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_JR7fUyCeEeW-JeGYisxUuw" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_JR7fVSCeEeW-JeGYisxUuw" name="base_Class" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_JR7fVyCeEeW-JeGYisxUuw" name="base_Operation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_JR7fWSCeEeW-JeGYisxUuw" name="propertyA1" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_JR7fWyCeEeW-JeGYisxUuw" name="propertyA2" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_JR7fXSCeEeW-JeGYisxUuw" name="base_Association" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Association"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_JR7fXyCeEeW-JeGYisxUuw" name="base_TimeObservation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TimeObservation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_JR7fYSCeEeW-JeGYisxUuw" name="base_DurationObservation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//DurationObservation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_JR7fYyCeEeW-JeGYisxUuw" name="base_Interface" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Interface"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_JR7fZSCeEeW-JeGYisxUuw" name="stereoB">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_JR7fZiCeEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_Kk3EYBT5EeWgELX9raxvAA"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_JR7fZyCeEeW-JeGYisxUuw" name="base_Class" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_JR7faSCeEeW-JeGYisxUuw" name="base_Operation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_JR7fayCeEeW-JeGYisxUuw" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_JR7fbSCeEeW-JeGYisxUuw" name="propertyB1" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_JR7fbyCeEeW-JeGYisxUuw" name="base_DurationObservation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//DurationObservation"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_JR7fcSCeEeW-JeGYisxUuw" name="stereoC">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_JR7fciCeEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_LDEDUBT5EeWgELX9raxvAA"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_JR7fcyCeEeW-JeGYisxUuw" name="base_Property" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_JR7fdSCeEeW-JeGYisxUuw" name="base_Class" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_JR7fdyCeEeW-JeGYisxUuw" name="base_Association" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Association"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_JR7feSCeEeW-JeGYisxUuw" name="base_TimeObservation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TimeObservation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_JR7feyCeEeW-JeGYisxUuw" name="base_Interface" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Interface"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ </contents>
+ <contents xmi:type="ecore:EPackage" xmi:id="_X0Cv0CCcEeW-JeGYisxUuw" name="NominalTestProfile" nsURI="http:///schemas/NominalTestProfile/_Xz_FcCCcEeW-JeGYisxUuw/2" nsPrefix="NominalTestProfile">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_X0olsiCcEeW-JeGYisxUuw" source="PapyrusVersion">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_X0olsyCcEeW-JeGYisxUuw" key="Version" value="0.0.3"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_X0oltCCcEeW-JeGYisxUuw" key="Comment" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_X0oltSCcEeW-JeGYisxUuw" key="Copyright" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_X0oltiCcEeW-JeGYisxUuw" key="Date" value="2015-07-02"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_X0oltyCcEeW-JeGYisxUuw" key="Author" value=""/>
+ </eAnnotations>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_X0Cv0SCcEeW-JeGYisxUuw" name="stereoA">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_X0Cv0iCcEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_KDfcsBT5EeWgELX9raxvAA"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_X0Cv0yCcEeW-JeGYisxUuw" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_X0Cv1SCcEeW-JeGYisxUuw" name="base_Class" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_X0Cv1yCcEeW-JeGYisxUuw" name="base_Operation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_X0Cv2SCcEeW-JeGYisxUuw" name="propertyA1" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_X0Cv2yCcEeW-JeGYisxUuw" name="propertyA2" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_X0Cv3SCcEeW-JeGYisxUuw" name="base_Association" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Association"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_X0Cv3yCcEeW-JeGYisxUuw" name="base_TimeObservation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TimeObservation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_X0Cv4SCcEeW-JeGYisxUuw" name="base_DurationObservation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//DurationObservation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_X0Cv4yCcEeW-JeGYisxUuw" name="base_Interface" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Interface"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_X0Cv5SCcEeW-JeGYisxUuw" name="stereoB">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_X0Cv5iCcEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_Kk3EYBT5EeWgELX9raxvAA"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_X0Cv5yCcEeW-JeGYisxUuw" name="base_Class" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_X0Cv6SCcEeW-JeGYisxUuw" name="base_Operation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_X0Cv6yCcEeW-JeGYisxUuw" name="base_Package" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_X0Cv7SCcEeW-JeGYisxUuw" name="propertyB1" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_X0Cv7yCcEeW-JeGYisxUuw" name="stereoC">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_X0Cv8CCcEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_LDEDUBT5EeWgELX9raxvAA"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_X0Cv8SCcEeW-JeGYisxUuw" name="base_Property" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_X0Cv8yCcEeW-JeGYisxUuw" name="base_Class" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_X0Cv9SCcEeW-JeGYisxUuw" name="base_Association" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Association"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_X0Cv9yCcEeW-JeGYisxUuw" name="base_TimeObservation" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TimeObservation"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_X0Cv-SCcEeW-JeGYisxUuw" name="base_Interface" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Interface"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ </contents>
<contents xmi:type="ecore:EPackage" xmi:id="_Fh_VgBT7EeWgELX9raxvAA" name="NominalTestProfile" nsURI="http:///schemas/NominalTestProfile/_Fh-HYBT7EeWgELX9raxvAA/1" nsPrefix="NominalTestProfile">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_FiBKuBT7EeWgELX9raxvAA" source="PapyrusVersion">
<details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_FiBKuRT7EeWgELX9raxvAA" key="Version" value="0.0.2"/>
@@ -116,6 +476,27 @@
<elementImport xmi:type="uml:ElementImport" xmi:id="_UMGrcRT5EeWgELX9raxvAA" alias="Package">
<importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/>
</elementImport>
+ <elementImport xmi:type="uml:ElementImport" xmi:id="_OD9V0CCcEeW-JeGYisxUuw" alias="Association">
+ <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Association"/>
+ </elementImport>
+ <elementImport xmi:type="uml:ElementImport" xmi:id="_OD-j8CCcEeW-JeGYisxUuw" alias="TimeObservation">
+ <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#TimeObservation"/>
+ </elementImport>
+ <elementImport xmi:type="uml:ElementImport" xmi:id="_OEBAMCCcEeW-JeGYisxUuw" alias="DurationObservation">
+ <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DurationObservation"/>
+ </elementImport>
+ <elementImport xmi:type="uml:ElementImport" xmi:id="_OEBnQCCcEeW-JeGYisxUuw" alias="Interface">
+ <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Interface"/>
+ </elementImport>
+ <elementImport xmi:type="uml:ElementImport" xmi:id="_j5PqQCCgEeW-JeGYisxUuw" alias="Enumeration">
+ <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Enumeration"/>
+ </elementImport>
+ <elementImport xmi:type="uml:ElementImport" xmi:id="_j5PqQSCgEeW-JeGYisxUuw" alias="EnumerationLiteral">
+ <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#EnumerationLiteral"/>
+ </elementImport>
+ <elementImport xmi:type="uml:ElementImport" xmi:id="_j5PqQiCgEeW-JeGYisxUuw" alias="Port">
+ <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/>
+ </elementImport>
<packageImport xmi:type="uml:PackageImport" xmi:id="_EgkmsBT5EeWgELX9raxvAA">
<importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
</packageImport>
@@ -138,6 +519,30 @@
<ownedAttribute xmi:type="uml:Property" xmi:id="_8GlAcBT5EeWgELX9raxvAA" name="propertyA2">
<type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/EcorePrimitiveTypes.library.uml#EInt"/>
</ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_R1tJISCcEeW-JeGYisxUuw" name="base_Association" association="_R1siECCcEeW-JeGYisxUuw">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Association"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_SpTwUSCcEeW-JeGYisxUuw" name="base_TimeObservation" association="_SpSiMCCcEeW-JeGYisxUuw">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#TimeObservation"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_TTk1UiCcEeW-JeGYisxUuw" name="base_DurationObservation" association="_TTk1UCCcEeW-JeGYisxUuw">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DurationObservation"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_T8w8QSCcEeW-JeGYisxUuw" name="base_Interface" association="_T8wVMCCcEeW-JeGYisxUuw">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Interface"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_lM8t0SCgEeW-JeGYisxUuw" name="base_Package" association="_lM8GwCCgEeW-JeGYisxUuw">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_m1FJQiCgEeW-JeGYisxUuw" name="base_Enumeration" association="_m1FJQCCgEeW-JeGYisxUuw">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Enumeration"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_y_yyoSCgEeW-JeGYisxUuw" name="base_Port" association="_y_yLkCCgEeW-JeGYisxUuw">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_4b7rMCCgEeW-JeGYisxUuw" name="base_EnumerationLiteral" association="_4b5O8CCgEeW-JeGYisxUuw">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#EnumerationLiteral"/>
+ </ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Stereotype" xmi:id="_Kk3EYBT5EeWgELX9raxvAA" name="stereoB">
<ownedAttribute xmi:type="uml:Property" xmi:id="_l90ZkRT5EeWgELX9raxvAA" name="base_Class" association="_l9zygBT5EeWgELX9raxvAA">
@@ -152,6 +557,18 @@
<ownedAttribute xmi:type="uml:Property" xmi:id="_K7ls4BT6EeWgELX9raxvAA" name="propertyB1">
<type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/EcorePrimitiveTypes.library.uml#EBoolean"/>
</ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_IQFn0SCeEeW-JeGYisxUuw" name="base_DurationObservation" association="_IQFAwCCeEeW-JeGYisxUuw">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DurationObservation"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_mEKpsSCgEeW-JeGYisxUuw" name="base_Port" association="_mEJbkCCgEeW-JeGYisxUuw">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_naHwASCgEeW-JeGYisxUuw" name="base_EnumerationLiteral" association="_naHI8CCgEeW-JeGYisxUuw">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#EnumerationLiteral"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_z5FyICCgEeW-JeGYisxUuw" name="base_Package" association="_z5FLECCgEeW-JeGYisxUuw">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/>
+ </ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Stereotype" xmi:id="_LDEDUBT5EeWgELX9raxvAA" name="stereoC">
<ownedAttribute xmi:type="uml:Property" xmi:id="_qWd00BT5EeWgELX9raxvAA" name="base_Property" association="_qWcmsBT5EeWgELX9raxvAA">
@@ -160,6 +577,21 @@
<ownedAttribute xmi:type="uml:Property" xmi:id="_r85nIRT5EeWgELX9raxvAA" name="base_Class" association="_r85AEBT5EeWgELX9raxvAA">
<type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/>
</ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_RCe8cSCcEeW-JeGYisxUuw" name="base_Association" association="_RBoA0CCcEeW-JeGYisxUuw">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Association"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_UzUJwCCcEeW-JeGYisxUuw" name="base_TimeObservation" association="_UzTisCCcEeW-JeGYisxUuw">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#TimeObservation"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_V2Q0gSCcEeW-JeGYisxUuw" name="base_Interface" association="_V2QNcCCcEeW-JeGYisxUuw">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Interface"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_n6erEiCgEeW-JeGYisxUuw" name="base_Enumeration" association="_n6erECCgEeW-JeGYisxUuw">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Enumeration"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_xsEg8iCgEeW-JeGYisxUuw" name="base_Port" association="_xsEg8CCgEeW-JeGYisxUuw">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/>
+ </ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Extension" xmi:id="_epaX0BT5EeWgELX9raxvAA" name="E_stereoA_Package1" memberEnd="_eqWL8BT5EeWgELX9raxvAA _eqWzABT5EeWgELX9raxvAA">
<ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_eqWL8BT5EeWgELX9raxvAA" name="extension_stereoA" type="_KDfcsBT5EeWgELX9raxvAA" aggregation="composite" association="_epaX0BT5EeWgELX9raxvAA"/>
@@ -185,4 +617,55 @@
<packagedElement xmi:type="uml:Extension" xmi:id="_uEMq0BT5EeWgELX9raxvAA" name="E_stereoB_Package1" memberEnd="_uENR4BT5EeWgELX9raxvAA _uENR4RT5EeWgELX9raxvAA">
<ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_uENR4BT5EeWgELX9raxvAA" name="extension_stereoB" type="_Kk3EYBT5EeWgELX9raxvAA" aggregation="composite" association="_uEMq0BT5EeWgELX9raxvAA"/>
</packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_RBoA0CCcEeW-JeGYisxUuw" name="E_stereoC_Association1" memberEnd="_RCe8cCCcEeW-JeGYisxUuw _RCe8cSCcEeW-JeGYisxUuw">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_RCe8cCCcEeW-JeGYisxUuw" name="extension_stereoC" type="_LDEDUBT5EeWgELX9raxvAA" aggregation="composite" association="_RBoA0CCcEeW-JeGYisxUuw"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_R1siECCcEeW-JeGYisxUuw" name="E_stereoA_Association1" memberEnd="_R1tJICCcEeW-JeGYisxUuw _R1tJISCcEeW-JeGYisxUuw">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_R1tJICCcEeW-JeGYisxUuw" name="extension_stereoA" type="_KDfcsBT5EeWgELX9raxvAA" aggregation="composite" association="_R1siECCcEeW-JeGYisxUuw"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_SpSiMCCcEeW-JeGYisxUuw" name="E_stereoA_TimeObservation1" memberEnd="_SpTwUCCcEeW-JeGYisxUuw _SpTwUSCcEeW-JeGYisxUuw">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_SpTwUCCcEeW-JeGYisxUuw" name="extension_stereoA" type="_KDfcsBT5EeWgELX9raxvAA" aggregation="composite" association="_SpSiMCCcEeW-JeGYisxUuw"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_TTk1UCCcEeW-JeGYisxUuw" name="E_stereoA_DurationObservation1" memberEnd="_TTk1USCcEeW-JeGYisxUuw _TTk1UiCcEeW-JeGYisxUuw">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_TTk1USCcEeW-JeGYisxUuw" name="extension_stereoA" type="_KDfcsBT5EeWgELX9raxvAA" aggregation="composite" association="_TTk1UCCcEeW-JeGYisxUuw"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_T8wVMCCcEeW-JeGYisxUuw" name="E_stereoA_Interface1" memberEnd="_T8w8QCCcEeW-JeGYisxUuw _T8w8QSCcEeW-JeGYisxUuw">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_T8w8QCCcEeW-JeGYisxUuw" name="extension_stereoA" type="_KDfcsBT5EeWgELX9raxvAA" aggregation="composite" association="_T8wVMCCcEeW-JeGYisxUuw"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_UzTisCCcEeW-JeGYisxUuw" name="E_stereoC_TimeObservation1" memberEnd="_UzTisSCcEeW-JeGYisxUuw _UzUJwCCcEeW-JeGYisxUuw">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_UzTisSCcEeW-JeGYisxUuw" name="extension_stereoC" type="_LDEDUBT5EeWgELX9raxvAA" aggregation="composite" association="_UzTisCCcEeW-JeGYisxUuw"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_V2QNcCCcEeW-JeGYisxUuw" name="E_stereoC_Interface1" memberEnd="_V2Q0gCCcEeW-JeGYisxUuw _V2Q0gSCcEeW-JeGYisxUuw">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_V2Q0gCCcEeW-JeGYisxUuw" name="extension_stereoC" type="_LDEDUBT5EeWgELX9raxvAA" aggregation="composite" association="_V2QNcCCcEeW-JeGYisxUuw"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_IQFAwCCeEeW-JeGYisxUuw" name="E_stereoB_DurationObservation1" memberEnd="_IQFn0CCeEeW-JeGYisxUuw _IQFn0SCeEeW-JeGYisxUuw">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_IQFn0CCeEeW-JeGYisxUuw" name="extension_stereoB" type="_Kk3EYBT5EeWgELX9raxvAA" aggregation="composite" association="_IQFAwCCeEeW-JeGYisxUuw"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_lM8GwCCgEeW-JeGYisxUuw" name="E_stereoA_Package2" memberEnd="_lM8t0CCgEeW-JeGYisxUuw _lM8t0SCgEeW-JeGYisxUuw">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_lM8t0CCgEeW-JeGYisxUuw" name="extension_stereoA" type="_KDfcsBT5EeWgELX9raxvAA" aggregation="composite" association="_lM8GwCCgEeW-JeGYisxUuw"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_mEJbkCCgEeW-JeGYisxUuw" name="E_stereoB_Port1" memberEnd="_mEKpsCCgEeW-JeGYisxUuw _mEKpsSCgEeW-JeGYisxUuw">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_mEKpsCCgEeW-JeGYisxUuw" name="extension_stereoB" type="_Kk3EYBT5EeWgELX9raxvAA" aggregation="composite" association="_mEJbkCCgEeW-JeGYisxUuw"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_m1FJQCCgEeW-JeGYisxUuw" name="E_stereoA_Enumeration1" memberEnd="_m1FJQSCgEeW-JeGYisxUuw _m1FJQiCgEeW-JeGYisxUuw">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_m1FJQSCgEeW-JeGYisxUuw" name="extension_stereoA" type="_KDfcsBT5EeWgELX9raxvAA" aggregation="composite" association="_m1FJQCCgEeW-JeGYisxUuw"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_naHI8CCgEeW-JeGYisxUuw" name="E_stereoB_EnumerationLiteral1" memberEnd="_naHwACCgEeW-JeGYisxUuw _naHwASCgEeW-JeGYisxUuw">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_naHwACCgEeW-JeGYisxUuw" name="extension_stereoB" type="_Kk3EYBT5EeWgELX9raxvAA" aggregation="composite" association="_naHI8CCgEeW-JeGYisxUuw"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_n6erECCgEeW-JeGYisxUuw" name="E_stereoC_Enumeration1" memberEnd="_n6erESCgEeW-JeGYisxUuw _n6erEiCgEeW-JeGYisxUuw">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_n6erESCgEeW-JeGYisxUuw" name="extension_stereoC" type="_LDEDUBT5EeWgELX9raxvAA" aggregation="composite" association="_n6erECCgEeW-JeGYisxUuw"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_xsEg8CCgEeW-JeGYisxUuw" name="E_stereoC_Port1" memberEnd="_xsEg8SCgEeW-JeGYisxUuw _xsEg8iCgEeW-JeGYisxUuw">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_xsEg8SCgEeW-JeGYisxUuw" name="extension_stereoC" type="_LDEDUBT5EeWgELX9raxvAA" aggregation="composite" association="_xsEg8CCgEeW-JeGYisxUuw"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_y_yLkCCgEeW-JeGYisxUuw" name="E_stereoA_Port1" memberEnd="_y_yyoCCgEeW-JeGYisxUuw _y_yyoSCgEeW-JeGYisxUuw">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_y_yyoCCgEeW-JeGYisxUuw" name="extension_stereoA" type="_KDfcsBT5EeWgELX9raxvAA" aggregation="composite" association="_y_yLkCCgEeW-JeGYisxUuw"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_z5FLECCgEeW-JeGYisxUuw" name="E_stereoB_Package2" memberEnd="_z5FLESCgEeW-JeGYisxUuw _z5FyICCgEeW-JeGYisxUuw">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_z5FLESCgEeW-JeGYisxUuw" name="extension_stereoB" type="_Kk3EYBT5EeWgELX9raxvAA" aggregation="composite" association="_z5FLECCgEeW-JeGYisxUuw"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_4b5O8CCgEeW-JeGYisxUuw" name="E_stereoA_EnumerationLiteral1" memberEnd="_4b7EICCgEeW-JeGYisxUuw _4b7rMCCgEeW-JeGYisxUuw">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_4b7EICCgEeW-JeGYisxUuw" name="extension_stereoA" type="_KDfcsBT5EeWgELX9raxvAA" aggregation="composite" association="_4b5O8CCgEeW-JeGYisxUuw"/>
+ </packagedElement>
</uml:Profile>
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayClassDiagramModel.di b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayClassDiagramModel.di
new file mode 100644
index 00000000000..247ed5e3570
--- /dev/null
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayClassDiagramModel.di
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<architecture:ArchitectureDescription xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:architecture="http://www.eclipse.org/papyrus/infra/core/architecture" contextId="org.eclipse.papyrus.uml.architecture.Profile"/>
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayClassDiagramModel.notation b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayClassDiagramModel.notation
new file mode 100644
index 00000000000..68c99edf484
--- /dev/null
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayClassDiagramModel.notation
@@ -0,0 +1,135 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" 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="_r_2XQCCbEeW-JeGYisxUuw" type="PapyrusUMLClassDiagram" name="Class Diagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_wi32gCCbEeW-JeGYisxUuw" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_wjZa8CCbEeW-JeGYisxUuw" type="5029"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_wjZa8SCbEeW-JeGYisxUuw" type="8510">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_wjZa8iCbEeW-JeGYisxUuw" y="5"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_wjaCACCbEeW-JeGYisxUuw" type="7017">
+ <children xmi:type="notation:Shape" xmi:id="_HzWMACCfEeW-JeGYisxUuw" type="3012">
+ <element xmi:type="uml:Property" href="StereotypeDisplayClassDiagramModel.uml#_HydbMCCfEeW-JeGYisxUuw"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_HzWMASCfEeW-JeGYisxUuw"/>
+ </children>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_wjaCASCbEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_wjaCAiCbEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_wjaCAyCbEeW-JeGYisxUuw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wjaCBCCbEeW-JeGYisxUuw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_wjaCBSCbEeW-JeGYisxUuw" type="7018">
+ <children xmi:type="notation:Shape" xmi:id="_GBVb0CCfEeW-JeGYisxUuw" type="3013">
+ <element xmi:type="uml:Operation" href="StereotypeDisplayClassDiagramModel.uml#_GBOHECCfEeW-JeGYisxUuw"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_GBVb0SCfEeW-JeGYisxUuw"/>
+ </children>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_wjaCBiCbEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_wjaCByCbEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_wjaCCCCbEeW-JeGYisxUuw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wjaCCSCbEeW-JeGYisxUuw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_wjaCCiCbEeW-JeGYisxUuw" type="7019">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_wjaCCyCbEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_wjaCDCCbEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_wjaCDSCbEeW-JeGYisxUuw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wjaCDiCbEeW-JeGYisxUuw"/>
+ </children>
+ <element xmi:type="uml:Class" href="StereotypeDisplayClassDiagramModel.uml#_whQF4CCbEeW-JeGYisxUuw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wi32gSCbEeW-JeGYisxUuw" x="96" y="72" width="183" height="167"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_xwI64CCbEeW-JeGYisxUuw" type="2004">
+ <children xmi:type="notation:DecorationNode" xmi:id="_xxGkMCCbEeW-JeGYisxUuw" type="5011"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_xxGkMSCbEeW-JeGYisxUuw" type="8507">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_xxGkMiCbEeW-JeGYisxUuw" y="5"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_xxGkMyCbEeW-JeGYisxUuw" type="7006">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_xxGkNCCbEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_xxGkNSCbEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_xxGkNiCbEeW-JeGYisxUuw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xxGkNyCbEeW-JeGYisxUuw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_xxGkOCCbEeW-JeGYisxUuw" type="7007">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_xxGkOSCbEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_xxGkOiCbEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_xxGkOyCbEeW-JeGYisxUuw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xxGkPCCbEeW-JeGYisxUuw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_xxGkPSCbEeW-JeGYisxUuw" type="7008">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_xxGkPiCbEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_xxGkPyCbEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_xxGkQCCbEeW-JeGYisxUuw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xxGkQSCbEeW-JeGYisxUuw"/>
+ </children>
+ <element xmi:type="uml:Interface" href="StereotypeDisplayClassDiagramModel.uml#_xwGeoCCbEeW-JeGYisxUuw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xwI64SCbEeW-JeGYisxUuw" x="978" y="207" width="207" height="188"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_Jzgs8CCfEeW-JeGYisxUuw" type="2007">
+ <children xmi:type="notation:DecorationNode" xmi:id="_Jzgs8iCfEeW-JeGYisxUuw" type="5026"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_Jzgs8yCfEeW-JeGYisxUuw" type="7016">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_Jzgs9CCfEeW-JeGYisxUuw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jzgs9SCfEeW-JeGYisxUuw"/>
+ </children>
+ <element xmi:type="uml:Package" href="StereotypeDisplayClassDiagramModel.uml#_Jzb0cCCfEeW-JeGYisxUuw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jzgs8SCfEeW-JeGYisxUuw" x="306" y="194" width="128" height="92"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_B82SsCCfEeW-JeGYisxUuw" type="2006">
+ <children xmi:type="notation:DecorationNode" xmi:id="_B825wCCfEeW-JeGYisxUuw" type="5023"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_B825wSCfEeW-JeGYisxUuw" type="8508">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_B825wiCfEeW-JeGYisxUuw" y="5"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_B825wyCfEeW-JeGYisxUuw" type="7015">
+ <children xmi:type="notation:Shape" xmi:id="_DZa-YCCfEeW-JeGYisxUuw" type="3017">
+ <element xmi:type="uml:EnumerationLiteral" href="StereotypeDisplayClassDiagramModel.uml#_DZTpoCCfEeW-JeGYisxUuw"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_DZa-YSCfEeW-JeGYisxUuw"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_D2DQACCfEeW-JeGYisxUuw" type="3017">
+ <element xmi:type="uml:EnumerationLiteral" href="StereotypeDisplayClassDiagramModel.uml#_D16tICCfEeW-JeGYisxUuw"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_D2DQASCfEeW-JeGYisxUuw"/>
+ </children>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_B825xCCfEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_B825xSCfEeW-JeGYisxUuw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_B825xiCfEeW-JeGYisxUuw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_B825xyCfEeW-JeGYisxUuw"/>
+ </children>
+ <element xmi:type="uml:Enumeration" href="StereotypeDisplayClassDiagramModel.uml#_B80dgCCfEeW-JeGYisxUuw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_B82SsSCfEeW-JeGYisxUuw" x="493" y="275" width="205" height="104"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_2x49gCCbEeW-JeGYisxUuw" type="2095">
+ <children xmi:type="notation:DecorationNode" xmi:id="_2x5kkSCbEeW-JeGYisxUuw" type="5155">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_2x5kkiCbEeW-JeGYisxUuw" x="71" y="18"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_2x5kkyCbEeW-JeGYisxUuw" type="5156">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_2x6LoCCbEeW-JeGYisxUuw" x="149" y="-10"/>
+ </children>
+ <element xmi:type="uml:DurationObservation" href="StereotypeDisplayClassDiagramModel.uml#_2x2hQCCbEeW-JeGYisxUuw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2x5kkCCbEeW-JeGYisxUuw" x="745" y="274" width="52" height="45"/>
+ </children>
+ <styles xmi:type="notation:StringValueStyle" xmi:id="_r_2XQSCbEeW-JeGYisxUuw" name="diagram_compatibility_version" stringValue="1.1.0"/>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_r_2XQiCbEeW-JeGYisxUuw"/>
+ <styles xmi:type="style:PapyrusViewStyle" xmi:id="_r_2XQyCbEeW-JeGYisxUuw">
+ <owner xmi:type="uml:Model" href="StereotypeDisplayClassDiagramModel.uml#_r0WR4CCbEeW-JeGYisxUuw"/>
+ </styles>
+ <element xmi:type="uml:Model" href="StereotypeDisplayClassDiagramModel.uml#_r0WR4CCbEeW-JeGYisxUuw"/>
+ <edges xmi:type="notation:Connector" xmi:id="_0BvKECCbEeW-JeGYisxUuw" type="4001" source="_xwI64CCbEeW-JeGYisxUuw" target="_wi32gCCbEeW-JeGYisxUuw">
+ <children xmi:type="notation:DecorationNode" xmi:id="_0BvxICCbEeW-JeGYisxUuw" type="6001">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0BvxISCbEeW-JeGYisxUuw" y="-20"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_0BvxIiCbEeW-JeGYisxUuw" type="6002">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0BwYMCCbEeW-JeGYisxUuw" y="20"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_0BwYMSCbEeW-JeGYisxUuw" type="6003">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0BwYMiCbEeW-JeGYisxUuw" y="-20"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_0BwYMyCbEeW-JeGYisxUuw" type="6005">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0BwYNCCbEeW-JeGYisxUuw" y="20"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_0BwYNSCbEeW-JeGYisxUuw" type="6033">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0BwYNiCbEeW-JeGYisxUuw" y="20"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_0BwYNyCbEeW-JeGYisxUuw" type="6034">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0BwYOCCbEeW-JeGYisxUuw" y="-20"/>
+ </children>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0BvKESCbEeW-JeGYisxUuw"/>
+ <element xmi:type="uml:Association" href="StereotypeDisplayClassDiagramModel.uml#_z_fuYCCbEeW-JeGYisxUuw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0BvKEiCbEeW-JeGYisxUuw" points="[-13, -3, 709, 139]$[-712, -151, 10, -9]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_0QDS4CCbEeW-JeGYisxUuw" id="(0.0,0.0851063829787234)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_0QDS4SCbEeW-JeGYisxUuw" id="(1.0,0.07784431137724551)"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayClassDiagramModel.uml b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayClassDiagramModel.uml
new file mode 100644
index 00000000000..99679c55563
--- /dev/null
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayClassDiagramModel.uml
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uml:Model xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_r0WR4CCbEeW-JeGYisxUuw" name="RootElement">
+ <packagedElement xmi:type="uml:Class" xmi:id="_whQF4CCbEeW-JeGYisxUuw" name="Class1">
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_0Az9ACCbEeW-JeGYisxUuw" name="interface1" type="_xwGeoCCbEeW-JeGYisxUuw" association="_z_fuYCCbEeW-JeGYisxUuw"/>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_HydbMCCfEeW-JeGYisxUuw" name="Attribute1"/>
+ <ownedOperation xmi:type="uml:Operation" xmi:id="_GBOHECCfEeW-JeGYisxUuw" name="Operation1"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Interface" xmi:id="_xwGeoCCbEeW-JeGYisxUuw" name="Interface1">
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_0Ael0CCbEeW-JeGYisxUuw" name="class1" type="_whQF4CCbEeW-JeGYisxUuw" association="_z_fuYCCbEeW-JeGYisxUuw"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Association" xmi:id="_z_fuYCCbEeW-JeGYisxUuw" name="Association1" memberEnd="_0Ael0CCbEeW-JeGYisxUuw _0Az9ACCbEeW-JeGYisxUuw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_0ATmsCCbEeW-JeGYisxUuw" source="org.eclipse.papyrus">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_0AUNwCCbEeW-JeGYisxUuw" key="nature" value="UML_Nature"/>
+ </eAnnotations>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Package" xmi:id="_Jzb0cCCfEeW-JeGYisxUuw" name="Package1"/>
+ <packagedElement xmi:type="uml:Enumeration" xmi:id="_B80dgCCfEeW-JeGYisxUuw" name="Enumeration1">
+ <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_DZTpoCCfEeW-JeGYisxUuw" name="EnumerationLiteral1"/>
+ <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_D16tICCfEeW-JeGYisxUuw" name="EnumerationLiteral2"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:DurationObservation" xmi:id="_2x2hQCCbEeW-JeGYisxUuw" name="DurationObservation1"/>
+ <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_sCgpsCCbEeW-JeGYisxUuw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_MOo_sCCsEeW-JeGYisxUuw" source="PapyrusVersion">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_MOo_sSCsEeW-JeGYisxUuw" key="Version" value="0.0.6"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_MOo_siCsEeW-JeGYisxUuw" key="Comment" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_MOo_syCsEeW-JeGYisxUuw" key="Copyright" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_MOo_tCCsEeW-JeGYisxUuw" key="Date" value="2015-07-02"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_MOo_tSCsEeW-JeGYisxUuw" key="Author" value=""/>
+ </eAnnotations>
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_sCk7ICCbEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="ProfileForStereotypeDisplayTests.profile.uml#_6YWUkCCgEeW-JeGYisxUuw"/>
+ </eAnnotations>
+ <appliedProfile xmi:type="uml:Profile" href="ProfileForStereotypeDisplayTests.profile.uml#_EU0CoBT5EeWgELX9raxvAA"/>
+ </profileApplication>
+ <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Yx2J8CCeEeW-JeGYisxUuw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Yx2xACCeEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#/"/>
+ </eAnnotations>
+ <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_TZ_nULU5EduiKqCzJMWbGw"/>
+ </profileApplication>
+ <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Yx2xASCeEeW-JeGYisxUuw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Yx3YECCeEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//modelelements"/>
+ </eAnnotations>
+ <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_Gx8MgLX7EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Yx3YESCeEeW-JeGYisxUuw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Yx3YEiCeEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//blocks"/>
+ </eAnnotations>
+ <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_fSw28LX7EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Yx3YEyCeEeW-JeGYisxUuw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Yx3YFCCeEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//portandflows"/>
+ </eAnnotations>
+ <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_rpx28LX7EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Yx3_ICCeEeW-JeGYisxUuw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Yx3_ISCeEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//constraints"/>
+ </eAnnotations>
+ <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_5WYJ0LX7EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Yx3_IiCeEeW-JeGYisxUuw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Yx3_IyCeEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//activities"/>
+ </eAnnotations>
+ <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_C2zXMLX8EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Yx4mMCCeEeW-JeGYisxUuw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Yx4mMSCeEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//allocations"/>
+ </eAnnotations>
+ <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_NxdG4LX8EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Yx4mMiCeEeW-JeGYisxUuw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Yx4mMyCeEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements"/>
+ </eAnnotations>
+ <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Yx5NQCCeEeW-JeGYisxUuw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Yx5NQSCeEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//interactions"/>
+ </eAnnotations>
+ <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_meOioLX8EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Yx5NQiCeEeW-JeGYisxUuw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Yx5NQyCeEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//statemachines"/>
+ </eAnnotations>
+ <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_nAF5kLX8EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Yx5NRCCeEeW-JeGYisxUuw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Yx50UCCeEeW-JeGYisxUuw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//usecases"/>
+ </eAnnotations>
+ <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_neZmMLX8EduFmqQsrNB9lw"/>
+ </profileApplication>
+</uml:Model>
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.di b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.di
index bf9abab340f..247ed5e3570 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.di
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.di
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/>
+<architecture:ArchitectureDescription xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:architecture="http://www.eclipse.org/papyrus/infra/core/architecture" contextId="org.eclipse.papyrus.uml.architecture.Profile"/>
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.uml b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.uml
index 19950eab211..0fe6a206713 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.uml
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.uml
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:NominalTestProfile="http:///schemas/NominalTestProfile/_Fh-HYBT7EeWgELX9raxvAA/1" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http:///schemas/NominalTestProfile/_Fh-HYBT7EeWgELX9raxvAA/1 ProfileForStereotypeDisplayTests.profile.uml#_Fh_VgBT7EeWgELX9raxvAA">
+<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:NominalTestProfile="http:///schemas/NominalTestProfile/_6YVtgCCgEeW-JeGYisxUuw/5" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http:///schemas/NominalTestProfile/_6YVtgCCgEeW-JeGYisxUuw/5 ProfileForStereotypeDisplayTests.profile.uml#_6YWUkCCgEeW-JeGYisxUuw">
<uml:Model xmi:id="_cTi3MBT6EeWgELX9raxvAA" name="RootElement">
<packagedElement xmi:type="uml:Class" xmi:id="_fBymIBT6EeWgELX9raxvAA" name="Class1"/>
<profileApplication xmi:type="uml:ProfileApplication" xmi:id="_cUCmcBT6EeWgELX9raxvAA">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__TVCMB5uEeWDnczPNXv6Rg" source="PapyrusVersion">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__TVCMR5uEeWDnczPNXv6Rg" key="Version" value="0.0.2"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__TVCMh5uEeWDnczPNXv6Rg" key="Comment" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__TVCMx5uEeWDnczPNXv6Rg" key="Copyright" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__TVCNB5uEeWDnczPNXv6Rg" key="Date" value="2015-06-17"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__TVCNR5uEeWDnczPNXv6Rg" key="Author" value=""/>
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Cft0IHobEeipF_SH-s2AOg" source="PapyrusVersion">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Cft0IXobEeipF_SH-s2AOg" key="Version" value="0.0.6"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Cft0InobEeipF_SH-s2AOg" key="Comment" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Cft0I3obEeipF_SH-s2AOg" key="Copyright" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Cft0JHobEeipF_SH-s2AOg" key="Date" value="2015-07-02"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Cft0JXobEeipF_SH-s2AOg" key="Author" value=""/>
</eAnnotations>
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_cUDNgBT6EeWgELX9raxvAA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="ProfileForStereotypeDisplayTests.profile.uml#_Fh_VgBT7EeWgELX9raxvAA"/>
+ <references xmi:type="ecore:EPackage" href="ProfileForStereotypeDisplayTests.profile.uml#_6YWUkCCgEeW-JeGYisxUuw"/>
</eAnnotations>
<appliedProfile xmi:type="uml:Profile" href="ProfileForStereotypeDisplayTests.profile.uml#_EU0CoBT5EeWgELX9raxvAA"/>
</profileApplication>
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AbstractAppliedStereotypeDisplayTest.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AbstractAppliedStereotypeDisplayTest.java
new file mode 100644
index 00000000000..62caa0c70f2
--- /dev/null
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AbstractAppliedStereotypeDisplayTest.java
@@ -0,0 +1,446 @@
+/*****************************************************************************
+ * Copyright (c) 2015, 2018 CEA LIST and others.
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Celine JANSSENS (ALL4TEC) celine.janssens@all4tec.net - Initial API and implementation
+ *
+ *****************************************************************************/
+
+package org.eclipse.papyrus.uml.diagram.common.tests.stereotype.display;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.emf.transaction.TransactionalEditingDomain;
+import org.eclipse.gef.EditPart;
+import org.eclipse.gef.GraphicalEditPart;
+import org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel;
+import org.eclipse.gmf.runtime.notation.Diagram;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.osgi.util.NLS;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpart.IPapyrusEditPart;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.PapyrusWrappingLabel;
+import org.eclipse.papyrus.infra.widgets.Activator;
+import org.eclipse.papyrus.junit.framework.classification.tests.AbstractPapyrusTest;
+import org.eclipse.papyrus.junit.utils.DiagramUtils;
+import org.eclipse.papyrus.junit.utils.rules.PapyrusEditorFixture;
+import org.eclipse.papyrus.uml.diagram.common.editparts.UMLCompartmentEditPart;
+import org.eclipse.papyrus.uml.diagram.common.figure.node.NodeNamedElementFigure;
+import org.eclipse.papyrus.uml.diagram.common.stereotype.display.helper.StereotypeDisplayUtil;
+import org.eclipse.papyrus.uml.tools.commands.ApplyStereotypeCommand;
+import org.eclipse.papyrus.uml.tools.commands.UnapplyStereotypeCommand;
+import org.eclipse.uml2.uml.Element;
+import org.eclipse.uml2.uml.NamedElement;
+import org.eclipse.uml2.uml.Package;
+import org.eclipse.uml2.uml.Profile;
+import org.eclipse.uml2.uml.Property;
+import org.eclipse.uml2.uml.Stereotype;
+import org.junit.Assert;
+import org.junit.Before;
+import org.junit.Rule;
+
+/**
+ *
+ * This Abstract class has to be extended to test application and unapplication of stereotypes.
+ *
+ * @author Céline JANSSENS
+ *
+ */
+@SuppressWarnings("nls")
+public abstract class AbstractAppliedStereotypeDisplayTest extends AbstractPapyrusTest {
+ /**
+ * Stereotype Name
+ */
+ protected static final String STEREO_A = "stereoA";//$NON-NLS-1$
+
+ /**
+ * Stereotype Name
+ */
+ protected static final String STEREO_B = "stereoB";//$NON-NLS-1$
+
+ /**
+ * Stereotype Name
+ */
+ protected static final String STEREO_C = "stereoC";//$NON-NLS-1$
+
+ /**
+ * First Property Name
+ */
+ protected static final String PROPERTY1 = "propertyA1";//$NON-NLS-1$
+
+ /**
+ * Second Property Name
+ */
+ protected static final String PROPERTY2 = "propertyA2";//$NON-NLS-1$
+
+ /**
+ * Attribute Name
+ */
+ protected static final String ATTRIBUTE_NAME = "Attribute1";//$NON-NLS-1$
+
+ /**
+ * Operation Name
+ */
+ protected static final String OPERATION_NAME = "Operation1";//$NON-NLS-1$
+
+ /**
+ * Package Name
+ */
+ protected static final String PACKAGE_NAME = "Package1";//$NON-NLS-1$
+
+ /**
+ * Association Name
+ */
+ protected static final String ASSOCIATION_NAME = "Association1";//$NON-NLS-1$
+
+ /**
+ * Interface Name
+ */
+ protected static final String INTERFACE_NAME = "Interface1";//$NON-NLS-1$
+
+ /**
+ * Enumeration Name
+ */
+ protected static final String ENUMERATION_NAME = "Enumeration1";//$NON-NLS-1$
+
+ /**
+ * Enumeration Literal Name
+ */
+ protected static final String ENUMERATION_ITEM_NAME = "EnumerationLiteral1";//$NON-NLS-1$
+
+ /**
+ * Duration Observation Name
+ */
+ protected static final String OBSERVATION_NAME = "DurationObservation1";//$NON-NLS-1$
+
+ /**
+ * Diagram Name
+ */
+ protected static final String CLASS_DIAGRAM_NAME = "Class Diagram"; //$NON-NLS-1$
+
+ /**
+ * Profile Name
+ */
+ protected static final String PROFILE_NAME = "NominalTestProfile";//$NON-NLS-1$
+
+ /**
+ * Class name
+ */
+ protected static final String CLASS_NAME = "Class1";//$NON-NLS-1$
+
+
+
+
+ /** Model set rule to have an editing domain. */
+ @Rule
+ public final PapyrusEditorFixture editorFixture = new PapyrusEditorFixture();
+
+ /**
+ * UML Element of the Class
+ */
+ protected Element element = null;
+
+ // protected IPapyrusWrappingLabel stereotypeLabel = null;
+
+ protected EditPart editPart = null;
+ /**
+ * One of the applied Stereotype
+ */
+ protected Stereotype stereotypeA = null;
+
+ /**
+ * One of the applied Stereotype
+ */
+ protected Stereotype stereotypeC = null;
+
+ /**
+ * One of the applied Stereotype
+ */
+ protected Stereotype stereotypeB = null;
+
+ /**
+ * The main diagram ClassDiagram
+ */
+ protected Diagram mainDiagram = null;
+
+
+
+ /**
+ * Notation view of the class editPart
+ */
+ protected View elementView = null;
+
+ /**
+ * Profile that has been applied
+ */
+ protected Profile profile = null;
+
+ /**
+ * Transactional Domain
+ */
+ protected TransactionalEditingDomain domain = null;
+
+ /**
+ * UML Property of the stereotype "stereoA"
+ */
+ protected Property prop1 = null;
+ protected Property prop2 = null;
+
+ /**
+ * Model
+ */
+ protected Package model = null;
+
+ /**
+ * Helper for Stereotype Display
+ */
+ protected StereotypeDisplayUtil helper = StereotypeDisplayUtil.getInstance();
+
+ /**
+ * Helper for the Unit Test about Stereotype Display
+ */
+ protected AppliedStereotypeDisplayTestUtils testHelper = AppliedStereotypeDisplayTestUtils.getInstance();
+
+ /**
+ * Initialization and tests of Objects
+ */
+ @Before
+ public void initialisation() {
+ // Verify if profile is correctly imported
+ model = editorFixture.getModel();
+ Assert.assertNotNull("The model cannot be null", model);
+ Assert.assertFalse("These is no applied profile on the model", model.getProfileApplications().isEmpty());
+
+
+ profile = model.getAppliedProfile(PROFILE_NAME);
+ Assert.assertEquals("Profile is not the one Expected", PROFILE_NAME, profile.getName());
+
+ domain = editorFixture.getEditingDomain();
+ Assert.assertNotNull("Domain should not be null", domain);
+
+
+ stereotypeA = profile.getOwnedStereotype(STEREO_A);
+ Assert.assertNotNull("Stereotype is not the one expected", stereotypeA);
+ Assert.assertEquals("Stereotype is not the one expected", STEREO_A, stereotypeA.getName());
+
+ stereotypeB = profile.getOwnedStereotype(STEREO_B);
+ Assert.assertNotNull("Stereotype is not the one expected", stereotypeB);
+ Assert.assertEquals("Stereotype is not the one expected", STEREO_B, stereotypeB.getName());
+
+ stereotypeC = profile.getOwnedStereotype(STEREO_C);
+ Assert.assertNotNull("Stereotype is not the one expected", stereotypeC);
+ Assert.assertEquals("Stereotype is not the one expected", STEREO_C, stereotypeC.getName());
+
+
+
+ // Open the diagram
+ mainDiagram = DiagramUtils.getNotationDiagram(editorFixture.getModelSet(), CLASS_DIAGRAM_NAME);
+ Assert.assertEquals("Current opened diagram is not the expected one", CLASS_DIAGRAM_NAME, mainDiagram.getName());
+
+
+ editorFixture.getPageManager().openPage(mainDiagram);
+ editorFixture.getPageManager().selectPage(mainDiagram);
+ editorFixture.flushDisplayEvents();
+
+
+ // Check that the stereotype Contains the Expected Properties.
+ List<Property> properties = stereotypeA.getAllAttributes();
+
+ // Assign properties
+ prop1 = stereotypeA.getAttribute(PROPERTY1, null);
+ prop2 = stereotypeA.getAttribute(PROPERTY2, null);
+
+ Assert.assertTrue("The Properties contains PropertyA1", properties.contains(prop1));
+ Assert.assertTrue("The Properties contains PropertyA2", properties.contains(prop2));
+
+
+ }
+
+
+ /**
+ * Unapply and check the applied stereotypes
+ *
+ * @param stereoList
+ * The collection of the Stereotypes to unapply.
+ */
+ protected void unapplyStereotype(final Collection<Stereotype> stereoList) {
+
+ // UnApply stereotype
+ domain.getCommandStack().execute(new UnapplyStereotypeCommand(element, stereoList, domain));
+
+ for (Stereotype stereo : stereoList) {
+ Stereotype appliedStereotype = element.getAppliedStereotype(stereo.getQualifiedName());
+ Assert.assertNull(NLS.bind("Stereotype {0} is still applied on the element.", stereo.getQualifiedName()), appliedStereotype);
+ }
+
+ editPart.refresh();
+
+ }
+
+
+ /**
+ * Apply and check the applied stereotype
+ *
+ * @param stereoList
+ * The collection of the Stereotypes to apply.
+ */
+ protected void applyStereotype(final Collection<Stereotype> stereoList) {
+ // Apply stereotypes
+ domain.getCommandStack().execute(new ApplyStereotypeCommand(element, stereoList, domain));
+
+ for (Stereotype stereo : stereoList) {
+ // Check that the stereotype is applied on the element.
+ Stereotype appliedStereotype = element.getAppliedStereotype(stereo.getQualifiedName());
+ Assert.assertNotNull(NLS.bind("Stereotype {0} is not applied on the element", stereo.getQualifiedName()), appliedStereotype);
+
+ }
+
+ editPart.refresh();
+ }
+
+ /**
+ * Tests the Content of Named Node Label
+ *
+ * @param expectedLabel
+ * The expected label Text
+ */
+ protected void testNodeLabelContent(final String expectedLabel) {
+ // Check the Label content
+ Assert.assertNotNull(editPart);
+ Assert.assertTrue(editPart instanceof IPapyrusEditPart);
+ IPapyrusEditPart pep = (IPapyrusEditPart) editPart;
+ Assert.assertTrue(pep.getPrimaryShape() instanceof NodeNamedElementFigure);
+ PapyrusWrappingLabel label = ((NodeNamedElementFigure) pep.getPrimaryShape()).getStereotypesLabel();
+
+ if (null == expectedLabel) {
+ Assert.assertNull("Label stereotype should be null", label);
+ } else {
+ Assert.assertNotNull("The Label Stereotype should not be null ", label);
+ String labelText = label.getText();
+ Assert.assertEquals("The label content is not the one expected", expectedLabel, labelText);
+
+ }
+
+ }
+
+
+ /**
+ * Test the Label of a UML Compartment element (Such as Operation , property or Enumeration Literal)
+ *
+ * @param expectedLabel
+ * The expected Label
+ *
+ */
+ protected void testCompartmentLabelContent(final String expectedLabel) {
+ // Check the Label content
+ Assert.assertNotNull(editPart);
+ Assert.assertTrue(editPart instanceof UMLCompartmentEditPart);
+ IFigure labelFigure = ((GraphicalEditPart) editPart).getFigure();
+
+ Assert.assertTrue("Figure should be a PapyrusWrappingLabel", labelFigure instanceof WrappingLabel);
+ String label = ((WrappingLabel) labelFigure).getText();
+
+ Assert.assertNotNull("The label of the figure is null",label);
+ Assert.assertTrue("The label content is not the one expected", label.startsWith(expectedLabel));
+
+ }
+
+
+ /**
+ * Test if there is more than the expected number of Comment View into the Diagram.
+ * This is to detect the Orphan Comment view.
+ *
+ * @param expectedNumberOfCommentView
+ * The expected number of Comment View into the entire diagram
+ *
+ */
+ protected void testOrphanComment(final int expectedNumberOfCommentView) {
+ List<View> listOfAllComment = testHelper.getAllComment(mainDiagram);
+ Assert.assertNotNull(listOfAllComment);
+ Assert.assertEquals("Only 1 comment is present in the entire Diagram", expectedNumberOfCommentView, listOfAllComment.size());
+ }
+
+ /**
+ * Test that the number of Created Views are the same as the number of applied Stereotype
+ */
+ protected void testStructure(final int expectedNumbersOfLabels, final int expectedNumbersOfCompartment, final int expectedNumbersOfBrace, final int expectedNumbersOfComment) {
+
+ // Check that there is as many label as appliedStereotypes.
+ List<View> labelList = testHelper.getAllLabel(elementView);
+ Assert.assertNotNull("The label list is null", labelList);
+ Assert.assertEquals("There should have as many Labels as applied Stereotypes", expectedNumbersOfLabels, labelList.size());
+
+ // Check that there is as many compartment as appliedStereotypes.
+ List<View> compartmentsList = testHelper.getAllCompartment(elementView);
+ Assert.assertNotNull("The compartments list is null", compartmentsList);
+ Assert.assertEquals("There should have as many Comaprtment as applied Stereotypes", expectedNumbersOfCompartment, compartmentsList.size());
+
+ // Check that there is as many brace as appliedStereotypes.
+ List<View> bracesList = testHelper.getAllBraceCompartment(elementView);
+ Assert.assertNotNull("The braces list is null", bracesList);
+ Assert.assertEquals("There should have as many Brace Compartments as applied Stereotypes", expectedNumbersOfBrace, bracesList.size());
+
+ // Check that there is only one comment by view.
+ List<View> comments = testHelper.getAllComment(elementView);
+ Assert.assertNotNull("The comments list is null", comments);
+
+ Assert.assertEquals("There should have only one Comment shape by View", expectedNumbersOfComment, comments.size());
+ }
+
+ /**
+ * Set the different elements required for the specific test. ( Class, Enumeration, Package, ...)
+ *
+ * @param objectName
+ * The name of the object to be retrieved
+ * @param classType
+ * The class of the object to be retrieved
+ */
+ protected void setElementAndTest(final String objectName, final Class<? extends NamedElement> classType) {
+
+ // Initialize data for test case
+
+ // Calculate EditPart
+ editPart = editorFixture.findEditPart(objectName, classType);
+ Assert.assertNotNull("The found editPart is null", editPart);
+
+
+ // Get the Enumeration view
+ Assert.assertTrue(NLS.bind("The model of {0} should be a View", objectName), editPart.getModel() instanceof View);
+ elementView = (View) editPart.getModel();
+ Assert.assertNotNull(NLS.bind("The view of the edit Part {0} is not present", objectName), elementView);
+
+ // Get the Semantic Element
+ Assert.assertTrue(elementView.getElement() instanceof Element);
+ element = (Element) elementView.getElement();
+ Assert.assertTrue("The element is a UML Named Element", element instanceof NamedElement);
+ Assert.assertEquals("Element is not the one expected", objectName, ((NamedElement) element).getName());
+
+ }
+
+ /**
+ *
+ * @param stereotypeName
+ * the name of the stereotype
+ * @return
+ * the name of the stereotype between << and >>
+ */
+ protected final String getStereotypeNameWithItsDelimiters(final String ... stereotypeName ) {
+ final StringBuilder builder = new StringBuilder(String.valueOf(Activator.ST_LEFT));
+ for(int i=0;i<stereotypeName.length;i++) {
+ if(i!=0) {
+ builder.append(", ");
+ }
+ builder.append(stereotypeName[i]);
+ }
+
+ builder.append(String.valueOf(Activator.ST_RIGHT));
+ return builder.toString();
+ }
+
+}
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayCompartmentClassDiagramTest.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayCompartmentClassDiagramTest.java
new file mode 100644
index 00000000000..f08f9164e9c
--- /dev/null
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayCompartmentClassDiagramTest.java
@@ -0,0 +1,104 @@
+/*****************************************************************************
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Celine JANSSENS (ALL4TEC) celine.janssens@all4tec.net - Initial API and implementation
+ *
+ *****************************************************************************/
+
+package org.eclipse.papyrus.uml.diagram.common.tests.stereotype.display;
+
+import java.util.Arrays;
+
+import org.eclipse.papyrus.junit.utils.rules.PluginResource;
+import org.eclipse.uml2.uml.EnumerationLiteral;
+import org.junit.Test;
+
+/**
+ * This Class Tests the application of stereotypes for the UML Compartment editPart into the Class Diagram
+ *
+ * @author Céline JANSSENS
+ *
+ */
+@SuppressWarnings("nls")
+@PluginResource("/resources/StereotypeDisplay/StereotypeDisplayClassDiagramModel.di")
+public class AppliedStereotypeDisplayCompartmentClassDiagramTest extends AbstractAppliedStereotypeDisplayTest {
+
+
+ /**
+ * Test the apply and unapply stereotype on a Interface
+ */
+ @Test
+ public void testApplyStereotypeOnEnumerationLiteral() {
+ // Initialize data for test case
+
+ setElementAndTest(ENUMERATION_ITEM_NAME, EnumerationLiteral.class);
+
+ // Apply 1 stereotypes and test structure and Label content
+ applyStereotype(Arrays.asList(stereotypeA));
+ testStructure(1, 0, 1, 0);
+ testCompartmentLabelContent(getStereotypeNameWithItsDelimiters(STEREO_A));
+ testOrphanComment(0);
+
+ // UnApply 1 stereotype and test structure and Label content
+ unapplyStereotype(Arrays.asList(stereotypeA));
+ testStructure(0, 0, 0, 0);
+ testCompartmentLabelContent("");
+ testOrphanComment(0);
+
+ }
+
+ /**
+ * Test the apply and unapply stereotype on a Interface
+ */
+ @Test
+ public void testApplyStereotypeOnOperation() {
+ // Initialize data for test case
+
+ setElementAndTest(OPERATION_NAME, org.eclipse.uml2.uml.Operation.class);
+
+ // Apply 1 stereotypes and test structure and Label content
+ applyStereotype(Arrays.asList(stereotypeA));
+ testStructure(1, 0, 1, 0);
+ testCompartmentLabelContent(getStereotypeNameWithItsDelimiters(STEREO_A));
+ testOrphanComment(0);
+
+ // UnApply 1 stereotype and test structure and Label content
+ unapplyStereotype(Arrays.asList(stereotypeA));
+ testStructure(0, 0, 0, 0);
+ testCompartmentLabelContent("");
+ testOrphanComment(0);
+
+ }
+
+
+ /**
+ * Test the apply and unapply stereotype on a property of a class
+ */
+ @Test
+ public void testApplyStereotypeOnProperty() {
+ // Initialize data for test case
+
+ setElementAndTest(ATTRIBUTE_NAME, org.eclipse.uml2.uml.Property.class);
+
+ // Apply 1 stereotypes and test structure and Label content
+ applyStereotype(Arrays.asList(stereotypeC));
+ testStructure(1, 0, 1, 0);
+ testCompartmentLabelContent(getStereotypeNameWithItsDelimiters(STEREO_C));
+ testOrphanComment(0);
+
+
+ // UnApply 1 stereotype and test structure and Label content
+ unapplyStereotype(Arrays.asList(stereotypeC));
+ testStructure(0, 0, 0, 0);
+ testCompartmentLabelContent("");
+ testOrphanComment(0);
+
+ }
+
+}
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayNodeClassDiagramTest.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayNodeClassDiagramTest.java
new file mode 100644
index 00000000000..30c3c03f89e
--- /dev/null
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayNodeClassDiagramTest.java
@@ -0,0 +1,137 @@
+/*****************************************************************************
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Celine JANSSENS (ALL4TEC) celine.janssens@all4tec.net - Initial API and Implementation
+* Celine JANSSENS (ALL4TEC) celine.janssens@all4tec.net - Bug 471584 : Stereotype Display Unit Tests
+ *
+ *****************************************************************************/
+
+package org.eclipse.papyrus.uml.diagram.common.tests.stereotype.display;
+
+import java.util.Arrays;
+
+import org.eclipse.papyrus.junit.utils.rules.PluginResource;
+import org.eclipse.uml2.uml.Enumeration;
+import org.junit.Test;
+
+/**
+ *
+ * This Class tests the Stereotype Display of a Class Diagram
+ *
+ * @author Céline JANSSENS
+ *
+ */
+@PluginResource("/resources/StereotypeDisplay/StereotypeDisplayClassDiagramModel.di")
+public class AppliedStereotypeDisplayNodeClassDiagramTest extends AbstractAppliedStereotypeDisplayTest {
+
+
+ /**
+ * Test the apply and unapply stereotype on a class
+ */
+ @Test
+ public void testApplyStereotypeOnClass() {
+
+ setElementAndTest(CLASS_NAME, org.eclipse.uml2.uml.Class.class);
+
+ // Apply 2 stereotypes and test structure and Label content
+ applyStereotype(Arrays.asList(stereotypeA, stereotypeB));
+ testStructure(2, 2, 2, 1);
+ testNodeLabelContent(getStereotypeNameWithItsDelimiters(STEREO_A, STEREO_B));
+ testOrphanComment(1);
+
+
+ // UnApply 1 stereotype and test structure and Label content
+ unapplyStereotype(Arrays.asList(stereotypeB));
+ testStructure(1, 1, 1, 1);
+ testNodeLabelContent(getStereotypeNameWithItsDelimiters(STEREO_A));
+ testOrphanComment(1);
+
+ // UnApply 1 stereotype and test structure and Label content
+ unapplyStereotype(Arrays.asList(stereotypeA));
+ testStructure(0, 0, 0, 0);
+ testNodeLabelContent(null);
+ testOrphanComment(0);
+
+ }
+
+ /**
+ * Test the apply and unapply stereotype on a Interface
+ */
+ @Test
+ public void testApplyStereotypeOnInterface() {
+ // Initialize data for test case
+ setElementAndTest(INTERFACE_NAME, org.eclipse.uml2.uml.Interface.class);
+
+ // Apply 1 stereotypes and test structure and Label content
+ applyStereotype(Arrays.asList(stereotypeA));
+ testStructure(1, 1, 1, 1);
+ testNodeLabelContent(getStereotypeNameWithItsDelimiters(STEREO_A));
+ testOrphanComment(1);
+
+
+ // UnApply 1 stereotype and test structure and Label content
+ unapplyStereotype(Arrays.asList(stereotypeA));
+ testStructure(0, 0, 0, 0);
+ testNodeLabelContent(null);
+ testOrphanComment(0);
+
+ }
+
+ /**
+ * Test the apply and unapply stereotype on a Enumeration
+ */
+ @Test
+ public void testApplyStereotypeOnEnumeration() {
+ // Initialize data for test case
+ setElementAndTest(ENUMERATION_NAME, Enumeration.class);
+
+
+ // Apply 1 stereotypes and test structure and Label content
+ applyStereotype(Arrays.asList(stereotypeA));
+ testStructure(1, 1, 1, 1);
+ testNodeLabelContent(getStereotypeNameWithItsDelimiters(STEREO_A));
+ testOrphanComment(1);
+
+
+ // UnApply 1 stereotype and test structure and Label content
+ unapplyStereotype(Arrays.asList(stereotypeA));
+ testStructure(0, 0, 0, 0);
+ testNodeLabelContent(null);
+ testOrphanComment(0);
+
+ }
+
+
+ /**
+ * Test the apply and unapply stereotype on a Interface
+ */
+ @Test
+ public void testApplyStereotypeOnPackage() {
+ // Initialize data for test case
+ setElementAndTest(PACKAGE_NAME, org.eclipse.uml2.uml.Package.class);
+
+
+ // Apply 1 stereotypes and test structure and Label content
+ applyStereotype(Arrays.asList(stereotypeB));
+ testStructure(1, 1, 1, 1);
+ testNodeLabelContent(getStereotypeNameWithItsDelimiters(STEREO_B));
+ testOrphanComment(1);
+
+
+ // UnApply 1 stereotype and test structure and Label content
+ unapplyStereotype(Arrays.asList(stereotypeB));
+ testStructure(0, 0, 0, 0);
+ testNodeLabelContent(null);
+ testOrphanComment(0);
+
+ }
+
+
+
+}
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayTestUtils.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayTestUtils.java
index e44eabe0a44..bc07abbdee7 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayTestUtils.java
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayTestUtils.java
@@ -1,5 +1,5 @@
/*****************************************************************************
- * Copyright (c) 2015 CEA LIST and others.
+ * Copyright (c) 2015, 2018 CEA LIST and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@@ -7,7 +7,7 @@
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * CEA LIST - Initial API and implementation
+ * Celine JANSSENS (ALL4TEC) celine.janssens@all4tec.netT - Initial API and implementation
*
*****************************************************************************/
@@ -25,6 +25,8 @@ import org.eclipse.uml2.uml.Element;
import org.junit.Assert;
/**
+ * This Class is a Singleton that regroups all the Utilities method required in the TStereotype display test.
+ *
* @author Céline JANSSENS
*
*/
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/tests/AllTests.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/tests/AllTests.java
index 0be076fcff0..6f0b98116e4 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/tests/AllTests.java
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/tests/AllTests.java
@@ -22,6 +22,8 @@ import org.eclipse.papyrus.uml.diagram.common.tests.parser.HTMLCleanerTestCase;
import org.eclipse.papyrus.uml.diagram.common.tests.parser.HTMLCornerBentFigureTestCase;
import org.eclipse.papyrus.uml.diagram.common.tests.parser.MultiplicityStringFormatterTestCase;
import org.eclipse.papyrus.uml.diagram.common.tests.parser.ValueSpecificationUtilTestCase;
+import org.eclipse.papyrus.uml.diagram.common.tests.stereotype.display.AppliedStereotypeDisplayCompartmentClassDiagramTest;
+import org.eclipse.papyrus.uml.diagram.common.tests.stereotype.display.AppliedStereotypeDisplayNodeClassDiagramTest;
import org.eclipse.papyrus.uml.diagram.common.tests.stereotype.display.AppliedStereotypeDisplayStructureTest;
import org.junit.runner.RunWith;
import org.junit.runners.Suite.SuiteClasses;
@@ -29,6 +31,8 @@ import org.junit.runners.Suite.SuiteClasses;
@RunWith(ClassificationSuite.class)
@SuiteClasses({
AppliedStereotypeDisplayStructureTest.class,
+ AppliedStereotypeDisplayNodeClassDiagramTest.class,
+ AppliedStereotypeDisplayCompartmentClassDiagramTest.class,
CommonBendpointsTest.class,
HTMLCleanerTestCase.class,
HTMLCornerBentFigureTestCase.class,

Back to the top