Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1')
-rw-r--r--examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/.project11
-rw-r--r--examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/diagram.pngbin0 -> 16885 bytes
-rw-r--r--examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1-fromXMI.uml51
-rw-r--r--examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1.di8
-rw-r--r--examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1.gifbin0 -> 6974 bytes
-rw-r--r--examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1.notation226
-rw-r--r--examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1.uml63
-rw-r--r--examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/validTestCase1.xmi51
8 files changed, 410 insertions, 0 deletions
diff --git a/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/.project b/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/.project
new file mode 100644
index 00000000000..926a6743f33
--- /dev/null
+++ b/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/.project
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>TC1</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
diff --git a/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/diagram.png b/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/diagram.png
new file mode 100644
index 00000000000..39d7d66e63e
--- /dev/null
+++ b/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/diagram.png
Binary files differ
diff --git a/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1-fromXMI.uml b/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1-fromXMI.uml
new file mode 100644
index 00000000000..8ebc519647a
--- /dev/null
+++ b/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1-fromXMI.uml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uml:Model xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:uml="http://www.eclipse.org/uml2/2.1.0/UML" xmi:id="_Y10C0B_CEd6KLOscCwv-5A">
+ <packagedElement xmi:type="uml:Package" xmi:id="_hHjPgB_CEd6KLOscCwv-5A" name="package1">
+ <ownedComment xmi:id="_hHjPgR_CEd6KLOscCwv-5A" annotatedElement="_hHjPih_CEd6KLOscCwv-5A">
+ <body>&lt;p>&#xD;
+ Private visibility.&#xD;
+&lt;/p></body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_hHjPgh_CEd6KLOscCwv-5A" name="Class1" isAbstract="true">
+ <ownedAttribute xmi:id="_hHjPgx_CEd6KLOscCwv-5A" name="attribute1" visibility="public">
+ <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_hHjPhB_CEd6KLOscCwv-5A"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_hHjPhR_CEd6KLOscCwv-5A" name="class3_1" visibility="private" type="_hHjPih_CEd6KLOscCwv-5A" association="_hHjPnB_CEd6KLOscCwv-5A"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Class" xmi:id="_hHjPhh_CEd6KLOscCwv-5A" name="Class2">
+ <ownedAttribute xmi:id="_hHjPhx_CEd6KLOscCwv-5A" name="attribute2" visibility="protected">
+ <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/>
+ <defaultValue xmi:type="uml:LiteralBoolean" xmi:id="_hHjPiB_CEd6KLOscCwv-5A" value="true"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_hHjPiR_CEd6KLOscCwv-5A" name="class3_2" visibility="private" type="_hHjPih_CEd6KLOscCwv-5A" association="_hHjPmx_CEd6KLOscCwv-5A"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Class" xmi:id="_hHjPih_CEd6KLOscCwv-5A" name="Class3" visibility="private">
+ <generalization xmi:id="_hHjPix_CEd6KLOscCwv-5A" general="_hHjPgh_CEd6KLOscCwv-5A"/>
+ <generalization xmi:id="_hHjPjB_CEd6KLOscCwv-5A" general="_hHjPhh_CEd6KLOscCwv-5A"/>
+ <ownedAttribute xmi:id="_hHjPjR_CEd6KLOscCwv-5A" name="attribute3" visibility="package">
+ <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_hHjPjh_CEd6KLOscCwv-5A" value="*"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_hHjPjx_CEd6KLOscCwv-5A"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_hHjPkB_CEd6KLOscCwv-5A" name="class1" visibility="public" type="_hHjPgh_CEd6KLOscCwv-5A" aggregation="shared" association="_hHjPnB_CEd6KLOscCwv-5A">
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_hHjPkR_CEd6KLOscCwv-5A" value="*"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_hHjPkh_CEd6KLOscCwv-5A"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_hHjPkx_CEd6KLOscCwv-5A" name="class2" visibility="protected" type="_hHjPhh_CEd6KLOscCwv-5A" aggregation="composite" association="_hHjPmx_CEd6KLOscCwv-5A">
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_hHjPlB_CEd6KLOscCwv-5A" value="*"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_hHjPlR_CEd6KLOscCwv-5A" name="class3" visibility="package" type="_hHjPih_CEd6KLOscCwv-5A" association="_hHjPmB_CEd6KLOscCwv-5A">
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_hHjPlh_CEd6KLOscCwv-5A" value="3"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_hHjPlx_CEd6KLOscCwv-5A" value="2"/>
+ </ownedAttribute>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Association" xmi:id="_hHjPmB_CEd6KLOscCwv-5A" memberEnd="_hHjPmR_CEd6KLOscCwv-5A _hHjPlR_CEd6KLOscCwv-5A">
+ <ownedEnd xmi:id="_hHjPmR_CEd6KLOscCwv-5A" type="_hHjPih_CEd6KLOscCwv-5A" association="_hHjPmB_CEd6KLOscCwv-5A">
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_hHjPmh_CEd6KLOscCwv-5A"/>
+ </ownedEnd>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Association" xmi:id="_hHjPmx_CEd6KLOscCwv-5A" name="Association2" memberEnd="_hHjPkx_CEd6KLOscCwv-5A _hHjPiR_CEd6KLOscCwv-5A"/>
+ <packagedElement xmi:type="uml:Association" xmi:id="_hHjPnB_CEd6KLOscCwv-5A" name="Association1" memberEnd="_hHjPkB_CEd6KLOscCwv-5A _hHjPhR_CEd6KLOscCwv-5A"/>
+ </packagedElement>
+</uml:Model>
diff --git a/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1.di b/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1.di
new file mode 100644
index 00000000000..42490998198
--- /dev/null
+++ b/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1.di
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="ASCII"?>
+<di:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/di" name="tabfolder.window" type="tabfolder.window">
+ <contained xsi:type="di:Diagram" name="tab.window" type="tab.window">
+ <semanticModel xsi:type="di:CoreSemanticModelBridge">
+ <element href="testcase1.notation#/"/>
+ </semanticModel>
+ </contained>
+</di:Diagram>
diff --git a/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1.gif b/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1.gif
new file mode 100644
index 00000000000..3d1d52b349e
--- /dev/null
+++ b/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1.gif
Binary files differ
diff --git a/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1.notation b/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1.notation
new file mode 100644
index 00000000000..b7f5ba52900
--- /dev/null
+++ b/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1.notation
@@ -0,0 +1,226 @@
+<?xml version="1.0" encoding="ASCII"?>
+<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.1/notation" type="PapyrusUMLClassDiagram" name="testcase1" measurementUnit="Pixel">
+ <eAnnotations source="org.eclipse.papyrus.diagram.common.Belongs_To_This_Diagram">
+ <references href="testcase1.uml#_cPjJUB_DEd6YoYo_qcjZ1A"/>
+ <references href="testcase1.uml#_CcNHEB_DEd6YoYo_qcjZ1A"/>
+ <references href="testcase1.uml#_Qqb1cR_FEd6shpq_sNxTJQ"/>
+ <references href="testcase1.uml#_Qqb1cB_FEd6shpq_sNxTJQ"/>
+ <references href="testcase1.uml#_OxbscB_FEd6shpq_sNxTJQ"/>
+ <references href="testcase1.uml#_aVkeAB_FEd6shpq_sNxTJQ"/>
+ <references href="testcase1.uml#_jHfmoR_FEd6shpq_sNxTJQ"/>
+ <references href="testcase1.uml#_jHfmoB_FEd6shpq_sNxTJQ"/>
+ <references href="testcase1.uml#_ooNdMB_FEd6shpq_sNxTJQ"/>
+ <references href="testcase1.uml#_d_hnQB_FEd6shpq_sNxTJQ"/>
+ <references href="testcase1.uml#_0R3A4B_FEd6shpq_sNxTJQ"/>
+ <references href="testcase1.uml#_j_IuYR_HEd6wzp0oZera5w"/>
+ <references href="testcase1.uml#_j_IuYB_HEd6wzp0oZera5w"/>
+ <references href="testcase1.uml#_RZw5QB_IEd6wzp0oZera5w"/>
+ <references href="testcase1.uml#_h9zIwB_HEd6wzp0oZera5w"/>
+ <references href="testcase1.uml#_jAtXQB_HEd6wzp0oZera5w"/>
+ <references href="testcase1.uml#_G1VjIR_GEd6shpq_sNxTJQ"/>
+ <references href="testcase1.uml#_G1VjIB_GEd6shpq_sNxTJQ"/>
+ <references href="testcase1.uml#_EptZEB_GEd6shpq_sNxTJQ"/>
+ <references href="testcase1.uml#_EPurcB_JEd6wzp0oZera5w"/>
+ <references href="testcase1.uml#_KbpbIB_JEd6wzp0oZera5w"/>
+ <references href="testcase1.uml#_j-_kcB_HEd6wzp0oZera5w"/>
+ <references href="testcase1.uml#_HztvkB_JEd6wzp0oZera5w"/>
+ <references href="testcase1.uml#_k1Oo4B_HEd6wzp0oZera5w"/>
+ <references href="testcase1.uml#_OvU20B_JEd6wzp0oZera5w"/>
+ <references href="testcase1.uml#_dobjoR_KEd6wzp0oZera5w"/>
+ <references href="testcase1.uml#_dobjoB_KEd6wzp0oZera5w"/>
+ <references href="testcase1.uml#_k1YZ4R_HEd6wzp0oZera5w"/>
+ <references href="testcase1.uml#_k1YZ4B_HEd6wzp0oZera5w"/>
+ <references href="testcase1.uml#_lxfx8B_JEd6wzp0oZera5w"/>
+ <references href="testcase1.uml#_OvU20h_JEd6wzp0oZera5w"/>
+ <references href="testcase1.uml#_OvU20R_JEd6wzp0oZera5w"/>
+ </eAnnotations>
+ <eAnnotations source="org.eclipse.papyrus.diagram.common.FilterViewsAndLabelsSource">
+ <details key="3002" value=""/>
+ </eAnnotations>
+ <children type="2008">
+ <children type="5029"/>
+ <children type="7017">
+ <children type="3012">
+ <element href="testcase1.uml#_OxbscB_FEd6shpq_sNxTJQ"/>
+ <layoutConstraint xsi:type="notation:Location"/>
+ </children>
+ <styles xsi:type="notation:DrawerStyle"/>
+ <styles xsi:type="notation:SortingStyle"/>
+ <styles xsi:type="notation:FilteringStyle"/>
+ </children>
+ <children type="7018">
+ <styles xsi:type="notation:DrawerStyle"/>
+ <styles xsi:type="notation:SortingStyle"/>
+ <styles xsi:type="notation:FilteringStyle"/>
+ </children>
+ <children type="7019">
+ <styles xsi:type="notation:DrawerStyle"/>
+ <styles xsi:type="notation:SortingStyle"/>
+ <styles xsi:type="notation:FilteringStyle"/>
+ </children>
+ <styles xsi:type="notation:ShapeStyle" fontHeight="8" lineColor="15060913"/>
+ <styles xsi:type="notation:HintedDiagramLinkStyle"/>
+ <element href="testcase1.uml#_CcNHEB_DEd6YoYo_qcjZ1A"/>
+ <layoutConstraint xsi:type="notation:Bounds" x="36" y="127" width="183" height="115"/>
+ </children>
+ <children type="2008">
+ <children type="5029"/>
+ <children type="7017">
+ <children type="3012">
+ <element href="testcase1.uml#_d_hnQB_FEd6shpq_sNxTJQ"/>
+ <layoutConstraint xsi:type="notation:Location"/>
+ </children>
+ <styles xsi:type="notation:DrawerStyle"/>
+ <styles xsi:type="notation:SortingStyle"/>
+ <styles xsi:type="notation:FilteringStyle"/>
+ </children>
+ <children type="7018">
+ <styles xsi:type="notation:DrawerStyle"/>
+ <styles xsi:type="notation:SortingStyle"/>
+ <styles xsi:type="notation:FilteringStyle"/>
+ </children>
+ <children type="7019">
+ <styles xsi:type="notation:DrawerStyle"/>
+ <styles xsi:type="notation:SortingStyle"/>
+ <styles xsi:type="notation:FilteringStyle"/>
+ </children>
+ <styles xsi:type="notation:ShapeStyle" fontHeight="8" lineColor="15060913"/>
+ <styles xsi:type="notation:HintedDiagramLinkStyle"/>
+ <element href="testcase1.uml#_aVkeAB_FEd6shpq_sNxTJQ"/>
+ <layoutConstraint xsi:type="notation:Bounds" x="431" y="131" width="207" height="116"/>
+ </children>
+ <children type="2008">
+ <children type="5029"/>
+ <children type="7017">
+ <children type="3012">
+ <element href="testcase1.uml#_EptZEB_GEd6shpq_sNxTJQ"/>
+ <layoutConstraint xsi:type="notation:Location"/>
+ </children>
+ <styles xsi:type="notation:DrawerStyle"/>
+ <styles xsi:type="notation:SortingStyle"/>
+ <styles xsi:type="notation:FilteringStyle"/>
+ </children>
+ <children type="7018">
+ <styles xsi:type="notation:DrawerStyle"/>
+ <styles xsi:type="notation:SortingStyle"/>
+ <styles xsi:type="notation:FilteringStyle"/>
+ </children>
+ <children type="7019">
+ <styles xsi:type="notation:DrawerStyle"/>
+ <styles xsi:type="notation:SortingStyle"/>
+ <styles xsi:type="notation:FilteringStyle"/>
+ </children>
+ <styles xsi:type="notation:ShapeStyle" fontHeight="8" lineColor="15060913"/>
+ <styles xsi:type="notation:HintedDiagramLinkStyle"/>
+ <element href="testcase1.uml#_0R3A4B_FEd6shpq_sNxTJQ"/>
+ <layoutConstraint xsi:type="notation:Bounds" x="195" y="303" width="175" height="96"/>
+ </children>
+ <children type="2012">
+ <children type="5038"/>
+ <styles xsi:type="notation:ShapeStyle" fontHeight="8" lineColor="15060913"/>
+ <styles xsi:type="notation:HintedDiagramLinkStyle"/>
+ <element href="testcase1.uml#_Ro_LkB_JEd6wzp0oZera5w"/>
+ <layoutConstraint xsi:type="notation:Bounds" x="270" y="179"/>
+ </children>
+ <styles xsi:type="notation:DiagramStyle"/>
+ <element href="testcase1.uml#_1CpE8B_CEd6YoYo_qcjZ1A"/>
+ <edges type="4002" source="//@children.2" target="//@children.0">
+ <children type="6007">
+ <layoutConstraint xsi:type="notation:Location" y="40"/>
+ </children>
+ <styles xsi:type="notation:RoutingStyle"/>
+ <styles xsi:type="notation:FontStyle" fontHeight="8"/>
+ <element href="testcase1.uml#_h9zIwB_HEd6wzp0oZera5w"/>
+ <bendpoints xsi:type="notation:RelativeBendpoints" points="[-12, -21, 57, 108]$[-31, -116, 38, 13]"/>
+ <sourceAnchor xsi:type="notation:IdentityAnchor" id="(0.47428572,0.21875)"/>
+ <targetAnchor xsi:type="notation:IdentityAnchor" id="(0.79234976,0.6695652)"/>
+ </edges>
+ <edges type="4002" source="//@children.2" target="//@children.1">
+ <children type="6007">
+ <layoutConstraint xsi:type="notation:Location" y="40"/>
+ </children>
+ <styles xsi:type="notation:RoutingStyle"/>
+ <styles xsi:type="notation:FontStyle" fontHeight="8"/>
+ <element href="testcase1.uml#_jAtXQB_HEd6wzp0oZera5w"/>
+ <bendpoints xsi:type="notation:RelativeBendpoints" points="[33, -39, -68, 77]$[85, -101, -16, 15]"/>
+ <sourceAnchor xsi:type="notation:IdentityAnchor" id="(0.7771429,0.40625)"/>
+ <targetAnchor xsi:type="notation:IdentityAnchor" id="(0.28502417,0.87068963)"/>
+ </edges>
+ <edges type="4001" source="//@children.2" target="//@children.0">
+ <children type="6001">
+ <layoutConstraint xsi:type="notation:Location" y="40"/>
+ </children>
+ <children type="6002">
+ <layoutConstraint xsi:type="notation:Location" x="11" y="44"/>
+ </children>
+ <children type="6003">
+ <layoutConstraint xsi:type="notation:Location" x="1" y="-29"/>
+ </children>
+ <children type="6004">
+ <layoutConstraint xsi:type="notation:Location" x="-2" y="37"/>
+ </children>
+ <children type="6005">
+ <layoutConstraint xsi:type="notation:Location" x="9" y="-13"/>
+ </children>
+ <children type="6006">
+ <layoutConstraint xsi:type="notation:Location" x="-5" y="-32"/>
+ </children>
+ <styles xsi:type="notation:RoutingStyle"/>
+ <styles xsi:type="notation:FontStyle" fontHeight="8"/>
+ <element href="testcase1.uml#_j_IuYB_HEd6wzp0oZera5w"/>
+ <bendpoints xsi:type="notation:RelativeBendpoints" points="[-87, 0, 100, 127]$[-187, 0, 0, 127]$[-187, -110, 0, 17]"/>
+ <targetAnchor xsi:type="notation:IdentityAnchor" id="(0.30054644,0.8521739)"/>
+ </edges>
+ <edges type="4001" source="//@children.2" target="//@children.1">
+ <children type="6001">
+ <layoutConstraint xsi:type="notation:Location" y="40"/>
+ </children>
+ <children type="6002">
+ <layoutConstraint xsi:type="notation:Location" x="-38" y="-25"/>
+ </children>
+ <children type="6003">
+ <layoutConstraint xsi:type="notation:Location" x="-2" y="33"/>
+ </children>
+ <children type="6004">
+ <layoutConstraint xsi:type="notation:Location" x="-31" y="39"/>
+ </children>
+ <children type="6005">
+ <layoutConstraint xsi:type="notation:Location" x="-12" y="-17"/>
+ </children>
+ <children visible="false" type="6006">
+ <layoutConstraint xsi:type="notation:Location" x="-1" y="56"/>
+ </children>
+ <styles xsi:type="notation:RoutingStyle"/>
+ <styles xsi:type="notation:FontStyle" fontHeight="8"/>
+ <element href="testcase1.uml#_k1YZ4B_HEd6wzp0oZera5w"/>
+ <bendpoints xsi:type="notation:RelativeBendpoints" points="[15, 0, -228, 105]$[243, 0, 0, 105]$[243, -93, 0, 12]"/>
+ <sourceAnchor xsi:type="notation:IdentityAnchor" id="(0.9142857,0.38541666)"/>
+ <targetAnchor xsi:type="notation:IdentityAnchor" id="(0.7874396,0.9051724)"/>
+ </edges>
+ <edges type="4001" source="//@children.2" target="//@children.2">
+ <children visible="false" type="6001">
+ <layoutConstraint xsi:type="notation:Location" y="40"/>
+ </children>
+ <children visible="false" type="6002">
+ <layoutConstraint xsi:type="notation:Location" x="50" y="-22"/>
+ </children>
+ <children visible="false" type="6003">
+ <layoutConstraint xsi:type="notation:Location" y="80"/>
+ </children>
+ <children visible="false" type="6004">
+ <layoutConstraint xsi:type="notation:Location" y="100"/>
+ </children>
+ <children visible="false" type="6005">
+ <layoutConstraint xsi:type="notation:Location" y="120"/>
+ </children>
+ <children visible="false" type="6006">
+ <layoutConstraint xsi:type="notation:Location" y="140"/>
+ </children>
+ <styles xsi:type="notation:RoutingStyle"/>
+ <styles xsi:type="notation:FontStyle" fontHeight="8"/>
+ <element href="testcase1.uml#_OvU20R_JEd6wzp0oZera5w"/>
+ <bendpoints xsi:type="notation:RelativeBendpoints" points="[80, -1, 79, -16]$[142, -1, 141, -16]$[142, 85, 141, 70]$[1, 85, 0, 70]$[1, 23, 0, 8]"/>
+ <sourceAnchor xsi:type="notation:IdentityAnchor" id="(0.54285717,0.7604167)"/>
+ <targetAnchor xsi:type="notation:IdentityAnchor" id="(0.5542857,0.9270833)"/>
+ </edges>
+</notation:Diagram>
diff --git a/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1.uml b/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1.uml
new file mode 100644
index 00000000000..7b551afbd73
--- /dev/null
+++ b/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/testcase1.uml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uml:Model xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/2.1.0/UML" xmi:id="_1CpE8B_CEd6YoYo_qcjZ1A" name="testcase1">
+ <ownedComment xmi:id="_Ro_LkB_JEd6wzp0oZera5w" annotatedElement="_0R3A4B_FEd6shpq_sNxTJQ">
+ <body>private visibility</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Package" xmi:id="_cPjJUB_DEd6YoYo_qcjZ1A" name="package1">
+ <packagedElement xmi:type="uml:Class" xmi:id="_CcNHEB_DEd6YoYo_qcjZ1A" name="Class1">
+ <ownedAttribute xmi:id="_OxbscB_FEd6shpq_sNxTJQ" name="attribute1" isUnique="false">
+ <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Qqb1cR_FEd6shpq_sNxTJQ" value="1"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Qqb1cB_FEd6shpq_sNxTJQ"/>
+ </ownedAttribute>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Class" xmi:id="_aVkeAB_FEd6shpq_sNxTJQ" name="Class2">
+ <ownedAttribute xmi:id="_d_hnQB_FEd6shpq_sNxTJQ" name="attribute2" visibility="protected" isUnique="false">
+ <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_jHfmoR_FEd6shpq_sNxTJQ" value="1"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_jHfmoB_FEd6shpq_sNxTJQ" value="1"/>
+ <defaultValue xmi:type="uml:LiteralString" xmi:id="_ooNdMB_FEd6shpq_sNxTJQ" value="true"/>
+ </ownedAttribute>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Class" xmi:id="_0R3A4B_FEd6shpq_sNxTJQ" name="Class3">
+ <generalization xmi:id="_h9zIwB_HEd6wzp0oZera5w" general="_CcNHEB_DEd6YoYo_qcjZ1A"/>
+ <generalization xmi:id="_jAtXQB_HEd6wzp0oZera5w" general="_aVkeAB_FEd6shpq_sNxTJQ"/>
+ <ownedAttribute xmi:id="_EptZEB_GEd6shpq_sNxTJQ" name="attribute3" visibility="private" isUnique="false">
+ <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_G1VjIR_GEd6shpq_sNxTJQ" value="*"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_G1VjIB_GEd6shpq_sNxTJQ"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_j-_kcB_HEd6wzp0oZera5w" name="class3_1" visibility="private" type="_CcNHEB_DEd6YoYo_qcjZ1A" association="_j_IuYB_HEd6wzp0oZera5w">
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_EPurcB_JEd6wzp0oZera5w" value="*"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_KbpbIB_JEd6wzp0oZera5w"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_k1Oo4B_HEd6wzp0oZera5w" name="class3_2" visibility="private" type="_aVkeAB_FEd6shpq_sNxTJQ" association="_k1YZ4B_HEd6wzp0oZera5w">
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_HztvkB_JEd6wzp0oZera5w" value="2"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Z5ezICBuEd6B1-g56hjodA" value="1"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_OvU20B_JEd6wzp0oZera5w" name="class3" type="_0R3A4B_FEd6shpq_sNxTJQ" association="_OvU20R_JEd6wzp0oZera5w"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Association" xmi:id="_j_IuYB_HEd6wzp0oZera5w" name="Association1" memberEnd="_j_IuYR_HEd6wzp0oZera5w _j-_kcB_HEd6wzp0oZera5w">
+ <ownedEnd xmi:id="_j_IuYR_HEd6wzp0oZera5w" name="class3" type="_0R3A4B_FEd6shpq_sNxTJQ" aggregation="shared" association="_j_IuYB_HEd6wzp0oZera5w">
+ <defaultValue xmi:type="uml:LiteralString" xmi:id="_RZw5QB_IEd6wzp0oZera5w"/>
+ </ownedEnd>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Association" xmi:id="_k1YZ4B_HEd6wzp0oZera5w" name="Association2" memberEnd="_k1YZ4R_HEd6wzp0oZera5w _k1Oo4B_HEd6wzp0oZera5w">
+ <ownedEnd xmi:id="_k1YZ4R_HEd6wzp0oZera5w" name="class3" type="_0R3A4B_FEd6shpq_sNxTJQ" aggregation="composite" association="_k1YZ4B_HEd6wzp0oZera5w">
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_dobjoR_KEd6wzp0oZera5w" value="2"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_dobjoB_KEd6wzp0oZera5w" value="1"/>
+ </ownedEnd>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Association" xmi:id="_OvU20R_JEd6wzp0oZera5w" name="Association3" memberEnd="_OvU20h_JEd6wzp0oZera5w _OvU20B_JEd6wzp0oZera5w">
+ <ownedEnd xmi:id="_OvU20h_JEd6wzp0oZera5w" name="class3" type="_0R3A4B_FEd6shpq_sNxTJQ" association="_OvU20R_JEd6wzp0oZera5w">
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_lxfx8B_JEd6wzp0oZera5w"/>
+ </ownedEnd>
+ </packagedElement>
+ </packagedElement>
+ <profileApplication xmi:id="_1CpE8R_CEd6YoYo_qcjZ1A">
+ <eAnnotations xmi:id="_1CpE8h_CEd6YoYo_qcjZ1A" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbnfB2L_5w"/>
+ </eAnnotations>
+ <appliedProfile href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
+ </profileApplication>
+</uml:Model>
diff --git a/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/validTestCase1.xmi b/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/validTestCase1.xmi
new file mode 100644
index 00000000000..559aca8a417
--- /dev/null
+++ b/examples/user/referencediagrams/org.eclipse.papyrus.examples.user.referencediagrams.TC1/validTestCase1.xmi
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uml:Model xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:uml="http://schema.omg.org/spec/UML/2.1.1" xsi:schemaLocation="http://schema.omg.org/spec/UML/2.1.1 http://www.eclipse.org/uml2/2.1.0/UML" xmi:id="_0" name="testCase1">
+ <packagedElement xmi:type="uml:Package" xmi:id="package1" name="package1">
+ <ownedComment xmi:type="uml:Comment" xmi:id="package1-_ownedComment.0" annotatedElement="package1-Class3">
+ <body>&lt;p>&#xD;
+ Private visibility.&#xD;
+&lt;/p></body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="package1-Class1" name="Class1" isAbstract="true">
+ <ownedAttribute xmi:type="uml:Property" xmi:id="package1-Class1-attribute1" name="attribute1" visibility="public">
+ <type xmi:type="uml:PrimitiveType" href="http://schema.omg.org/spec/UML/2.1.1/uml.xml#Boolean"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="package1-Class1-attribute1-_lowerValue"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="package1-Class1-class3_1" name="class3_1" visibility="private" type="package1-Class3" association="package1-Association1"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Class" xmi:id="package1-Class2" name="Class2">
+ <ownedAttribute xmi:type="uml:Property" xmi:id="package1-Class2-attribute2" name="attribute2" visibility="protected">
+ <type xmi:type="uml:PrimitiveType" href="http://schema.omg.org/spec/UML/2.1.1/uml.xml#Boolean"/>
+ <defaultValue xmi:type="uml:LiteralBoolean" xmi:id="package1-Class2-attribute2-_defaultValue" value="true"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="package1-Class2-class3_2" name="class3_2" visibility="private" type="package1-Class3" association="package1-Association2"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Class" xmi:id="package1-Class3" name="Class3" visibility="private">
+ <generalization xmi:type="uml:Generalization" xmi:id="package1-Class3-_generalization.0" general="package1-Class1" specific="package1-Class3"/>
+ <generalization xmi:type="uml:Generalization" xmi:id="package1-Class3-_generalization.1" general="package1-Class2" specific="package1-Class3"/>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="package1-Class3-attribute3" name="attribute3" visibility="package">
+ <type xmi:type="uml:PrimitiveType" href="http://schema.omg.org/spec/UML/2.1.1/uml.xml#String"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="package1-Class3-attribute3-_upperValue" value="*"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="package1-Class3-attribute3-_lowerValue"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="package1-Class3-class1" name="class1" visibility="public" type="package1-Class1" aggregation="shared" association="package1-Association1">
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="package1-Class3-class1-_upperValue" value="*"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="package1-Class3-class1-_lowerValue"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="package1-Class3-class2" name="class2" visibility="protected" type="package1-Class2" aggregation="composite" association="package1-Association2">
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="package1-Class3-class2-_upperValue" value="*"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="package1-Class3-class3" name="class3" visibility="package" type="package1-Class3" association="package1-_packagedElement.3">
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="package1-Class3-class3-_upperValue" value="3"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="package1-Class3-class3-_lowerValue" value="2"/>
+ </ownedAttribute>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Association" xmi:id="package1-_packagedElement.3" memberEnd="package1-_packagedElement.3-_ownedEnd.0 package1-Class3-class3">
+ <ownedEnd xmi:type="uml:Property" xmi:id="package1-_packagedElement.3-_ownedEnd.0" type="package1-Class3" owningAssociation="package1-_packagedElement.3" association="package1-_packagedElement.3">
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="package1-_packagedElement.3-_ownedEnd.0-_lowerValue"/>
+ </ownedEnd>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Association" xmi:id="package1-Association2" name="Association2" memberEnd="package1-Class3-class2 package1-Class2-class3_2"/>
+ <packagedElement xmi:type="uml:Association" xmi:id="package1-Association1" name="Association1" memberEnd="package1-Class3-class1 package1-Class1-class3_1"/>
+ </packagedElement>
+</uml:Model>

Back to the top