Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptessier2013-02-05 11:30:34 -0500
committerptessier2013-02-05 11:30:34 -0500
commit65ef02fbc83823bab90214cf11391a61bb9e2d7f (patch)
treeaf23bb185ac8df11c1c5aaadb3d172a55af9d8a2 /tests/recipes/plugins
parentec7575a39a4b2ef934c2500ac97ed2c7359fae4d (diff)
downloadorg.eclipse.papyrus-65ef02fbc83823bab90214cf11391a61bb9e2d7f.tar.gz
org.eclipse.papyrus-65ef02fbc83823bab90214cf11391a61bb9e2d7f.tar.xz
org.eclipse.papyrus-65ef02fbc83823bab90214cf11391a61bb9e2d7f.zip
399249: [OCL for Papyrus]The editing pop up for a Constraint in a UML Class Diagram should support editing OCL
https://bugs.eclipse.org/bugs/show_bug.cgi?id=399249
Diffstat (limited to 'tests/recipes/plugins')
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstances.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstances.notation82
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstances.uml17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstancesOnProfiledModel.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstancesOnProfiledModel.notation90
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstancesOnProfiledModel.uml86
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditOperationPreCondition.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditOperationPreCondition.notation58
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditOperationPreCondition.uml17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPostConditionOperation.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPostConditionOperation.notation52
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPostConditionOperation.uml17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPropertyConstraint.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPropertyConstraint.notation52
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPropertyConstraint.uml21
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/SimpleConstraintOnClass.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/SimpleConstraintOnClass.notation58
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/SimpleConstraintOnClass.uml15
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editBodyCondtionOperation.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editBodyCondtionOperation.notation52
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editBodyCondtionOperation.uml17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editPropertyOfstereotype.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editPropertyOfstereotype.notation60
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editPropertyOfstereotype.uml84
24 files changed, 914 insertions, 0 deletions
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstances.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstances.di
new file mode 100644
index 00000000000..17c492304ab
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstances.di
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="ASCII"?>
+<di:SashWindowsMngr 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/sashdi">
+ <pageList>
+ <availablePage>
+ <emfPageIdentifier href="AllInstances.notation#_zJQboG-tEeKVHZQA5NPj5A"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="AllInstances.notation#_zJQboG-tEeKVHZQA5NPj5A"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstances.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstances.notation
new file mode 100644
index 00000000000..10250c5b835
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstances.notation
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_zJQboG-tEeKVHZQA5NPj5A" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_zhqUkW-tEeKVHZQA5NPj5A" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_zhqUk2-tEeKVHZQA5NPj5A" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_zhqUlG-tEeKVHZQA5NPj5A" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zhqUo2-tEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zhqUpG-tEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_zhqUlW-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_zhqUlm-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_zhqUl2-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zhqUmG-tEeKVHZQA5NPj5A"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_zhqUmW-tEeKVHZQA5NPj5A" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zhqUpW-tEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zhqUpm-tEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_zhqUmm-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_zhqUm2-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_zhqUnG-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zhqUnW-tEeKVHZQA5NPj5A"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_zhqUnm-tEeKVHZQA5NPj5A" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zhqUp2-tEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zhqUqG-tEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_zhqUn2-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_zhqUoG-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_zhqUoW-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zhqUom-tEeKVHZQA5NPj5A"/>
+ </children>
+ <element xmi:type="uml:Class" href="AllInstances.uml#_zhqUkG-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zhqUkm-tEeKVHZQA5NPj5A" x="450" y="210"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_1mXXQW-tEeKVHZQA5NPj5A" type="2001">
+ <children xmi:type="notation:DecorationNode" xmi:id="_1mXXQ2-tEeKVHZQA5NPj5A" type="5002"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_1mXXRG-tEeKVHZQA5NPj5A" type="7001">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_1mXXSW-tEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_1mXXSm-tEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_1mXXRW-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_1mXXRm-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_1mXXR2-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1mXXSG-tEeKVHZQA5NPj5A"/>
+ </children>
+ <element xmi:type="uml:InstanceSpecification" href="AllInstances.uml#_1mXXQG-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1mXXQm-tEeKVHZQA5NPj5A" x="278" y="347"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_26IFMW-tEeKVHZQA5NPj5A" type="2001">
+ <children xmi:type="notation:DecorationNode" xmi:id="_26IFM2-tEeKVHZQA5NPj5A" type="5002"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_26IFNG-tEeKVHZQA5NPj5A" type="7001">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_26IFOW-tEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_26IFOm-tEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_26IFNW-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_26IFNm-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_26IFN2-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_26IFOG-tEeKVHZQA5NPj5A"/>
+ </children>
+ <element xmi:type="uml:InstanceSpecification" href="AllInstances.uml#_26IFMG-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_26IFMm-tEeKVHZQA5NPj5A" x="690" y="350"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="__QX-cm-tEeKVHZQA5NPj5A" type="2011">
+ <children xmi:type="notation:DecorationNode" xmi:id="__QX-dG-tEeKVHZQA5NPj5A" type="5037"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="__QX-dW-tEeKVHZQA5NPj5A" type="5159"/>
+ <element xmi:type="uml:Constraint" href="AllInstances.uml#__QX-cG-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="__QX-c2-tEeKVHZQA5NPj5A" x="790" y="200" width="256" height="101"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_I_CcIW-uEeKVHZQA5NPj5A" type="2012">
+ <children xmi:type="notation:DecorationNode" xmi:id="_I_CcI2-uEeKVHZQA5NPj5A" type="5038"/>
+ <element xmi:type="uml:Comment" href="AllInstances.uml#_I_CcIG-uEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_I_CcIm-uEeKVHZQA5NPj5A" x="468" y="46"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_zJQboW-tEeKVHZQA5NPj5A"/>
+ <element xmi:type="uml:Model" href="AllInstances.uml#_ub1qQG-tEeKVHZQA5NPj5A"/>
+ <edges xmi:type="notation:Connector" xmi:id="_BYN0sG-uEeKVHZQA5NPj5A" type="4014" source="__QX-cm-tEeKVHZQA5NPj5A" target="_zhqUkW-tEeKVHZQA5NPj5A">
+ <styles xmi:type="notation:FontStyle" xmi:id="_BYN0sW-uEeKVHZQA5NPj5A"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_BYN0sm-uEeKVHZQA5NPj5A" points="[-61, -6, 290, -7]$[-301, -6, 50, -7]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_BYN0s2-uEeKVHZQA5NPj5A" id="(0.17134831460674158,0.46825396825396826)"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstances.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstances.uml
new file mode 100644
index 00000000000..cefab7bb420
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstances.uml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_ub1qQG-tEeKVHZQA5NPj5A" name="allInstances">
+ <ownedComment xmi:id="_I_CcIG-uEeKVHZQA5NPj5A">
+ <body>try to write:&#xD;
+InstanceSpecification.allInstances()</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_zhqUkG-tEeKVHZQA5NPj5A" name="Class1">
+ <ownedRule xmi:id="__QX-cG-tEeKVHZQA5NPj5A" name="Constraint1" constrainedElement="_zhqUkG-tEeKVHZQA5NPj5A">
+ <specification xmi:type="uml:OpaqueExpression" xmi:id="_EjdosG-uEeKVHZQA5NPj5A">
+ <language>OCL</language>
+ <body>self</body>
+ </specification>
+ </ownedRule>
+ </packagedElement>
+ <packagedElement xmi:type="uml:InstanceSpecification" xmi:id="_1mXXQG-tEeKVHZQA5NPj5A" name="a" classifier="_zhqUkG-tEeKVHZQA5NPj5A"/>
+ <packagedElement xmi:type="uml:InstanceSpecification" xmi:id="_26IFMG-tEeKVHZQA5NPj5A" name="b" classifier="_zhqUkG-tEeKVHZQA5NPj5A"/>
+</uml:Model>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstancesOnProfiledModel.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstancesOnProfiledModel.di
new file mode 100644
index 00000000000..beb637baf17
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstancesOnProfiledModel.di
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="ASCII"?>
+<di:SashWindowsMngr 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/sashdi">
+ <pageList>
+ <availablePage>
+ <emfPageIdentifier href="AllInstancesOnProfiledModel.notation#_D2K6UG-tEeKVHZQA5NPj5A"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="AllInstancesOnProfiledModel.notation#_D2K6UG-tEeKVHZQA5NPj5A"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstancesOnProfiledModel.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstancesOnProfiledModel.notation
new file mode 100644
index 00000000000..ed2332211a2
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstancesOnProfiledModel.notation
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_D2K6UG-tEeKVHZQA5NPj5A" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_EaLmUG-tEeKVHZQA5NPj5A" type="2008">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fSXJsG-tEeKVHZQA5NPj5A" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fSXJsW-tEeKVHZQA5NPj5A" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fSXJsm-tEeKVHZQA5NPj5A" key="StereotypeList" value="SysML::Requirements::Requirement"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fSXJs2-tEeKVHZQA5NPj5A" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fSXJtG-tEeKVHZQA5NPj5A" key="PropStereoDisplay" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fSXJtW-tEeKVHZQA5NPj5A" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_EaLmUm-tEeKVHZQA5NPj5A" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EaLmU2-tEeKVHZQA5NPj5A" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EaLmYm-tEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EaLmY2-tEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EaLmVG-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EaLmVW-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EaLmVm-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EaLmV2-tEeKVHZQA5NPj5A"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EaLmWG-tEeKVHZQA5NPj5A" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EaLmZG-tEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EaLmZW-tEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EaLmWW-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EaLmWm-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EaLmW2-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EaLmXG-tEeKVHZQA5NPj5A"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EaLmXW-tEeKVHZQA5NPj5A" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EaLmZm-tEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EaLmZ2-tEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EaLmXm-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EaLmX2-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EaLmYG-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EaLmYW-tEeKVHZQA5NPj5A"/>
+ </children>
+ <element xmi:type="uml:Class" href="AllInstancesOnProfiledModel.uml#_EaB1UG-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EaLmUW-tEeKVHZQA5NPj5A" x="295" y="150" width="211" height="101"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_Fa5ccW-tEeKVHZQA5NPj5A" type="2001">
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fa5cc2-tEeKVHZQA5NPj5A" type="5002"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_Fa5cdG-tEeKVHZQA5NPj5A" type="7001">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_FbCmYG-tEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_FbCmYW-tEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_Fa5cdW-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_Fa5cdm-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_Fa5cd2-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Fa5ceG-tEeKVHZQA5NPj5A"/>
+ </children>
+ <element xmi:type="uml:InstanceSpecification" href="AllInstancesOnProfiledModel.uml#_Fa5ccG-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Fa5ccm-tEeKVHZQA5NPj5A" x="364" y="429"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_F0CVMG-tEeKVHZQA5NPj5A" type="2001">
+ <children xmi:type="notation:DecorationNode" xmi:id="_F0CVMm-tEeKVHZQA5NPj5A" type="5002"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_F0CVM2-tEeKVHZQA5NPj5A" type="7001">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F0CVOG-tEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_F0CVOW-tEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_F0CVNG-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_F0CVNW-tEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_F0CVNm-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_F0CVN2-tEeKVHZQA5NPj5A"/>
+ </children>
+ <element xmi:type="uml:InstanceSpecification" href="AllInstancesOnProfiledModel.uml#_Fz5LQG-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_F0CVMW-tEeKVHZQA5NPj5A" x="747" y="416"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_LokfoG-tEeKVHZQA5NPj5A" type="2011">
+ <children xmi:type="notation:DecorationNode" xmi:id="_Lokfom-tEeKVHZQA5NPj5A" type="5037"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Lokfo2-tEeKVHZQA5NPj5A" type="5159"/>
+ <element xmi:type="uml:Constraint" href="AllInstancesOnProfiledModel.uml#_LobVsG-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LokfoW-tEeKVHZQA5NPj5A" x="565" y="140" width="336" height="81"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_jMT2wW-tEeKVHZQA5NPj5A" type="2012">
+ <children xmi:type="notation:DecorationNode" xmi:id="_jMT2w2-tEeKVHZQA5NPj5A" type="5038"/>
+ <element xmi:type="uml:Comment" href="AllInstancesOnProfiledModel.uml#_jMT2wG-tEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jMT2wm-tEeKVHZQA5NPj5A" x="355" y="25" width="546" height="96"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_D2K6UW-tEeKVHZQA5NPj5A"/>
+ <element xmi:type="uml:Model" href="AllInstancesOnProfiledModel.uml#__du6cG-sEeKVHZQA5NPj5A"/>
+ <edges xmi:type="notation:Connector" xmi:id="_O-9zsG-tEeKVHZQA5NPj5A" type="4014" source="_LokfoG-tEeKVHZQA5NPj5A" target="_EaLmUG-tEeKVHZQA5NPj5A">
+ <styles xmi:type="notation:FontStyle" xmi:id="_O-9zsW-tEeKVHZQA5NPj5A"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_O-9zsm-tEeKVHZQA5NPj5A" points="[-42, -7, 275, 0]$[-281, -13, 36, -6]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_O_HksG-tEeKVHZQA5NPj5A" id="(0.19444444444444445,0.4485294117647059)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_O_HksW-tEeKVHZQA5NPj5A" id="(0.8293838862559242,0.4049586776859504)"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstancesOnProfiledModel.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstancesOnProfiledModel.uml
new file mode 100644
index 00000000000..cc5d54bfbba
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/AllInstancesOnProfiledModel.uml
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/0.7.0/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/0.7.0/SysML/Requirements http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements">
+ <uml:Model xmi:id="__du6cG-sEeKVHZQA5NPj5A" name="allinstancesOnProfiledModel">
+ <ownedComment xmi:id="_jMT2wG-tEeKVHZQA5NPj5A">
+ <body>try to write &#xD;
+InstanceSpecification.allInstances()</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_EaB1UG-tEeKVHZQA5NPj5A" name="Class1">
+ <ownedRule xmi:id="_LobVsG-tEeKVHZQA5NPj5A" name="Constraint1" constrainedElement="_EaB1UG-tEeKVHZQA5NPj5A">
+ <specification xmi:type="uml:OpaqueExpression" xmi:id="_l6_DgG-tEeKVHZQA5NPj5A">
+ <language>OCL</language>
+ <body>self</body>
+ </specification>
+ </ownedRule>
+ </packagedElement>
+ <packagedElement xmi:type="uml:InstanceSpecification" xmi:id="_Fa5ccG-tEeKVHZQA5NPj5A" name="a" classifier="_EaB1UG-tEeKVHZQA5NPj5A"/>
+ <packagedElement xmi:type="uml:InstanceSpecification" xmi:id="_Fz5LQG-tEeKVHZQA5NPj5A" name="b" classifier="_EaB1UG-tEeKVHZQA5NPj5A"/>
+ <profileApplication xmi:id="_am4SAG-tEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_anLM8G-tEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_TZ_nULU5EduiKqCzJMWbGw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_anLM8W-tEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_aneH4G-tEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_Gx8MgLX7EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_aneH4W-tEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_anxp4G-tEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_fSw28LX7EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_anxp4W-tEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_aoEk0G-tEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_rpx28LX7EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_aoEk0W-tEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_aoXfwG-tEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_5WYJ0LX7EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_aoXfwW-tEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_aohQwG-tEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_C2zXMLX8EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_aohQwW-tEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_ao0LsG-tEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_NxdG4LX8EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_ao0LsW-tEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_apHGoG-tEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_apHGoW-tEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_apaBkG-tEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_meOioLX8EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_apaBkW-tEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_apjykG-tEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_nAF5kLX8EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_apjykW-tEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_ap2tgG-tEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_neZmMLX8EduFmqQsrNB9lw"/>
+ </profileApplication>
+ </uml:Model>
+ <Requirements:Requirement xmi:id="_fSN_wG-tEeKVHZQA5NPj5A" base_Class="_EaB1UG-tEeKVHZQA5NPj5A"/>
+</xmi:XMI>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditOperationPreCondition.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditOperationPreCondition.di
new file mode 100644
index 00000000000..9178184448a
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditOperationPreCondition.di
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="ASCII"?>
+<di:SashWindowsMngr 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/sashdi">
+ <pageList>
+ <availablePage>
+ <emfPageIdentifier href="EditOperationPreCondition.notation#_s6JHoG-lEeKfG-vGEZugxw"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="EditOperationPreCondition.notation#_s6JHoG-lEeKfG-vGEZugxw"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditOperationPreCondition.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditOperationPreCondition.notation
new file mode 100644
index 00000000000..1435c8ec5eb
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditOperationPreCondition.notation
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_s6JHoG-lEeKfG-vGEZugxw" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_tS17gW-lEeKfG-vGEZugxw" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_tS17g2-lEeKfG-vGEZugxw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_tS_sgG-lEeKfG-vGEZugxw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_tS_sj2-lEeKfG-vGEZugxw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tS_skG-lEeKfG-vGEZugxw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_tS_sgW-lEeKfG-vGEZugxw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_tS_sgm-lEeKfG-vGEZugxw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_tS_sg2-lEeKfG-vGEZugxw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_tS_shG-lEeKfG-vGEZugxw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_tS_shW-lEeKfG-vGEZugxw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_tS_skW-lEeKfG-vGEZugxw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tS_skm-lEeKfG-vGEZugxw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:Shape" xmi:id="_xXW50W-lEeKfG-vGEZugxw" type="3013">
+ <element xmi:type="uml:Operation" href="EditOperationPreCondition.uml#_xXW50G-lEeKfG-vGEZugxw"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_xXW50m-lEeKfG-vGEZugxw"/>
+ </children>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_tS_shm-lEeKfG-vGEZugxw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_tS_sh2-lEeKfG-vGEZugxw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_tS_siG-lEeKfG-vGEZugxw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_tS_siW-lEeKfG-vGEZugxw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_tS_sim-lEeKfG-vGEZugxw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_tS_sk2-lEeKfG-vGEZugxw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tS_slG-lEeKfG-vGEZugxw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_tS_si2-lEeKfG-vGEZugxw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_tS_sjG-lEeKfG-vGEZugxw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_tS_sjW-lEeKfG-vGEZugxw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_tS_sjm-lEeKfG-vGEZugxw"/>
+ </children>
+ <element xmi:type="uml:Class" href="EditOperationPreCondition.uml#_tS17gG-lEeKfG-vGEZugxw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_tS17gm-lEeKfG-vGEZugxw" x="459" y="146"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_1QQeAG-lEeKfG-vGEZugxw" type="2012">
+ <children xmi:type="notation:DecorationNode" xmi:id="_1QQeAm-lEeKfG-vGEZugxw" type="5038"/>
+ <element xmi:type="uml:Comment" href="EditOperationPreCondition.uml#_1QGtAG-lEeKfG-vGEZugxw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1QQeAW-lEeKfG-vGEZugxw" x="465" y="85" width="366" height="36"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_sL-1kG-vEeKVHZQA5NPj5A" type="2011">
+ <children xmi:type="notation:DecorationNode" xmi:id="_sL-1km-vEeKVHZQA5NPj5A" type="5037"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_sL-1k2-vEeKVHZQA5NPj5A" type="5159"/>
+ <element xmi:type="uml:Constraint" href="EditOperationPreCondition.uml#_sL1EkG-vEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_sL-1kW-vEeKVHZQA5NPj5A" x="705" y="150"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_s6JHoW-lEeKfG-vGEZugxw"/>
+ <element xmi:type="uml:Model" href="EditOperationPreCondition.uml#_ceSZMG-lEeKfG-vGEZugxw"/>
+ <edges xmi:type="notation:Connector" xmi:id="_uSoZAG-vEeKVHZQA5NPj5A" type="4014" source="_sL-1kG-vEeKVHZQA5NPj5A" target="_tS17gW-lEeKfG-vGEZugxw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_uSoZAW-vEeKVHZQA5NPj5A"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_uSoZAm-vEeKVHZQA5NPj5A" points="[-20, 3, 191, -11]$[-266, -30, -55, -44]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uSyKAG-vEeKVHZQA5NPj5A" id="(0.19607843137254902,0.5333333333333333)"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditOperationPreCondition.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditOperationPreCondition.uml
new file mode 100644
index 00000000000..ea3e6bab3eb
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditOperationPreCondition.uml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_ceSZMG-lEeKfG-vGEZugxw" name="EditOperationPreCondition">
+ <ownedComment xmi:id="_1QGtAG-lEeKfG-vGEZugxw">
+ <body>edit precondition of an operation:&#xD;
+self.oclType().name='toto'</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_tS17gG-lEeKfG-vGEZugxw" name="Class1">
+ <ownedOperation xmi:id="_xXW50G-lEeKfG-vGEZugxw" name="Operation1" precondition="_sL1EkG-vEeKVHZQA5NPj5A">
+ <ownedRule xmi:id="_sL1EkG-vEeKVHZQA5NPj5A" name="Constraint1" constrainedElement="_tS17gG-lEeKfG-vGEZugxw">
+ <specification xmi:type="uml:OpaqueExpression" xmi:id="_ytLRsG-vEeKVHZQA5NPj5A">
+ <language>OCL</language>
+ <body>self.oclType().name='toto'</body>
+ </specification>
+ </ownedRule>
+ </ownedOperation>
+ </packagedElement>
+</uml:Model>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPostConditionOperation.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPostConditionOperation.di
new file mode 100644
index 00000000000..fceada7d4c6
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPostConditionOperation.di
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="ASCII"?>
+<di:SashWindowsMngr 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/sashdi">
+ <pageList>
+ <availablePage>
+ <emfPageIdentifier href="EditPostConditionOperation.notation#_9o4KQG-vEeKVHZQA5NPj5A"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="EditPostConditionOperation.notation#_9o4KQG-vEeKVHZQA5NPj5A"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPostConditionOperation.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPostConditionOperation.notation
new file mode 100644
index 00000000000..4f41b7503f3
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPostConditionOperation.notation
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_9o4KQG-vEeKVHZQA5NPj5A" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_-ArmQW-vEeKVHZQA5NPj5A" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_-ArmQ2-vEeKVHZQA5NPj5A" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_-ArmRG-vEeKVHZQA5NPj5A" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-ArmU2-vEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-ArmVG-vEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_-ArmRW-vEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_-ArmRm-vEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_-ArmR2-vEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-ArmSG-vEeKVHZQA5NPj5A"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_-ArmSW-vEeKVHZQA5NPj5A" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-A0wMG-vEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-A0wMW-vEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:Shape" xmi:id="_-stl0W-vEeKVHZQA5NPj5A" type="3013">
+ <element xmi:type="uml:Operation" href="EditPostConditionOperation.uml#_-stl0G-vEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_-stl0m-vEeKVHZQA5NPj5A"/>
+ </children>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_-ArmSm-vEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_-ArmS2-vEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_-ArmTG-vEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-ArmTW-vEeKVHZQA5NPj5A"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_-ArmTm-vEeKVHZQA5NPj5A" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-A0wMm-vEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-A0wM2-vEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_-ArmT2-vEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_-ArmUG-vEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_-ArmUW-vEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-ArmUm-vEeKVHZQA5NPj5A"/>
+ </children>
+ <element xmi:type="uml:Class" href="EditPostConditionOperation.uml#_-ArmQG-vEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-ArmQm-vEeKVHZQA5NPj5A" x="490" y="58"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="__UcUMm-vEeKVHZQA5NPj5A" type="2011">
+ <children xmi:type="notation:DecorationNode" xmi:id="__UcUNG-vEeKVHZQA5NPj5A" type="5037"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="__UcUNW-vEeKVHZQA5NPj5A" type="5159"/>
+ <element xmi:type="uml:Constraint" href="EditPostConditionOperation.uml#__UcUMG-vEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="__UcUM2-vEeKVHZQA5NPj5A" x="775" y="65" width="216"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_SCnDgG-wEeKVHZQA5NPj5A" type="2012">
+ <children xmi:type="notation:DecorationNode" xmi:id="_SCnDgm-wEeKVHZQA5NPj5A" type="5038"/>
+ <element xmi:type="uml:Comment" href="EditPostConditionOperation.uml#_SCdSgG-wEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SCnDgW-wEeKVHZQA5NPj5A" x="485" y="200" width="476" height="121"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_9o4KQW-vEeKVHZQA5NPj5A"/>
+ <element xmi:type="uml:Model" href="EditPostConditionOperation.uml#_Js46QG-mEeKfG-vGEZugxw"/>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPostConditionOperation.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPostConditionOperation.uml
new file mode 100644
index 00000000000..346b3022272
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPostConditionOperation.uml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_Js46QG-mEeKfG-vGEZugxw" name="EditPostCondition">
+ <ownedComment xmi:id="_SCdSgG-wEeKVHZQA5NPj5A">
+ <body>editPostCondtion:&#xD;
+self.oclType().name='toto'</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_-ArmQG-vEeKVHZQA5NPj5A" name="Class1">
+ <ownedOperation xmi:id="_-stl0G-vEeKVHZQA5NPj5A" name="Operation1" postcondition="__UcUMG-vEeKVHZQA5NPj5A">
+ <ownedRule xmi:id="__UcUMG-vEeKVHZQA5NPj5A" name="Constraint1" constrainedElement="_-stl0G-vEeKVHZQA5NPj5A">
+ <specification xmi:type="uml:OpaqueExpression" xmi:id="_FfBAEG-wEeKVHZQA5NPj5A">
+ <language>OCL</language>
+ <body>self.oclType().name='toto'</body>
+ </specification>
+ </ownedRule>
+ </ownedOperation>
+ </packagedElement>
+</uml:Model>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPropertyConstraint.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPropertyConstraint.di
new file mode 100644
index 00000000000..c687ba1d4bb
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPropertyConstraint.di
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="ASCII"?>
+<di:SashWindowsMngr 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/sashdi">
+ <pageList>
+ <availablePage>
+ <emfPageIdentifier href="EditPropertyConstraint.notation#_AzX74G-mEeKfG-vGEZugxw"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="EditPropertyConstraint.notation#_AzX74G-mEeKfG-vGEZugxw"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPropertyConstraint.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPropertyConstraint.notation
new file mode 100644
index 00000000000..8914e2f1634
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPropertyConstraint.notation
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_AzX74G-mEeKfG-vGEZugxw" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_BF0WwG-mEeKfG-vGEZugxw" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_BF0Wwm-mEeKfG-vGEZugxw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BF0Ww2-mEeKfG-vGEZugxw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BF0W0m-mEeKfG-vGEZugxw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BF0W02-mEeKfG-vGEZugxw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:Shape" xmi:id="_CEwEMW-mEeKfG-vGEZugxw" type="3012">
+ <element xmi:type="uml:Property" href="EditPropertyConstraint.uml#_CEwEMG-mEeKfG-vGEZugxw"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_CEwEMm-mEeKfG-vGEZugxw"/>
+ </children>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BF0WxG-mEeKfG-vGEZugxw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BF0WxW-mEeKfG-vGEZugxw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BF0Wxm-mEeKfG-vGEZugxw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BF0Wx2-mEeKfG-vGEZugxw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BF0WyG-mEeKfG-vGEZugxw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BF0W1G-mEeKfG-vGEZugxw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BF0W1W-mEeKfG-vGEZugxw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BF0WyW-mEeKfG-vGEZugxw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BF0Wym-mEeKfG-vGEZugxw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BF0Wy2-mEeKfG-vGEZugxw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BF0WzG-mEeKfG-vGEZugxw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BF0WzW-mEeKfG-vGEZugxw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BF0W1m-mEeKfG-vGEZugxw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BF0W12-mEeKfG-vGEZugxw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BF0Wzm-mEeKfG-vGEZugxw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BF0Wz2-mEeKfG-vGEZugxw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BF0W0G-mEeKfG-vGEZugxw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BF0W0W-mEeKfG-vGEZugxw"/>
+ </children>
+ <element xmi:type="uml:Class" href="EditPropertyConstraint.uml#_BFrM0G-mEeKfG-vGEZugxw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BF0WwW-mEeKfG-vGEZugxw" x="338" y="184"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_C3M00W-mEeKfG-vGEZugxw" type="2012">
+ <children xmi:type="notation:DecorationNode" xmi:id="_C3M002-mEeKfG-vGEZugxw" type="5038"/>
+ <element xmi:type="uml:Comment" href="EditPropertyConstraint.uml#_C3M00G-mEeKfG-vGEZugxw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_C3M00m-mEeKfG-vGEZugxw" x="335" y="45" width="311" height="101"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_CUsA0G-qEeKVHZQA5NPj5A" type="2011">
+ <children xmi:type="notation:DecorationNode" xmi:id="_CUsA0m-qEeKVHZQA5NPj5A" type="5037"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_CUsA02-qEeKVHZQA5NPj5A" type="5159"/>
+ <element xmi:type="uml:Constraint" href="EditPropertyConstraint.uml#_CUiP0G-qEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CUsA0W-qEeKVHZQA5NPj5A" x="650" y="200" width="396"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_AzX74W-mEeKfG-vGEZugxw"/>
+ <element xmi:type="uml:Model" href="EditPropertyConstraint.uml#_8eDhcG-lEeKfG-vGEZugxw"/>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPropertyConstraint.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPropertyConstraint.uml
new file mode 100644
index 00000000000..cf870b6e63b
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/EditPropertyConstraint.uml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_8eDhcG-lEeKfG-vGEZugxw" name="editPropertyConstraint">
+ <ownedComment xmi:id="_C3M00G-mEeKfG-vGEZugxw">
+ <body>edit constraint on property&#xD;
+self.myProperty1.oclAsType(Property).name='Toto'</body>
+ </ownedComment>
+ <packageImport xmi:id="_9PUCcG-pEeKVHZQA5NPj5A">
+ <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
+ </packageImport>
+ <packagedElement xmi:type="uml:Class" xmi:id="_BFrM0G-mEeKfG-vGEZugxw" name="Class1">
+ <ownedRule xmi:id="_CUiP0G-qEeKVHZQA5NPj5A" name="Constraint1" constrainedElement="_BFrM0G-mEeKfG-vGEZugxw">
+ <specification xmi:type="uml:OpaqueExpression" xmi:id="_VYr2MG-qEeKVHZQA5NPj5A">
+ <language>OCL</language>
+ <body>self.myProperty1.oclAsType(Property).name='Toto'</body>
+ </specification>
+ </ownedRule>
+ <ownedAttribute xmi:id="_CEwEMG-mEeKfG-vGEZugxw" name="myProperty1">
+ <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer"/>
+ </ownedAttribute>
+ </packagedElement>
+</uml:Model>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/SimpleConstraintOnClass.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/SimpleConstraintOnClass.di
new file mode 100644
index 00000000000..a7034a419e5
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/SimpleConstraintOnClass.di
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="ASCII"?>
+<di:SashWindowsMngr 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/sashdi">
+ <pageList>
+ <availablePage>
+ <emfPageIdentifier href="SimpleConstraintOnClass.notation#_jR9h4G-kEeKfG-vGEZugxw"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="SimpleConstraintOnClass.notation#_jR9h4G-kEeKfG-vGEZugxw"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/SimpleConstraintOnClass.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/SimpleConstraintOnClass.notation
new file mode 100644
index 00000000000..c3f0c71d26b
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/SimpleConstraintOnClass.notation
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_jR9h4G-kEeKfG-vGEZugxw" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_jtMFUG-kEeKfG-vGEZugxw" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_jtMFUm-kEeKfG-vGEZugxw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_jtMFU2-kEeKfG-vGEZugxw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jtMFYm-kEeKfG-vGEZugxw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jtMFY2-kEeKfG-vGEZugxw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:Shape" xmi:id="_GVJQcG-oEeKVHZQA5NPj5A" type="3012">
+ <element xmi:type="uml:Property" href="SimpleConstraintOnClass.uml#_GUtLkG-oEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_GVJQcW-oEeKVHZQA5NPj5A"/>
+ </children>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_jtMFVG-kEeKfG-vGEZugxw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_jtMFVW-kEeKfG-vGEZugxw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_jtMFVm-kEeKfG-vGEZugxw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jtMFV2-kEeKfG-vGEZugxw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_jtMFWG-kEeKfG-vGEZugxw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jtMFZG-kEeKfG-vGEZugxw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jtMFZW-kEeKfG-vGEZugxw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_jtMFWW-kEeKfG-vGEZugxw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_jtMFWm-kEeKfG-vGEZugxw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_jtMFW2-kEeKfG-vGEZugxw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jtMFXG-kEeKfG-vGEZugxw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_jtMFXW-kEeKfG-vGEZugxw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_jtMFZm-kEeKfG-vGEZugxw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_jtV2UG-kEeKfG-vGEZugxw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_jtMFXm-kEeKfG-vGEZugxw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_jtMFX2-kEeKfG-vGEZugxw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_jtMFYG-kEeKfG-vGEZugxw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jtMFYW-kEeKfG-vGEZugxw"/>
+ </children>
+ <element xmi:type="uml:Class" href="SimpleConstraintOnClass.uml#_jqzfsG-kEeKfG-vGEZugxw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jtMFUW-kEeKfG-vGEZugxw" x="373" y="245"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_ksHywG-kEeKfG-vGEZugxw" type="2011">
+ <children xmi:type="notation:DecorationNode" xmi:id="_ksHywm-kEeKfG-vGEZugxw" type="5037"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_ksHyw2-kEeKfG-vGEZugxw" type="5159"/>
+ <element xmi:type="uml:Constraint" href="SimpleConstraintOnClass.uml#_kr-BwG-kEeKfG-vGEZugxw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ksHywW-kEeKfG-vGEZugxw" x="680" y="245" width="261" height="71"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_4PS3cG-kEeKfG-vGEZugxw" type="2012">
+ <children xmi:type="notation:DecorationNode" xmi:id="_4PS3cm-kEeKfG-vGEZugxw" type="5038"/>
+ <element xmi:type="uml:Comment" href="SimpleConstraintOnClass.uml#_4OZfkG-kEeKfG-vGEZugxw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4PS3cW-kEeKfG-vGEZugxw" x="540" y="140" width="226" height="71"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_jR9h4W-kEeKfG-vGEZugxw"/>
+ <element xmi:type="uml:Model" href="SimpleConstraintOnClass.uml#_iEwH4G-kEeKfG-vGEZugxw"/>
+ <edges xmi:type="notation:Connector" xmi:id="_x3Vk8G-mEeKVHZQA5NPj5A" type="4014" source="_ksHywG-kEeKfG-vGEZugxw" target="_jtMFUG-kEeKfG-vGEZugxw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_x3Vk8W-mEeKVHZQA5NPj5A"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_x3Vk8m-mEeKVHZQA5NPj5A" points="[-40, -6, 117, -11]$[-207, -22, -50, -27]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_x37a0G-mEeKVHZQA5NPj5A" id="(0.13513513513513514,0.6338028169014085)"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/SimpleConstraintOnClass.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/SimpleConstraintOnClass.uml
new file mode 100644
index 00000000000..dba14d14bbe
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/SimpleConstraintOnClass.uml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_iEwH4G-kEeKfG-vGEZugxw" name="model">
+ <ownedComment xmi:id="_4OZfkG-kEeKfG-vGEZugxw">
+ <body>self.oclAsType(Class).name='Toto'</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_jqzfsG-kEeKfG-vGEZugxw" name="Class1">
+ <ownedRule xmi:id="_kr-BwG-kEeKfG-vGEZugxw" name="Constraint1" constrainedElement="_jqzfsG-kEeKfG-vGEZugxw">
+ <specification xmi:type="uml:OpaqueExpression" xmi:id="_7SfQwG-mEeKVHZQA5NPj5A">
+ <language>OCL</language>
+ <body>self.oclAsType(Class).name='Toto'</body>
+ </specification>
+ </ownedRule>
+ <ownedAttribute xmi:id="_GUtLkG-oEeKVHZQA5NPj5A" name="Property1"/>
+ </packagedElement>
+</uml:Model>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editBodyCondtionOperation.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editBodyCondtionOperation.di
new file mode 100644
index 00000000000..9cb48007db2
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editBodyCondtionOperation.di
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="ASCII"?>
+<di:SashWindowsMngr 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/sashdi">
+ <pageList>
+ <availablePage>
+ <emfPageIdentifier href="editBodyCondtionOperation.notation#_XcIX0G-uEeKVHZQA5NPj5A"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="editBodyCondtionOperation.notation#_XcIX0G-uEeKVHZQA5NPj5A"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editBodyCondtionOperation.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editBodyCondtionOperation.notation
new file mode 100644
index 00000000000..8feedb7a5f3
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editBodyCondtionOperation.notation
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_XcIX0G-uEeKVHZQA5NPj5A" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_X2nUYG-uEeKVHZQA5NPj5A" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_X2nUYm-uEeKVHZQA5NPj5A" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_X2nUY2-uEeKVHZQA5NPj5A" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_X2nUcm-uEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_X2nUc2-uEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_X2nUZG-uEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_X2nUZW-uEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_X2nUZm-uEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X2nUZ2-uEeKVHZQA5NPj5A"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_X2nUaG-uEeKVHZQA5NPj5A" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_X2nUdG-uEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_X2nUdW-uEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:Shape" xmi:id="_ZavZkG-uEeKVHZQA5NPj5A" type="3013">
+ <element xmi:type="uml:Operation" href="editBodyCondtionOperation.uml#_ZalokG-uEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_ZavZkW-uEeKVHZQA5NPj5A"/>
+ </children>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_X2nUaW-uEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_X2nUam-uEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_X2nUa2-uEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X2nUbG-uEeKVHZQA5NPj5A"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_X2nUbW-uEeKVHZQA5NPj5A" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_X2nUdm-uEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_X2nUd2-uEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_X2nUbm-uEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_X2nUb2-uEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_X2nUcG-uEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X2nUcW-uEeKVHZQA5NPj5A"/>
+ </children>
+ <element xmi:type="uml:Class" href="editBodyCondtionOperation.uml#_X2djYG-uEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X2nUYW-uEeKVHZQA5NPj5A" x="377" y="350"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_aupRcG-uEeKVHZQA5NPj5A" type="2011">
+ <children xmi:type="notation:DecorationNode" xmi:id="_aupRcm-uEeKVHZQA5NPj5A" type="5037"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_aupRc2-uEeKVHZQA5NPj5A" type="5159"/>
+ <element xmi:type="uml:Constraint" href="editBodyCondtionOperation.uml#_augHgG-uEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_aupRcW-uEeKVHZQA5NPj5A" x="720" y="355" width="206" height="81"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_08uu8G-uEeKVHZQA5NPj5A" type="2012">
+ <children xmi:type="notation:DecorationNode" xmi:id="_08uu8m-uEeKVHZQA5NPj5A" type="5038"/>
+ <element xmi:type="uml:Comment" href="editBodyCondtionOperation.uml#_08k98G-uEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_08uu8W-uEeKVHZQA5NPj5A" x="375" y="240" width="431" height="36"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_XcIX0W-uEeKVHZQA5NPj5A"/>
+ <element xmi:type="uml:Model" href="editBodyCondtionOperation.uml#_NGi9sG-mEeKfG-vGEZugxw"/>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editBodyCondtionOperation.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editBodyCondtionOperation.uml
new file mode 100644
index 00000000000..a7addaeccd2
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editBodyCondtionOperation.uml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_NGi9sG-mEeKfG-vGEZugxw" name="EditOperationBodyCondtion">
+ <ownedComment xmi:id="_08k98G-uEeKVHZQA5NPj5A">
+ <body>try to edit bodycondtion of operation:&#xD;
+self.oclType().name='toto'</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_X2djYG-uEeKVHZQA5NPj5A" name="Class1">
+ <ownedOperation xmi:id="_ZalokG-uEeKVHZQA5NPj5A" name="Operation1" bodyCondition="_augHgG-uEeKVHZQA5NPj5A">
+ <ownedRule xmi:id="_augHgG-uEeKVHZQA5NPj5A" name="Constraint1" constrainedElement="_ZalokG-uEeKVHZQA5NPj5A">
+ <specification xmi:type="uml:OpaqueExpression" xmi:id="_ruOYAG-uEeKVHZQA5NPj5A">
+ <language>OCL</language>
+ <body>self.oclType().name='toto'</body>
+ </specification>
+ </ownedRule>
+ </ownedOperation>
+ </packagedElement>
+</uml:Model>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editPropertyOfstereotype.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editPropertyOfstereotype.di
new file mode 100644
index 00000000000..3b1c70c4c62
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editPropertyOfstereotype.di
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="ASCII"?>
+<di:SashWindowsMngr 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/sashdi">
+ <pageList>
+ <availablePage>
+ <emfPageIdentifier href="editPropertyOfstereotype.notation#_um7AQG-qEeKVHZQA5NPj5A"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="editPropertyOfstereotype.notation#_um7AQG-qEeKVHZQA5NPj5A"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editPropertyOfstereotype.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editPropertyOfstereotype.notation
new file mode 100644
index 00000000000..2d3081c84ee
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editPropertyOfstereotype.notation
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_um7AQG-qEeKVHZQA5NPj5A" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_u_eDIW-qEeKVHZQA5NPj5A" type="2008">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_wgns0G-qEeKVHZQA5NPj5A" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_wgns0W-qEeKVHZQA5NPj5A" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_wgns0m-qEeKVHZQA5NPj5A" key="StereotypeList" value="SysML::Requirements::Requirement"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_wgns02-qEeKVHZQA5NPj5A" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_wgns1G-qEeKVHZQA5NPj5A" key="PropStereoDisplay" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_wgns1W-qEeKVHZQA5NPj5A" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_u_eDI2-qEeKVHZQA5NPj5A" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_u_eDJG-qEeKVHZQA5NPj5A" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_u_eDM2-qEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_u_eDNG-qEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_u_eDJW-qEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_u_eDJm-qEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_u_eDJ2-qEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_u_eDKG-qEeKVHZQA5NPj5A"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_u_eDKW-qEeKVHZQA5NPj5A" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_u_eDNW-qEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_u_eDNm-qEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_u_eDKm-qEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_u_eDK2-qEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_u_eDLG-qEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_u_eDLW-qEeKVHZQA5NPj5A"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_u_eDLm-qEeKVHZQA5NPj5A" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_u_eDN2-qEeKVHZQA5NPj5A" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_u_eDOG-qEeKVHZQA5NPj5A" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_u_eDL2-qEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_u_eDMG-qEeKVHZQA5NPj5A"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_u_eDMW-qEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_u_eDMm-qEeKVHZQA5NPj5A"/>
+ </children>
+ <element xmi:type="uml:Class" href="editPropertyOfstereotype.uml#_u_eDIG-qEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_u_eDIm-qEeKVHZQA5NPj5A" x="129" y="110"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_xFEdsG-qEeKVHZQA5NPj5A" type="2011">
+ <children xmi:type="notation:DecorationNode" xmi:id="_xFEdsm-qEeKVHZQA5NPj5A" type="5037"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_xFEds2-qEeKVHZQA5NPj5A" type="5159"/>
+ <element xmi:type="uml:Constraint" href="editPropertyOfstereotype.uml#_xE6ssG-qEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xFEdsW-qEeKVHZQA5NPj5A" x="534" y="135" width="337"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_s1l6oG-sEeKVHZQA5NPj5A" type="2012">
+ <children xmi:type="notation:DecorationNode" xmi:id="_s1l6om-sEeKVHZQA5NPj5A" type="5038"/>
+ <element xmi:type="uml:Comment" href="editPropertyOfstereotype.uml#_s1cJoG-sEeKVHZQA5NPj5A"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_s1l6oW-sEeKVHZQA5NPj5A" x="200" y="250" width="496" height="91"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_um7AQW-qEeKVHZQA5NPj5A"/>
+ <element xmi:type="uml:Model" href="editPropertyOfstereotype.uml#_RBPRoG-mEeKfG-vGEZugxw"/>
+ <edges xmi:type="notation:Connector" xmi:id="_zhI3gG-qEeKVHZQA5NPj5A" type="4014" source="_xFEdsG-qEeKVHZQA5NPj5A" target="_u_eDIW-qEeKVHZQA5NPj5A">
+ <styles xmi:type="notation:FontStyle" xmi:id="_zhI3gW-qEeKVHZQA5NPj5A"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_zhI3gm-qEeKVHZQA5NPj5A" points="[-51, 0, 355, 3]$[-410, 49, -4, 52]"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editPropertyOfstereotype.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editPropertyOfstereotype.uml
new file mode 100644
index 00000000000..657e6882818
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/classdiagramEdition/editPropertyOfstereotype.uml
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/0.7.0/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/0.7.0/SysML/Requirements http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements">
+ <uml:Model xmi:id="_RBPRoG-mEeKfG-vGEZugxw" name="editPropertyofStereotype">
+ <ownedComment xmi:id="_s1cJoG-sEeKVHZQA5NPj5A">
+ <body>try to edit property of sterotype:&#xD;
+self.oclType().extension_Requirement.id='test'</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_u_eDIG-qEeKVHZQA5NPj5A" name="Class1">
+ <ownedRule xmi:id="_xE6ssG-qEeKVHZQA5NPj5A" name="Constraint1" constrainedElement="_u_eDIG-qEeKVHZQA5NPj5A">
+ <specification xmi:type="uml:OpaqueExpression" xmi:id="_133eUG-qEeKVHZQA5NPj5A">
+ <language>OCL</language>
+ <body>self</body>
+ </specification>
+ </ownedRule>
+ </packagedElement>
+ <profileApplication xmi:id="_qLDR4G-qEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_qLWz4G-qEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_TZ_nULU5EduiKqCzJMWbGw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_qLWz4W-qEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_qLWz4m-qEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_Gx8MgLX7EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_qLWz42-qEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_qLWz5G-qEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_fSw28LX7EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_qLWz5W-qEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_qLWz5m-qEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_rpx28LX7EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_qLWz52-qEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_qLWz6G-qEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_5WYJ0LX7EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_qLWz6W-qEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_qLWz6m-qEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_C2zXMLX8EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_qLWz62-qEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_qLWz7G-qEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_NxdG4LX8EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_qLWz7W-qEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_qLWz7m-qEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_qLWz72-qEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_qLWz8G-qEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_meOioLX8EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_qLWz8W-qEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_qLWz8m-qEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_nAF5kLX8EduFmqQsrNB9lw"/>
+ </profileApplication>
+ <profileApplication xmi:id="_qLWz82-qEeKVHZQA5NPj5A">
+ <eAnnotations xmi:id="_qLWz9G-qEeKVHZQA5NPj5A" 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 href="pathmap://SysML_PROFILES/SysML.profile.uml#_neZmMLX8EduFmqQsrNB9lw"/>
+ </profileApplication>
+ </uml:Model>
+ <Requirements:Requirement xmi:id="_we-uEG-qEeKVHZQA5NPj5A" text="my Text" id="req_001" base_Class="_u_eDIG-qEeKVHZQA5NPj5A"/>
+</xmi:XMI>

Back to the top