Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptessier2013-02-05 17:41:26 +0000
committerptessier2013-02-05 17:41:26 +0000
commitac6bf68b5b672b51c3f759839ccf9b1062ce25e7 (patch)
treea0f66e38bd62ac1ce0dee2cd733d9f8aef25b53c /tests/recipes/plugins
parent18de7b55f9ed07de1cd02d74e51cc8d1f9af48e5 (diff)
downloadorg.eclipse.papyrus-ac6bf68b5b672b51c3f759839ccf9b1062ce25e7.tar.gz
org.eclipse.papyrus-ac6bf68b5b672b51c3f759839ccf9b1062ce25e7.tar.xz
org.eclipse.papyrus-ac6bf68b5b672b51c3f759839ccf9b1062ce25e7.zip
399251: [OCL for Papyrus] The editing pop up for a Constraint in a UML Profile Diagram should support editing OCL expressions
https://bugs.eclipse.org/bugs/show_bug.cgi?id=399251
Diffstat (limited to 'tests/recipes/plugins')
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnPropertyofSterotype.profile.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnPropertyofSterotype.profile.notation56
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnPropertyofSterotype.profile.uml49
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnStereotype.profile.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnStereotype.profile.notation67
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnStereotype.profile.uml56
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintonMetaclassesAssociatedtoStereoype.profile.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintonMetaclassesAssociatedtoStereoype.profile.notation57
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintonMetaclassesAssociatedtoStereoype.profile.uml50
9 files changed, 386 insertions, 0 deletions
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnPropertyofSterotype.profile.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnPropertyofSterotype.profile.di
new file mode 100644
index 00000000000..33dbd555dc5
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnPropertyofSterotype.profile.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="EditConstraintOnPropertyofSterotype.profile.notation#_CWP7gG-0EeK5cr7NUZ6onQ"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="EditConstraintOnPropertyofSterotype.profile.notation#_CWP7gG-0EeK5cr7NUZ6onQ"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnPropertyofSterotype.profile.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnPropertyofSterotype.profile.notation
new file mode 100644
index 00000000000..c4fa892baad
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnPropertyofSterotype.profile.notation
@@ -0,0 +1,56 @@
+<?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="_CWP7gG-0EeK5cr7NUZ6onQ" type="PapyrusUMLProfileDiagram" name="ProfileDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_ERSE0G-0EeK5cr7NUZ6onQ" type="1031">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ERSE1G-0EeK5cr7NUZ6onQ" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ERSE1W-0EeK5cr7NUZ6onQ" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ERSE1m-0EeK5cr7NUZ6onQ" key="StereotypeList" value="StandardProfileL2::Metaclass"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ERSE12-0EeK5cr7NUZ6onQ" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ERSE2G-0EeK5cr7NUZ6onQ" key="PropStereoDisplay" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ERSE2W-0EeK5cr7NUZ6onQ" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_ERSE0m-0EeK5cr7NUZ6onQ" type="1084"/>
+ <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ERSE02-0EeK5cr7NUZ6onQ" x="626" y="111"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_ElEjgW-0EeK5cr7NUZ6onQ" type="1026">
+ <children xmi:type="notation:DecorationNode" xmi:id="_ElEjg2-0EeK5cr7NUZ6onQ" type="1034"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_ElEjhG-0EeK5cr7NUZ6onQ" type="1071">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ElEjjm-0EeK5cr7NUZ6onQ" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ElEjj2-0EeK5cr7NUZ6onQ" key="showTitle" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:Shape" xmi:id="_H5h94W-0EeK5cr7NUZ6onQ" type="3002">
+ <element xmi:type="uml:Property" href="EditConstraintOnPropertyofSterotype.profile.uml#_H5h94G-0EeK5cr7NUZ6onQ"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_H5h94m-0EeK5cr7NUZ6onQ"/>
+ </children>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_ElEjhW-0EeK5cr7NUZ6onQ"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ElEjhm-0EeK5cr7NUZ6onQ"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ElEjh2-0EeK5cr7NUZ6onQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ElEjiG-0EeK5cr7NUZ6onQ"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_ElEjiW-0EeK5cr7NUZ6onQ" visible="false" type="1019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ElEjkG-0EeK5cr7NUZ6onQ" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ElEjkW-0EeK5cr7NUZ6onQ" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_ElEjim-0EeK5cr7NUZ6onQ"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ElEji2-0EeK5cr7NUZ6onQ"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ElEjjG-0EeK5cr7NUZ6onQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ElEjjW-0EeK5cr7NUZ6onQ"/>
+ </children>
+ <element xmi:type="uml:Stereotype" href="EditConstraintOnPropertyofSterotype.profile.uml#_ElEjgG-0EeK5cr7NUZ6onQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ElEjgm-0EeK5cr7NUZ6onQ" x="588" y="280"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_LX0CoG-0EeK5cr7NUZ6onQ" type="1014">
+ <children xmi:type="notation:DecorationNode" xmi:id="_LX0Com-0EeK5cr7NUZ6onQ" type="1015"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_LX0Co2-0EeK5cr7NUZ6onQ" type="5063"/>
+ <element xmi:type="uml:Constraint" href="EditConstraintOnPropertyofSterotype.profile.uml#_LXqRoG-0EeK5cr7NUZ6onQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LX0CoW-0EeK5cr7NUZ6onQ" x="865" y="280" width="261" height="101"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_CWP7gW-0EeK5cr7NUZ6onQ"/>
+ <element xmi:type="uml:Profile" href="EditConstraintOnPropertyofSterotype.profile.uml#_929swG-zEeK5cr7NUZ6onQ"/>
+ <edges xmi:type="notation:Connector" xmi:id="_Kf3uAG-0EeK5cr7NUZ6onQ" type="1013" source="_ElEjgW-0EeK5cr7NUZ6onQ" target="_ERSE0G-0EeK5cr7NUZ6onQ">
+ <styles xmi:type="notation:FontStyle" xmi:id="_Kf3uAW-0EeK5cr7NUZ6onQ"/>
+ <element xmi:type="uml:Extension" href="EditConstraintOnPropertyofSterotype.profile.uml#_KfukEW-0EeK5cr7NUZ6onQ"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Kf3uAm-0EeK5cr7NUZ6onQ" points="[-1, -6, 22, 144]$[-14, -175, 9, -25]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KgBfAG-0EeK5cr7NUZ6onQ" id="(0.7207792207792207,0.06)"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnPropertyofSterotype.profile.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnPropertyofSterotype.profile.uml
new file mode 100644
index 00000000000..4a47fff2100
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnPropertyofSterotype.profile.uml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uml:Profile xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_929swG-zEeK5cr7NUZ6onQ" name="EditConstraintOnPropertyOfStereotype" metaclassReference="_ERI64G-0EeK5cr7NUZ6onQ">
+ <eAnnotations xmi:id="_-67nAW-6EeK5cr7NUZ6onQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <contents xmi:type="ecore:EPackage" xmi:id="_-67nAm-6EeK5cr7NUZ6onQ" name="EditConstraintOnPropertyOfStereotype" nsURI="http:///schemas/EditConstraintOnPropertyOfStereotype/_-67nAG-6EeK5cr7NUZ6onQ/0" nsPrefix="EditConstraintOnPropertyOfStereotype">
+ <eAnnotations xmi:id="_-68OEW-6EeK5cr7NUZ6onQ" source="PapyrusVersion">
+ <details xmi:id="_-68OEm-6EeK5cr7NUZ6onQ" key="Version" value="0.0.1"/>
+ <details xmi:id="_-68OE2-6EeK5cr7NUZ6onQ" key="Comment" value=""/>
+ <details xmi:id="_-68OFG-6EeK5cr7NUZ6onQ" key="Copyright" value=""/>
+ <details xmi:id="_-68OFW-6EeK5cr7NUZ6onQ" key="Date" value="2013-02-05"/>
+ <details xmi:id="_-68OFm-6EeK5cr7NUZ6onQ" key="Author" value=""/>
+ </eAnnotations>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_-67nA2-6EeK5cr7NUZ6onQ" name="Stereotype1">
+ <eAnnotations xmi:id="_-67nBG-6EeK5cr7NUZ6onQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_ElEjgG-0EeK5cr7NUZ6onQ"/>
+ <eAnnotations xmi:id="_-67nBW-6EeK5cr7NUZ6onQ" source="http://www.eclipse.org/emf/2002/GenModel">
+ <details xmi:id="_-67nBm-6EeK5cr7NUZ6onQ" key="documentation" value="self.Property1.oclAsType(Integer)>10"/>
+ </eAnnotations>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-67nB2-6EeK5cr7NUZ6onQ" name="Property1" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Integer"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_-67nCW-6EeK5cr7NUZ6onQ" name="base_NamedElement" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ </contents>
+ </eAnnotations>
+ <elementImport xmi:id="_ERI64G-0EeK5cr7NUZ6onQ" alias="NamedElement">
+ <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/>
+ </elementImport>
+ <packageImport xmi:id="_HJVQAG-0EeK5cr7NUZ6onQ">
+ <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
+ </packageImport>
+ <packagedElement xmi:type="uml:Stereotype" xmi:id="_ElEjgG-0EeK5cr7NUZ6onQ" name="Stereotype1">
+ <ownedRule xmi:id="_LXqRoG-0EeK5cr7NUZ6onQ" name="Constraint1" constrainedElement="_H5h94G-0EeK5cr7NUZ6onQ">
+ <specification xmi:type="uml:OpaqueExpression" xmi:id="_RHneEG-0EeK5cr7NUZ6onQ">
+ <language>OCL</language>
+ <body>self.Property1.oclAsType(Integer)>10</body>
+ </specification>
+ </ownedRule>
+ <ownedAttribute xmi:id="_H5h94G-0EeK5cr7NUZ6onQ" name="Property1">
+ <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_KfukEG-0EeK5cr7NUZ6onQ" name="base_NamedElement" association="_KfukEW-0EeK5cr7NUZ6onQ">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/>
+ </ownedAttribute>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_KfukEW-0EeK5cr7NUZ6onQ" name="E_Stereotype1_NamedElement1" memberEnd="_KfukEm-0EeK5cr7NUZ6onQ _KfukEG-0EeK5cr7NUZ6onQ">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_KfukEm-0EeK5cr7NUZ6onQ" name="extension_Stereotype1" type="_ElEjgG-0EeK5cr7NUZ6onQ" aggregation="composite" association="_KfukEW-0EeK5cr7NUZ6onQ"/>
+ </packagedElement>
+</uml:Profile>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnStereotype.profile.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnStereotype.profile.di
new file mode 100644
index 00000000000..c72655eecd0
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnStereotype.profile.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="EditConstraintOnStereotype.profile.notation#_Z-X40G-zEeK5cr7NUZ6onQ"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="EditConstraintOnStereotype.profile.notation#_Z-X40G-zEeK5cr7NUZ6onQ"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnStereotype.profile.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnStereotype.profile.notation
new file mode 100644
index 00000000000..03b9dd2f23c
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnStereotype.profile.notation
@@ -0,0 +1,67 @@
+<?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="_Z-X40G-zEeK5cr7NUZ6onQ" type="PapyrusUMLProfileDiagram" name="NewDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_bWKLIG-zEeK5cr7NUZ6onQ" type="1026">
+ <children xmi:type="notation:DecorationNode" xmi:id="_bWT8IG-zEeK5cr7NUZ6onQ" type="1034"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_bWT8IW-zEeK5cr7NUZ6onQ" type="1071">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_bXXFAG-zEeK5cr7NUZ6onQ" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_bXXFAW-zEeK5cr7NUZ6onQ" key="showTitle" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:Shape" xmi:id="_e0470G-zEeK5cr7NUZ6onQ" type="3002">
+ <element xmi:type="uml:Property" href="EditConstraintOnStereotype.profile.uml#_e0JU8G-zEeK5cr7NUZ6onQ"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_e0470W-zEeK5cr7NUZ6onQ"/>
+ </children>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_bWT8Im-zEeK5cr7NUZ6onQ"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_bWT8I2-zEeK5cr7NUZ6onQ"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_bWT8JG-zEeK5cr7NUZ6onQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_bWT8JW-zEeK5cr7NUZ6onQ"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_bWT8Jm-zEeK5cr7NUZ6onQ" visible="false" type="1019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_bXXFAm-zEeK5cr7NUZ6onQ" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_bXXFA2-zEeK5cr7NUZ6onQ" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_bWT8J2-zEeK5cr7NUZ6onQ"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_bWT8KG-zEeK5cr7NUZ6onQ"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_bWT8KW-zEeK5cr7NUZ6onQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_bWT8Km-zEeK5cr7NUZ6onQ"/>
+ </children>
+ <element xmi:type="uml:Stereotype" href="EditConstraintOnStereotype.profile.uml#_bVHpUG-zEeK5cr7NUZ6onQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_bWKLIW-zEeK5cr7NUZ6onQ" x="535" y="249"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_dXTjgW-zEeK5cr7NUZ6onQ" type="1031">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dXTjhW-zEeK5cr7NUZ6onQ" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_dXTjhm-zEeK5cr7NUZ6onQ" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_dXTjh2-zEeK5cr7NUZ6onQ" key="StereotypeList" value="StandardProfileL2::Metaclass"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_dXTjiG-zEeK5cr7NUZ6onQ" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_dXTjiW-zEeK5cr7NUZ6onQ" key="PropStereoDisplay" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_dXTjim-zEeK5cr7NUZ6onQ" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_dXTjg2-zEeK5cr7NUZ6onQ" type="1084"/>
+ <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dXTjhG-zEeK5cr7NUZ6onQ" x="555" y="40"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_jlSvwG-zEeK5cr7NUZ6onQ" type="1002">
+ <children xmi:type="notation:DecorationNode" xmi:id="_jlSvwm-zEeK5cr7NUZ6onQ" type="3"/>
+ <element xmi:type="uml:Comment" href="EditConstraintOnStereotype.profile.uml#_jk_00G-zEeK5cr7NUZ6onQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jlSvwW-zEeK5cr7NUZ6onQ" x="580" y="415" width="441" height="91"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_kgzVwG-zEeK5cr7NUZ6onQ" type="1014">
+ <children xmi:type="notation:DecorationNode" xmi:id="_kgzVwm-zEeK5cr7NUZ6onQ" type="1015"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_kgzVw2-zEeK5cr7NUZ6onQ" type="5063"/>
+ <element xmi:type="uml:Constraint" href="EditConstraintOnStereotype.profile.uml#_kgpkwG-zEeK5cr7NUZ6onQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kgzVwW-zEeK5cr7NUZ6onQ" x="820" y="235" width="316" height="106"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_Z-X40W-zEeK5cr7NUZ6onQ"/>
+ <element xmi:type="uml:Profile" href="EditConstraintOnStereotype.profile.uml#_Z9oR8G-zEeK5cr7NUZ6onQ"/>
+ <edges xmi:type="notation:Connector" xmi:id="_d-uv4G-zEeK5cr7NUZ6onQ" type="1013" source="_bWKLIG-zEeK5cr7NUZ6onQ" target="_dXTjgW-zEeK5cr7NUZ6onQ">
+ <styles xmi:type="notation:FontStyle" xmi:id="_d-uv4W-zEeK5cr7NUZ6onQ"/>
+ <element xmi:type="uml:Extension" href="EditConstraintOnStereotype.profile.uml#_d9sOEW-zEeK5cr7NUZ6onQ"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_d-uv4m-zEeK5cr7NUZ6onQ" points="[-2, -20, 19, 179]$[-15, -174, 6, 25]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_d_eWwG-zEeK5cr7NUZ6onQ" id="(0.66,0.2)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_oDGX0G-zEeK5cr7NUZ6onQ" type="4014" source="_kgzVwG-zEeK5cr7NUZ6onQ" target="_bWKLIG-zEeK5cr7NUZ6onQ">
+ <styles xmi:type="notation:FontStyle" xmi:id="_oDGX0W-zEeK5cr7NUZ6onQ"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_oDGX0m-zEeK5cr7NUZ6onQ" points="[-46, -2, 268, 13]$[-237, -12, 77, 3]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_oDPhwG-zEeK5cr7NUZ6onQ" id="(0.1796875,0.7452830188679245)"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnStereotype.profile.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnStereotype.profile.uml
new file mode 100644
index 00000000000..a0f66b453f7
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnStereotype.profile.uml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uml:Profile xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_Z9oR8G-zEeK5cr7NUZ6onQ" name="Profile" metaclassReference="_dXTjgG-zEeK5cr7NUZ6onQ" metamodelReference="_Z9oR8W-zEeK5cr7NUZ6onQ">
+ <eAnnotations xmi:id="_4eZsoW-zEeK5cr7NUZ6onQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <contents xmi:type="ecore:EPackage" xmi:id="_4eZsom-zEeK5cr7NUZ6onQ" name="Profile" nsURI="http:///schemas/Profile/_4eZsoG-zEeK5cr7NUZ6onQ/0" nsPrefix="Profile">
+ <eAnnotations xmi:id="_4esnkW-zEeK5cr7NUZ6onQ" source="PapyrusVersion">
+ <details xmi:id="_4esnkm-zEeK5cr7NUZ6onQ" key="Version" value="0.0.1"/>
+ <details xmi:id="_4esnk2-zEeK5cr7NUZ6onQ" key="Comment" value=""/>
+ <details xmi:id="_4esnlG-zEeK5cr7NUZ6onQ" key="Copyright" value=""/>
+ <details xmi:id="_4esnlW-zEeK5cr7NUZ6onQ" key="Date" value="2013-02-05"/>
+ <details xmi:id="_4esnlm-zEeK5cr7NUZ6onQ" key="Author" value=""/>
+ </eAnnotations>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_4ejdoG-zEeK5cr7NUZ6onQ" name="Stereotype1">
+ <eAnnotations xmi:id="_4ejdoW-zEeK5cr7NUZ6onQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_bVHpUG-zEeK5cr7NUZ6onQ"/>
+ <eAnnotations xmi:id="_4ejdom-zEeK5cr7NUZ6onQ" source="http://www.eclipse.org/emf/2002/GenModel">
+ <details xmi:id="_4ejdo2-zEeK5cr7NUZ6onQ" key="documentation" value="self.oclType().name='Toto'"/>
+ </eAnnotations>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_4ejdpG-zEeK5cr7NUZ6onQ" name="base_NamedElement" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_4ejdpm-zEeK5cr7NUZ6onQ" name="Property1" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Integer"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ </contents>
+ </eAnnotations>
+ <ownedComment xmi:id="_jk_00G-zEeK5cr7NUZ6onQ">
+ <body>write a constraint on stereotype:&#xD;
+self.oclType().name='Toto'</body>
+ </ownedComment>
+ <elementImport xmi:id="_dXTjgG-zEeK5cr7NUZ6onQ" alias="NamedElement">
+ <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/>
+ </elementImport>
+ <packageImport xmi:id="_Z9oR8W-zEeK5cr7NUZ6onQ">
+ <importedPackage xmi:type="uml:Model" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_0"/>
+ </packageImport>
+ <packageImport xmi:id="_Z9oR8m-zEeK5cr7NUZ6onQ">
+ <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
+ </packageImport>
+ <packagedElement xmi:type="uml:Stereotype" xmi:id="_bVHpUG-zEeK5cr7NUZ6onQ" name="Stereotype1">
+ <ownedRule xmi:id="_kgpkwG-zEeK5cr7NUZ6onQ" name="Constraint1" constrainedElement="_bVHpUG-zEeK5cr7NUZ6onQ">
+ <specification xmi:type="uml:OpaqueExpression" xmi:id="_pwBMoG-zEeK5cr7NUZ6onQ">
+ <language>OCL</language>
+ <body>self.oclType().name='Toto'</body>
+ </specification>
+ </ownedRule>
+ <ownedAttribute xmi:id="_d9sOEG-zEeK5cr7NUZ6onQ" name="base_NamedElement" association="_d9sOEW-zEeK5cr7NUZ6onQ">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_e0JU8G-zEeK5cr7NUZ6onQ" name="Property1">
+ <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer"/>
+ </ownedAttribute>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_d9sOEW-zEeK5cr7NUZ6onQ" name="E_Stereotype1_NamedElement1" memberEnd="_d9sOEm-zEeK5cr7NUZ6onQ _d9sOEG-zEeK5cr7NUZ6onQ">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_d9sOEm-zEeK5cr7NUZ6onQ" name="extension_Stereotype1" type="_bVHpUG-zEeK5cr7NUZ6onQ" aggregation="composite" association="_d9sOEW-zEeK5cr7NUZ6onQ"/>
+ </packagedElement>
+</uml:Profile>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintonMetaclassesAssociatedtoStereoype.profile.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintonMetaclassesAssociatedtoStereoype.profile.di
new file mode 100644
index 00000000000..156c1d272ce
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintonMetaclassesAssociatedtoStereoype.profile.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="EditConstraintonMetaclassesAssociatedtoStereoype.profile.notation#_q__ikG-6EeK5cr7NUZ6onQ"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="EditConstraintonMetaclassesAssociatedtoStereoype.profile.notation#_q__ikG-6EeK5cr7NUZ6onQ"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintonMetaclassesAssociatedtoStereoype.profile.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintonMetaclassesAssociatedtoStereoype.profile.notation
new file mode 100644
index 00000000000..6c786202885
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintonMetaclassesAssociatedtoStereoype.profile.notation
@@ -0,0 +1,57 @@
+<?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="_q__ikG-6EeK5cr7NUZ6onQ" type="PapyrusUMLProfileDiagram" name="NewDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_seFRMG-6EeK5cr7NUZ6onQ" type="1031">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_seF4Qm-6EeK5cr7NUZ6onQ" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_seF4Q2-6EeK5cr7NUZ6onQ" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_seF4RG-6EeK5cr7NUZ6onQ" key="StereotypeList" value="StandardProfileL2::Metaclass"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_seF4RW-6EeK5cr7NUZ6onQ" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_seF4Rm-6EeK5cr7NUZ6onQ" key="PropStereoDisplay" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_seF4R2-6EeK5cr7NUZ6onQ" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_seF4QG-6EeK5cr7NUZ6onQ" type="1084"/>
+ <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_seF4QW-6EeK5cr7NUZ6onQ" x="548" y="143"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_s0JAwG-6EeK5cr7NUZ6onQ" type="1026">
+ <children xmi:type="notation:DecorationNode" xmi:id="_s0JAwm-6EeK5cr7NUZ6onQ" type="1034"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_s0JAw2-6EeK5cr7NUZ6onQ" type="1071">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_s0Jn2G-6EeK5cr7NUZ6onQ" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_s0Jn2W-6EeK5cr7NUZ6onQ" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_s0JAxG-6EeK5cr7NUZ6onQ"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_s0Jn0G-6EeK5cr7NUZ6onQ"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_s0Jn0W-6EeK5cr7NUZ6onQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_s0Jn0m-6EeK5cr7NUZ6onQ"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_s0Jn02-6EeK5cr7NUZ6onQ" visible="false" type="1019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_s0KO4G-6EeK5cr7NUZ6onQ" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_s0KO4W-6EeK5cr7NUZ6onQ" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_s0Jn1G-6EeK5cr7NUZ6onQ"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_s0Jn1W-6EeK5cr7NUZ6onQ"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_s0Jn1m-6EeK5cr7NUZ6onQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_s0Jn12-6EeK5cr7NUZ6onQ"/>
+ </children>
+ <element xmi:type="uml:Stereotype" href="EditConstraintonMetaclassesAssociatedtoStereoype.profile.uml#_s0HLkG-6EeK5cr7NUZ6onQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_s0JAwW-6EeK5cr7NUZ6onQ" x="536" y="391"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_uFNnEG-6EeK5cr7NUZ6onQ" type="1014">
+ <children xmi:type="notation:DecorationNode" xmi:id="_uFOOIG-6EeK5cr7NUZ6onQ" type="1015"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_uFOOIW-6EeK5cr7NUZ6onQ" type="5063"/>
+ <element xmi:type="uml:Constraint" href="EditConstraintonMetaclassesAssociatedtoStereoype.profile.uml#_uFLK0G-6EeK5cr7NUZ6onQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uFNnEW-6EeK5cr7NUZ6onQ" x="740" y="400"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_F2-MEG-7EeK5cr7NUZ6onQ" type="1002">
+ <children xmi:type="notation:DecorationNode" xmi:id="_F2-MEm-7EeK5cr7NUZ6onQ" type="3"/>
+ <element xmi:type="uml:Comment" href="EditConstraintonMetaclassesAssociatedtoStereoype.profile.uml#_F28W4G-7EeK5cr7NUZ6onQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_F2-MEW-7EeK5cr7NUZ6onQ" x="775" y="125" width="406" height="81"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_q__ikW-6EeK5cr7NUZ6onQ"/>
+ <element xmi:type="uml:Profile" href="EditConstraintonMetaclassesAssociatedtoStereoype.profile.uml#_q_-7gG-6EeK5cr7NUZ6onQ"/>
+ <edges xmi:type="notation:Connector" xmi:id="_taB8EG-6EeK5cr7NUZ6onQ" type="1013" source="_s0JAwG-6EeK5cr7NUZ6onQ" target="_seFRMG-6EeK5cr7NUZ6onQ">
+ <styles xmi:type="notation:FontStyle" xmi:id="_taB8EW-6EeK5cr7NUZ6onQ"/>
+ <element xmi:type="uml:Extension" href="EditConstraintonMetaclassesAssociatedtoStereoype.profile.uml#_tZ_f0W-6EeK5cr7NUZ6onQ"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_taB8Em-6EeK5cr7NUZ6onQ" points="[-8, -6, 5, 223]$[-8, -204, 5, 25]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_taHboG-6EeK5cr7NUZ6onQ" id="(0.75,0.06)"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintonMetaclassesAssociatedtoStereoype.profile.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintonMetaclassesAssociatedtoStereoype.profile.uml
new file mode 100644
index 00000000000..edcb5b14cad
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintonMetaclassesAssociatedtoStereoype.profile.uml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uml:Profile xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_q_-7gG-6EeK5cr7NUZ6onQ" name="Profile" metaclassReference="_seEDEG-6EeK5cr7NUZ6onQ" metamodelReference="_q_-7gW-6EeK5cr7NUZ6onQ">
+ <eAnnotations xmi:id="_LVLhMG-7EeK5cr7NUZ6onQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <contents xmi:type="ecore:EPackage" xmi:id="_LVLhMW-7EeK5cr7NUZ6onQ" name="Profile" nsURI="http:///schemas/Profile/_LVK6IG-7EeK5cr7NUZ6onQ/0" nsPrefix="Profile">
+ <eAnnotations xmi:id="_LVLhOW-7EeK5cr7NUZ6onQ" source="PapyrusVersion">
+ <details xmi:id="_LVLhOm-7EeK5cr7NUZ6onQ" key="Version" value="0.0.1"/>
+ <details xmi:id="_LVLhO2-7EeK5cr7NUZ6onQ" key="Comment" value=""/>
+ <details xmi:id="_LVLhPG-7EeK5cr7NUZ6onQ" key="Copyright" value=""/>
+ <details xmi:id="_LVLhPW-7EeK5cr7NUZ6onQ" key="Date" value="2013-02-05"/>
+ <details xmi:id="_LVLhPm-7EeK5cr7NUZ6onQ" key="Author" value=""/>
+ </eAnnotations>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_LVLhMm-7EeK5cr7NUZ6onQ" name="Stereotype1">
+ <eAnnotations xmi:id="_LVLhM2-7EeK5cr7NUZ6onQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_s0HLkG-6EeK5cr7NUZ6onQ"/>
+ <eAnnotations xmi:id="_LVLhNG-7EeK5cr7NUZ6onQ" source="http://www.eclipse.org/emf/2002/GenModel">
+ <details xmi:id="_LVLhNW-7EeK5cr7NUZ6onQ" key="documentation" value="self.base_NamedElement.name='Toto'"/>
+ </eAnnotations>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_LVLhNm-7EeK5cr7NUZ6onQ" name="base_NamedElement" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ </contents>
+ </eAnnotations>
+ <ownedComment xmi:id="_F28W4G-7EeK5cr7NUZ6onQ">
+ <body>write a constraint about base element:&#xD;
+self.base_NamedElement.name='Toto'</body>
+ </ownedComment>
+ <elementImport xmi:id="_seEDEG-6EeK5cr7NUZ6onQ" alias="NamedElement">
+ <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/>
+ </elementImport>
+ <packageImport xmi:id="_q_-7gW-6EeK5cr7NUZ6onQ">
+ <importedPackage xmi:type="uml:Model" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_0"/>
+ </packageImport>
+ <packageImport xmi:id="_q_-7gm-6EeK5cr7NUZ6onQ">
+ <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
+ </packageImport>
+ <packagedElement xmi:type="uml:Stereotype" xmi:id="_s0HLkG-6EeK5cr7NUZ6onQ" name="Stereotype1">
+ <ownedRule xmi:id="_uFLK0G-6EeK5cr7NUZ6onQ" name="Constraint1" constrainedElement="_s0HLkG-6EeK5cr7NUZ6onQ">
+ <specification xmi:type="uml:OpaqueExpression" xmi:id="_1rL58G-6EeK5cr7NUZ6onQ">
+ <language>OCL</language>
+ <body>self.base_NamedElement.name='Toto'</body>
+ </specification>
+ </ownedRule>
+ <ownedAttribute xmi:id="_tZ_f0G-6EeK5cr7NUZ6onQ" name="base_NamedElement" association="_tZ_f0W-6EeK5cr7NUZ6onQ">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/>
+ </ownedAttribute>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_tZ_f0W-6EeK5cr7NUZ6onQ" name="E_Stereotype1_NamedElement1" memberEnd="_tZ_f0m-6EeK5cr7NUZ6onQ _tZ_f0G-6EeK5cr7NUZ6onQ">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_tZ_f0m-6EeK5cr7NUZ6onQ" name="extension_Stereotype1" type="_s0HLkG-6EeK5cr7NUZ6onQ" aggregation="composite" association="_tZ_f0W-6EeK5cr7NUZ6onQ"/>
+ </packagedElement>
+</uml:Profile>

Back to the top