Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptessier2013-01-29 14:03:31 +0000
committerptessier2013-01-29 14:03:31 +0000
commit7d8747a4baa0996dbf693bce220c2322bf4c7bf3 (patch)
tree212a973df2baf1c8f97b9b548c65989cc0503332 /tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest
parentae13a160783c1f0fa052ceebd98381c0de80a767 (diff)
downloadorg.eclipse.papyrus-7d8747a4baa0996dbf693bce220c2322bf4c7bf3.tar.gz
org.eclipse.papyrus-7d8747a4baa0996dbf693bce220c2322bf4c7bf3.tar.xz
org.eclipse.papyrus-7d8747a4baa0996dbf693bce220c2322bf4c7bf3.zip
269492: [All Diagrams] Display properties of a applied stereotypes as a " comment"
https://bugs.eclipse.org/bugs/show_bug.cgi?id=269492
Diffstat (limited to 'tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest')
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/.classpath7
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/.project28
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/META-INF/MANIFEST.MF14
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/about.html28
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/build.properties8
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/plugin.properties16
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyAComment.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyAComment.notation105
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyAComment.uml19
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyACommentBySelectingTwoProperties.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyACommentBySelectingTwoProperties.notation105
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyACommentBySelectingTwoProperties.uml21
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateFromCompartment.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateFromCompartment.notation105
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateFromCompartment.uml19
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/ReopenFile.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/ReopenFile.notation156
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/ReopenFile.uml19
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/BadUnapplyProfile.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/BadUnapplyProfile.notation156
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/BadUnapplyProfile.uml9
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/ChangeDisplay.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/ChangeDisplay.notation156
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/ChangeDisplay.uml19
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfile.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfile.notation156
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfile.uml19
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfileDiagramClosed.di13
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfileDiagramClosed.notation156
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfileDiagramClosed.uml19
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyStereotype.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyStereotype.notation156
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyStereotype.uml19
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveComment.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveComment.notation156
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveComment.uml19
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveCommentWithPackage.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveCommentWithPackage.notation168
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveCommentWithPackage.uml20
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveSemanticWithPackage.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveSemanticWithPackage.notation168
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveSemanticWithPackage.uml20
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Crash.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Crash.notation174
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Crash.uml26
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Reopen.di17
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Reopen.notation172
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Reopen.uml22
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/src/org/eclipse/papyrus/uml/appliedstereotypecommend/recipetest/Activator.java50
50 files changed, 2751 insertions, 0 deletions
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/.classpath b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/.classpath
new file mode 100644
index 00000000000..2d1a4302f04
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/.project b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/.project
new file mode 100644
index 00000000000..8a76459dee0
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/.settings/org.eclipse.jdt.core.prefs b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 00000000000..44217f8c068
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/META-INF/MANIFEST.MF b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/META-INF/MANIFEST.MF
new file mode 100644
index 00000000000..8876095316b
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/META-INF/MANIFEST.MF
@@ -0,0 +1,14 @@
+Manifest-Version: 1.0
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.papyrus.diagram.stereotypeproperty.tests;bundle-version="0.9.2"
+Bundle-ActivationPolicy: lazy
+Bundle-Version: 0.9.2.qualifier
+Bundle-Name: Recipetest
+Bundle-ManifestVersion: 2
+Bundle-Activator: org.eclipse.papyrus.uml.appliedstereotypecommend.rec
+ ipetest.Activator
+Bundle-SymbolicName: org.eclipse.papyrus.uml.appliedstereotypecommend.
+ recipetest
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/about.html b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/about.html
new file mode 100644
index 00000000000..82d49bf5f81
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2007</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/build.properties b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/build.properties
new file mode 100644
index 00000000000..d0a17ebd1ca
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/build.properties
@@ -0,0 +1,8 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ about.html,\
+ resources/,\
+ plugin.properties
+src.includes = about.html
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/plugin.properties b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/plugin.properties
new file mode 100644
index 00000000000..f0c64642cf9
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/plugin.properties
@@ -0,0 +1,16 @@
+####################################################################################
+# Copyright (c) 2012 CEA LIST
+#
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Patrick Tessier (CEA LIST)- Initial API and implementation
+#
+##################################################################################
+pluginName=Papyrus test applied stereotype comment (Incubation)
+providerName=Eclipse Modeling Project
+
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyAComment.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyAComment.di
new file mode 100644
index 00000000000..c7a317ea460
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyAComment.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="CreateDirectlyAComment.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="CreateDirectlyAComment.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyAComment.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyAComment.notation
new file mode 100644
index 00000000000..2a9f6afd19c
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyAComment.notation
@@ -0,0 +1,105 @@
+<?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="_9fRS0BwfEeKYb8ts8yUAsw" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_BUdbsBwgEeKYb8ts8yUAsw" type="2008">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_J-WCoBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_J-WCoRwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_J-WCohwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_J-WCoxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_J-WCpBwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_J-WCpRwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_BUmloBwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gkBwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMgBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gkRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gkhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gkxwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5glBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5glRwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMghwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5glhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5glxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gmBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gmRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gmhwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVf9gBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVf9gRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gmxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gnBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gnRwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gnhwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="CreateDirectlyAComment.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BUdbsRwgEeKYb8ts8yUAsw" x="190" y="105" width="150"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_EmX4YBwgEeKYb8ts8yUAsw" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_EmX4YhwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4YxwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4chwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4cxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4ZBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ZRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4ZhwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4ZxwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4aBwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4aRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ahwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4axwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4bBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4bRwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dhwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4bhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4bxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4cBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4cRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="CreateDirectlyAComment.uml#_EmOucBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4YRwgEeKYb8ts8yUAsw" x="226" y="335"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_MiI1EBwgEeKYb8ts8yUAsw" type="2012" fontName="Sylfaen" fontHeight="15">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_V2bq8BwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_V2bq8RwgEeKYb8ts8yUAsw" key="bold" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_XGxRcBwgEeKYb8ts8yUAsw" key="fontColor" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_MiI1EhwgEeKYb8ts8yUAsw" type="5038"/>
+ <element xmi:type="uml:Comment" href="CreateDirectlyAComment.uml#_Mfd7kBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MiI1ERwgEeKYb8ts8yUAsw" x="195" y="20" width="271" height="51"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_9fRS0RwfEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Model" href="CreateDirectlyAComment.uml#_6wmGEBwfEeKYb8ts8yUAsw"/>
+ <edges xmi:type="notation:Connector" xmi:id="_Fe6C4BwgEeKYb8ts8yUAsw" type="4008" source="_EmX4YBwgEeKYb8ts8yUAsw" target="_BUdbsBwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_K93l8BwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_K93l8RwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_K93l8hwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_K93l8xwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_K93l9BwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_K93l9RwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C4xwgEeKYb8ts8yUAsw" type="6026">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5BwgEeKYb8ts8yUAsw" x="27" y="66"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C5RwgEeKYb8ts8yUAsw" type="6027">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5hwgEeKYb8ts8yUAsw" y="60"/>
+ </children>
+ <styles xmi:type="notation:FontStyle" xmi:id="_Fe6C4RwgEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Dependency" href="CreateDirectlyAComment.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Fe6C4hwgEeKYb8ts8yUAsw" points="[-7, -10, 0, 150]$[-4, -140, 3, 20]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogBwgEeKYb8ts8yUAsw" id="(0.51,0.1)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogRwgEeKYb8ts8yUAsw" id="(0.5333333333333333,0.8)"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyAComment.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyAComment.uml
new file mode 100644
index 00000000000..b76102de761
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyAComment.uml
@@ -0,0 +1,19 @@
+<?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:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:testProfile="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0 pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg">
+ <uml:Model xmi:id="_6wmGEBwfEeKYb8ts8yUAsw" name="model">
+ <ownedComment xmi:id="_Mfd7kBwgEeKYb8ts8yUAsw">
+ <body>Display stereotype directly as comment shape!</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_BPjGgBwgEeKYb8ts8yUAsw" name="StereotypedClass"/>
+ <packagedElement xmi:type="uml:Class" xmi:id="_EmOucBwgEeKYb8ts8yUAsw" clientDependency="_FcrOQBwgEeKYb8ts8yUAsw" name="Class1"/>
+ <packagedElement xmi:type="uml:Dependency" xmi:id="_FcrOQBwgEeKYb8ts8yUAsw" name="StereotypedLink" client="_EmOucBwgEeKYb8ts8yUAsw" supplier="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <profileApplication xmi:id="_ARp64BwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:id="_AR810BwgEeKYb8ts8yUAsw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg"/>
+ </eAnnotations>
+ <appliedProfile href="pathmap://Test_PROFILES/testProfile.profile.uml#_UVrRoGkdEeGGJOTenKBKAg"/>
+ </profileApplication>
+ </uml:Model>
+ <testProfile:Stereotype1 xmi:id="_J8_-0BwgEeKYb8ts8yUAsw" base_Element="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <testProfile:Stereotype1 xmi:id="_K9t08BwgEeKYb8ts8yUAsw" base_Element="_FcrOQBwgEeKYb8ts8yUAsw"/>
+</xmi:XMI>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyACommentBySelectingTwoProperties.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyACommentBySelectingTwoProperties.di
new file mode 100644
index 00000000000..0e01d33232d
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyACommentBySelectingTwoProperties.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="CreateDirectlyACommentBySelectingTwoProperties.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="CreateDirectlyACommentBySelectingTwoProperties.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyACommentBySelectingTwoProperties.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyACommentBySelectingTwoProperties.notation
new file mode 100644
index 00000000000..5738e270ed4
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyACommentBySelectingTwoProperties.notation
@@ -0,0 +1,105 @@
+<?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="_9fRS0BwfEeKYb8ts8yUAsw" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_BUdbsBwgEeKYb8ts8yUAsw" type="2008">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_J-WCoBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_J-WCoRwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_J-WCohwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_J-WCoxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_J-WCpBwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_J-WCpRwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_BUmloBwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gkBwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMgBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gkRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gkhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gkxwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5glBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5glRwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMghwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5glhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5glxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gmBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gmRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gmhwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVf9gBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVf9gRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gmxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gnBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gnRwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gnhwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="CreateDirectlyACommentBySelectingTwoProperties.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BUdbsRwgEeKYb8ts8yUAsw" x="190" y="105" width="150"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_EmX4YBwgEeKYb8ts8yUAsw" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_EmX4YhwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4YxwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4chwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4cxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4ZBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ZRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4ZhwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4ZxwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4aBwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4aRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ahwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4axwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4bBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4bRwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dhwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4bhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4bxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4cBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4cRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="CreateDirectlyACommentBySelectingTwoProperties.uml#_EmOucBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4YRwgEeKYb8ts8yUAsw" x="226" y="335"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_MiI1EBwgEeKYb8ts8yUAsw" type="2012" fontName="Sylfaen" fontHeight="15">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_V2bq8BwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_V2bq8RwgEeKYb8ts8yUAsw" key="bold" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_XGxRcBwgEeKYb8ts8yUAsw" key="fontColor" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_MiI1EhwgEeKYb8ts8yUAsw" type="5038"/>
+ <element xmi:type="uml:Comment" href="CreateDirectlyACommentBySelectingTwoProperties.uml#_Mfd7kBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MiI1ERwgEeKYb8ts8yUAsw" x="345" y="20" width="481" height="51"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_9fRS0RwfEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Model" href="CreateDirectlyACommentBySelectingTwoProperties.uml#_6wmGEBwfEeKYb8ts8yUAsw"/>
+ <edges xmi:type="notation:Connector" xmi:id="_Fe6C4BwgEeKYb8ts8yUAsw" type="4008" source="_EmX4YBwgEeKYb8ts8yUAsw" target="_BUdbsBwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_K93l8BwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_K93l8RwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_K93l8hwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_K93l8xwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_K93l9BwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_K93l9RwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C4xwgEeKYb8ts8yUAsw" type="6026">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5BwgEeKYb8ts8yUAsw" x="27" y="66"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C5RwgEeKYb8ts8yUAsw" type="6027">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5hwgEeKYb8ts8yUAsw" y="60"/>
+ </children>
+ <styles xmi:type="notation:FontStyle" xmi:id="_Fe6C4RwgEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Dependency" href="CreateDirectlyACommentBySelectingTwoProperties.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Fe6C4hwgEeKYb8ts8yUAsw" points="[-7, -10, 0, 150]$[-4, -140, 3, 20]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogBwgEeKYb8ts8yUAsw" id="(0.51,0.1)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogRwgEeKYb8ts8yUAsw" id="(0.5333333333333333,0.8)"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyACommentBySelectingTwoProperties.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyACommentBySelectingTwoProperties.uml
new file mode 100644
index 00000000000..cfd68a28fe3
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateDirectlyACommentBySelectingTwoProperties.uml
@@ -0,0 +1,21 @@
+<?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:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:testProfile="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0 pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg">
+ <uml:Model xmi:id="_6wmGEBwfEeKYb8ts8yUAsw" name="model">
+ <ownedComment xmi:id="_Mfd7kBwgEeKYb8ts8yUAsw">
+ <body>Display stereotype directly as comment shape by selecteing two propertie!&#xD;
+a bug was raised because several comment were created &#xD;
+393530: [Stereotypes] doublon of applied stereotype comment can be created</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_BPjGgBwgEeKYb8ts8yUAsw" name="StereotypedClass"/>
+ <packagedElement xmi:type="uml:Class" xmi:id="_EmOucBwgEeKYb8ts8yUAsw" clientDependency="_FcrOQBwgEeKYb8ts8yUAsw" name="Class1"/>
+ <packagedElement xmi:type="uml:Dependency" xmi:id="_FcrOQBwgEeKYb8ts8yUAsw" name="StereotypedLink" client="_EmOucBwgEeKYb8ts8yUAsw" supplier="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <profileApplication xmi:id="_ARp64BwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:id="_AR810BwgEeKYb8ts8yUAsw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg"/>
+ </eAnnotations>
+ <appliedProfile href="pathmap://Test_PROFILES/testProfile.profile.uml#_UVrRoGkdEeGGJOTenKBKAg"/>
+ </profileApplication>
+ </uml:Model>
+ <testProfile:Stereotype1 xmi:id="_J8_-0BwgEeKYb8ts8yUAsw" base_Element="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <testProfile:Stereotype1 xmi:id="_K9t08BwgEeKYb8ts8yUAsw" base_Element="_FcrOQBwgEeKYb8ts8yUAsw"/>
+</xmi:XMI>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateFromCompartment.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateFromCompartment.di
new file mode 100644
index 00000000000..6111a450a3d
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateFromCompartment.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="CreateFromCompartment.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="CreateFromCompartment.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateFromCompartment.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateFromCompartment.notation
new file mode 100644
index 00000000000..0030623614c
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateFromCompartment.notation
@@ -0,0 +1,105 @@
+<?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="_9fRS0BwfEeKYb8ts8yUAsw" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_BUdbsBwgEeKYb8ts8yUAsw" type="2008">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_J-WCoBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lIC-YBwhEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lIC-YRwhEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lIC-YhwhEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lIC-YxwhEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lIC-ZBwhEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_BUmloBwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gkBwgEeKYb8ts8yUAsw" visible="false" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMgBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gkRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gkhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gkxwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5glBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5glRwgEeKYb8ts8yUAsw" visible="false" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMghwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5glhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5glxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gmBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gmRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gmhwgEeKYb8ts8yUAsw" visible="false" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVf9gBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVf9gRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gmxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gnBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gnRwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gnhwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="CreateFromCompartment.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BUdbsRwgEeKYb8ts8yUAsw" x="90" y="85" width="291" height="201"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_EmX4YBwgEeKYb8ts8yUAsw" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_EmX4YhwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4YxwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4chwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4cxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4ZBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ZRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4ZhwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4ZxwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4aBwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4aRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ahwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4axwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4bBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4bRwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dhwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4bhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4bxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4cBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4cRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="CreateFromCompartment.uml#_EmOucBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4YRwgEeKYb8ts8yUAsw" x="170" y="415"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_MiI1EBwgEeKYb8ts8yUAsw" type="2012" fontName="Sylfaen" fontHeight="15">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_V2bq8BwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_V2bq8RwgEeKYb8ts8yUAsw" key="bold" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_XGxRcBwgEeKYb8ts8yUAsw" key="fontColor" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_MiI1EhwgEeKYb8ts8yUAsw" type="5038"/>
+ <element xmi:type="uml:Comment" href="CreateFromCompartment.uml#_Mfd7kBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MiI1ERwgEeKYb8ts8yUAsw" x="195" y="20" width="271" height="51"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_9fRS0RwfEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Model" href="CreateFromCompartment.uml#_6wmGEBwfEeKYb8ts8yUAsw"/>
+ <edges xmi:type="notation:Connector" xmi:id="_Fe6C4BwgEeKYb8ts8yUAsw" type="4008" source="_EmX4YBwgEeKYb8ts8yUAsw" target="_BUdbsBwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_K93l8BwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_xSIVoBwhEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_xSIVoRwhEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_xSIVohwhEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_xSIVoxwhEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_xSIVpBwhEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="With brace"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C4xwgEeKYb8ts8yUAsw" type="6026">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5BwgEeKYb8ts8yUAsw" x="27" y="66"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C5RwgEeKYb8ts8yUAsw" type="6027">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5hwgEeKYb8ts8yUAsw" y="60"/>
+ </children>
+ <styles xmi:type="notation:FontStyle" xmi:id="_Fe6C4RwgEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Dependency" href="CreateFromCompartment.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Fe6C4hwgEeKYb8ts8yUAsw" points="[-7, -10, 0, 150]$[-4, -140, 3, 20]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogBwgEeKYb8ts8yUAsw" id="(0.51,0.1)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogRwgEeKYb8ts8yUAsw" id="(0.5333333333333333,0.8)"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateFromCompartment.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateFromCompartment.uml
new file mode 100644
index 00000000000..b76102de761
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/CreateFromCompartment.uml
@@ -0,0 +1,19 @@
+<?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:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:testProfile="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0 pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg">
+ <uml:Model xmi:id="_6wmGEBwfEeKYb8ts8yUAsw" name="model">
+ <ownedComment xmi:id="_Mfd7kBwgEeKYb8ts8yUAsw">
+ <body>Display stereotype directly as comment shape!</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_BPjGgBwgEeKYb8ts8yUAsw" name="StereotypedClass"/>
+ <packagedElement xmi:type="uml:Class" xmi:id="_EmOucBwgEeKYb8ts8yUAsw" clientDependency="_FcrOQBwgEeKYb8ts8yUAsw" name="Class1"/>
+ <packagedElement xmi:type="uml:Dependency" xmi:id="_FcrOQBwgEeKYb8ts8yUAsw" name="StereotypedLink" client="_EmOucBwgEeKYb8ts8yUAsw" supplier="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <profileApplication xmi:id="_ARp64BwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:id="_AR810BwgEeKYb8ts8yUAsw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg"/>
+ </eAnnotations>
+ <appliedProfile href="pathmap://Test_PROFILES/testProfile.profile.uml#_UVrRoGkdEeGGJOTenKBKAg"/>
+ </profileApplication>
+ </uml:Model>
+ <testProfile:Stereotype1 xmi:id="_J8_-0BwgEeKYb8ts8yUAsw" base_Element="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <testProfile:Stereotype1 xmi:id="_K9t08BwgEeKYb8ts8yUAsw" base_Element="_FcrOQBwgEeKYb8ts8yUAsw"/>
+</xmi:XMI>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/ReopenFile.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/ReopenFile.di
new file mode 100644
index 00000000000..5928a6917b0
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/ReopenFile.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="ReopenFile.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="ReopenFile.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/ReopenFile.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/ReopenFile.notation
new file mode 100644
index 00000000000..2caf969a2e3
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/ReopenFile.notation
@@ -0,0 +1,156 @@
+<?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="_9fRS0BwfEeKYb8ts8yUAsw" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_BUdbsBwgEeKYb8ts8yUAsw" type="2008">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_J-WCoBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgBwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgRwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZghwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZhBwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_BUmloBwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gkBwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMgBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gkRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gkhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gkxwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5glBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5glRwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMghwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5glhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5glxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gmBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gmRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gmhwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVf9gBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVf9gRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gmxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gnBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gnRwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gnhwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="ReopenFile.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BUdbsRwgEeKYb8ts8yUAsw" x="195" y="115" width="150"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_EmX4YBwgEeKYb8ts8yUAsw" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_EmX4YhwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4YxwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4chwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4cxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4ZBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ZRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4ZhwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4ZxwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4aBwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4aRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ahwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4axwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4bBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4bRwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dhwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4bhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4bxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4cBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4cRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="ReopenFile.uml#_EmOucBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4YRwgEeKYb8ts8yUAsw" x="225" y="325"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_MiI1EBwgEeKYb8ts8yUAsw" type="2012" fontName="Sylfaen">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_V2bq8BwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_V2bq8RwgEeKYb8ts8yUAsw" key="bold" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_XGxRcBwgEeKYb8ts8yUAsw" key="fontColor" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Fw-04BwhEeKYb8ts8yUAsw" key="fontHeight" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_MiI1EhwgEeKYb8ts8yUAsw" type="5038"/>
+ <element xmi:type="uml:Comment" href="ReopenFile.uml#_Mfd7kBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MiI1ERwgEeKYb8ts8yUAsw" x="195" y="20" width="271" height="51"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_qx28ABwgEeKYb8ts8yUAsw" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zxUxYBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxaxwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbBwgEeKYb8ts8yUAsw" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbRwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbhwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbxwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_qx28ARwgEeKYb8ts8yUAsw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qx28AxwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="ReopenFile.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qx28AhwgEeKYb8ts8yUAsw" x="685" y="115"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_1fQ54BwgEeKYb8ts8yUAsw" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3xgpUBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpWxwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXBwgEeKYb8ts8yUAsw" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXRwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXhwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXxwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_1fQ54RwgEeKYb8ts8yUAsw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_1fQ54xwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="ReopenFile.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1fQ54hwgEeKYb8ts8yUAsw" x="425" y="225"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_9fRS0RwfEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Model" href="ReopenFile.uml#_6wmGEBwfEeKYb8ts8yUAsw"/>
+ <edges xmi:type="notation:Connector" xmi:id="_Fe6C4BwgEeKYb8ts8yUAsw" type="4008" source="_EmX4YBwgEeKYb8ts8yUAsw" target="_BUdbsBwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_K93l8BwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcBwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcRwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCchwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCdBwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C4xwgEeKYb8ts8yUAsw" type="6026">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5BwgEeKYb8ts8yUAsw" x="27" y="66"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C5RwgEeKYb8ts8yUAsw" type="6027">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5hwgEeKYb8ts8yUAsw" y="60"/>
+ </children>
+ <styles xmi:type="notation:FontStyle" xmi:id="_Fe6C4RwgEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Dependency" href="ReopenFile.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Fe6C4hwgEeKYb8ts8yUAsw" points="[-7, -10, 0, 150]$[-4, -140, 3, 20]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogBwgEeKYb8ts8yUAsw" id="(0.51,0.1)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogRwgEeKYb8ts8yUAsw" id="(0.5333333333333333,0.8)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_qyAF8BwgEeKYb8ts8yUAsw" type="AppliedStereotypesCommentLink" source="_BUdbsBwgEeKYb8ts8yUAsw" target="_qx28ABwgEeKYb8ts8yUAsw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_qyAF8RwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qyAF9RwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="ReopenFile.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qyAF8hwgEeKYb8ts8yUAsw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qyAF8xwgEeKYb8ts8yUAsw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qyAF9BwgEeKYb8ts8yUAsw"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_1fQ55BwgEeKYb8ts8yUAsw" type="AppliedStereotypesCommentLink" source="_Fe6C4BwgEeKYb8ts8yUAsw" target="_1fQ54BwgEeKYb8ts8yUAsw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_1fQ55RwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_1fQ56RwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="ReopenFile.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_1fQ55hwgEeKYb8ts8yUAsw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1fQ55xwgEeKYb8ts8yUAsw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1fQ56BwgEeKYb8ts8yUAsw"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/ReopenFile.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/ReopenFile.uml
new file mode 100644
index 00000000000..ae0437b1ae2
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/creation/ReopenFile.uml
@@ -0,0 +1,19 @@
+<?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:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:testProfile="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0 pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg">
+ <uml:Model xmi:id="_6wmGEBwfEeKYb8ts8yUAsw" name="model">
+ <ownedComment xmi:id="_Mfd7kBwgEeKYb8ts8yUAsw">
+ <body>Display stereotype directly as Sterotyped has been already displayed, normaly you have to see in &quot;comment shape&quot;</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_BPjGgBwgEeKYb8ts8yUAsw" name="StereotypedClass"/>
+ <packagedElement xmi:type="uml:Class" xmi:id="_EmOucBwgEeKYb8ts8yUAsw" clientDependency="_FcrOQBwgEeKYb8ts8yUAsw" name="Class1"/>
+ <packagedElement xmi:type="uml:Dependency" xmi:id="_FcrOQBwgEeKYb8ts8yUAsw" name="StereotypedLink" client="_EmOucBwgEeKYb8ts8yUAsw" supplier="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <profileApplication xmi:id="_ARp64BwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:id="_AR810BwgEeKYb8ts8yUAsw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg"/>
+ </eAnnotations>
+ <appliedProfile href="pathmap://Test_PROFILES/testProfile.profile.uml#_UVrRoGkdEeGGJOTenKBKAg"/>
+ </profileApplication>
+ </uml:Model>
+ <testProfile:Stereotype1 xmi:id="_J8_-0BwgEeKYb8ts8yUAsw" base_Element="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <testProfile:Stereotype1 xmi:id="_K9t08BwgEeKYb8ts8yUAsw" base_Element="_FcrOQBwgEeKYb8ts8yUAsw"/>
+</xmi:XMI>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/BadUnapplyProfile.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/BadUnapplyProfile.di
new file mode 100644
index 00000000000..d2249df8442
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/BadUnapplyProfile.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="BadUnapplyProfile.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="BadUnapplyProfile.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/BadUnapplyProfile.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/BadUnapplyProfile.notation
new file mode 100644
index 00000000000..69e04510010
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/BadUnapplyProfile.notation
@@ -0,0 +1,156 @@
+<?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="_9fRS0BwfEeKYb8ts8yUAsw" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_BUdbsBwgEeKYb8ts8yUAsw" type="2008">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_J-WCoBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgBwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgRwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZghwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZhBwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_BUmloBwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gkBwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMgBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gkRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gkhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gkxwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5glBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5glRwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMghwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5glhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5glxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gmBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gmRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gmhwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVf9gBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVf9gRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gmxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gnBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gnRwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gnhwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="BadUnapplyProfile.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BUdbsRwgEeKYb8ts8yUAsw" x="195" y="115" width="150"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_EmX4YBwgEeKYb8ts8yUAsw" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_EmX4YhwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4YxwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4chwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4cxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4ZBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ZRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4ZhwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4ZxwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4aBwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4aRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ahwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4axwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4bBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4bRwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dhwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4bhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4bxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4cBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4cRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="BadUnapplyProfile.uml#_EmOucBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4YRwgEeKYb8ts8yUAsw" x="225" y="325"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_MiI1EBwgEeKYb8ts8yUAsw" type="2012" fontName="Sylfaen">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_V2bq8BwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_V2bq8RwgEeKYb8ts8yUAsw" key="bold" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_XGxRcBwgEeKYb8ts8yUAsw" key="fontColor" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Fw-04BwhEeKYb8ts8yUAsw" key="fontHeight" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_MiI1EhwgEeKYb8ts8yUAsw" type="5038"/>
+ <element xmi:type="uml:Comment" href="BadUnapplyProfile.uml#_Mfd7kBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MiI1ERwgEeKYb8ts8yUAsw" x="225" y="20" width="271" height="51"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_qx28ABwgEeKYb8ts8yUAsw" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zxUxYBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxaxwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbBwgEeKYb8ts8yUAsw" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbRwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbhwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbxwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_qx28ARwgEeKYb8ts8yUAsw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qx28AxwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="BadUnapplyProfile.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qx28AhwgEeKYb8ts8yUAsw" x="685" y="115"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_1fQ54BwgEeKYb8ts8yUAsw" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3xgpUBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpWxwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXBwgEeKYb8ts8yUAsw" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXRwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXhwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXxwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_1fQ54RwgEeKYb8ts8yUAsw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_1fQ54xwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="BadUnapplyProfile.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1fQ54hwgEeKYb8ts8yUAsw" x="415" y="250"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_9fRS0RwfEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Model" href="BadUnapplyProfile.uml#_6wmGEBwfEeKYb8ts8yUAsw"/>
+ <edges xmi:type="notation:Connector" xmi:id="_Fe6C4BwgEeKYb8ts8yUAsw" type="4008" source="_EmX4YBwgEeKYb8ts8yUAsw" target="_BUdbsBwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_K93l8BwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcBwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcRwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCchwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCdBwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C4xwgEeKYb8ts8yUAsw" type="6026">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5BwgEeKYb8ts8yUAsw" x="27" y="66"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C5RwgEeKYb8ts8yUAsw" type="6027">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5hwgEeKYb8ts8yUAsw" y="60"/>
+ </children>
+ <styles xmi:type="notation:FontStyle" xmi:id="_Fe6C4RwgEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Dependency" href="BadUnapplyProfile.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Fe6C4hwgEeKYb8ts8yUAsw" points="[-7, -10, 0, 150]$[-4, -140, 3, 20]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogBwgEeKYb8ts8yUAsw" id="(0.51,0.1)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogRwgEeKYb8ts8yUAsw" id="(0.5333333333333333,0.8)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_qyAF8BwgEeKYb8ts8yUAsw" type="AppliedStereotypesCommentLink" source="_BUdbsBwgEeKYb8ts8yUAsw" target="_qx28ABwgEeKYb8ts8yUAsw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_qyAF8RwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qyAF9RwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="BadUnapplyProfile.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qyAF8hwgEeKYb8ts8yUAsw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qyAF8xwgEeKYb8ts8yUAsw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qyAF9BwgEeKYb8ts8yUAsw"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_1fQ55BwgEeKYb8ts8yUAsw" type="AppliedStereotypesCommentLink" source="_Fe6C4BwgEeKYb8ts8yUAsw" target="_1fQ54BwgEeKYb8ts8yUAsw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_1fQ55RwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_1fQ56RwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="BadUnapplyProfile.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_1fQ55hwgEeKYb8ts8yUAsw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1fQ55xwgEeKYb8ts8yUAsw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1fQ56BwgEeKYb8ts8yUAsw"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/BadUnapplyProfile.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/BadUnapplyProfile.uml
new file mode 100644
index 00000000000..4e8821c8712
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/BadUnapplyProfile.uml
@@ -0,0 +1,9 @@
+<?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="_6wmGEBwfEeKYb8ts8yUAsw" name="model">
+ <ownedComment xmi:id="_Mfd7kBwgEeKYb8ts8yUAsw">
+ <body>The profile has been unapplied with the UML editor. The comments have to disappear.</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_BPjGgBwgEeKYb8ts8yUAsw" name="StereotypedClass"/>
+ <packagedElement xmi:type="uml:Class" xmi:id="_EmOucBwgEeKYb8ts8yUAsw" clientDependency="_FcrOQBwgEeKYb8ts8yUAsw" name="Class1"/>
+ <packagedElement xmi:type="uml:Dependency" xmi:id="_FcrOQBwgEeKYb8ts8yUAsw" name="StereotypedLink" client="_EmOucBwgEeKYb8ts8yUAsw" supplier="_BPjGgBwgEeKYb8ts8yUAsw"/>
+</uml:Model>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/ChangeDisplay.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/ChangeDisplay.di
new file mode 100644
index 00000000000..90a62d21344
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/ChangeDisplay.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="ChangeDisplay.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="ChangeDisplay.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/ChangeDisplay.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/ChangeDisplay.notation
new file mode 100644
index 00000000000..cfa1d472888
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/ChangeDisplay.notation
@@ -0,0 +1,156 @@
+<?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="_9fRS0BwfEeKYb8ts8yUAsw" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_BUdbsBwgEeKYb8ts8yUAsw" type="2008">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_J-WCoBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgBwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgRwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZghwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZhBwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_BUmloBwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gkBwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMgBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gkRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gkhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gkxwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5glBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5glRwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMghwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5glhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5glxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gmBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gmRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gmhwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVf9gBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVf9gRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gmxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gnBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gnRwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gnhwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="ChangeDisplay.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BUdbsRwgEeKYb8ts8yUAsw" x="195" y="115" width="150"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_EmX4YBwgEeKYb8ts8yUAsw" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_EmX4YhwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4YxwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4chwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4cxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4ZBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ZRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4ZhwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4ZxwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4aBwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4aRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ahwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4axwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4bBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4bRwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dhwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4bhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4bxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4cBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4cRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="ChangeDisplay.uml#_EmOucBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4YRwgEeKYb8ts8yUAsw" x="225" y="325"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_MiI1EBwgEeKYb8ts8yUAsw" type="2012" fontName="Sylfaen">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_V2bq8BwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_V2bq8RwgEeKYb8ts8yUAsw" key="bold" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_XGxRcBwgEeKYb8ts8yUAsw" key="fontColor" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Fw-04BwhEeKYb8ts8yUAsw" key="fontHeight" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_MiI1EhwgEeKYb8ts8yUAsw" type="5038"/>
+ <element xmi:type="uml:Comment" href="ChangeDisplay.uml#_Mfd7kBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MiI1ERwgEeKYb8ts8yUAsw" x="195" y="20" width="271" height="51"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_qx28ABwgEeKYb8ts8yUAsw" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zxUxYBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxaxwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbBwgEeKYb8ts8yUAsw" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbRwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbhwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbxwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_qx28ARwgEeKYb8ts8yUAsw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qx28AxwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="ChangeDisplay.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qx28AhwgEeKYb8ts8yUAsw" x="685" y="115"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_1fQ54BwgEeKYb8ts8yUAsw" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3xgpUBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpWxwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXBwgEeKYb8ts8yUAsw" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXRwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXhwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXxwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_1fQ54RwgEeKYb8ts8yUAsw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_1fQ54xwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="ChangeDisplay.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1fQ54hwgEeKYb8ts8yUAsw" x="415" y="250"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_9fRS0RwfEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Model" href="ChangeDisplay.uml#_6wmGEBwfEeKYb8ts8yUAsw"/>
+ <edges xmi:type="notation:Connector" xmi:id="_Fe6C4BwgEeKYb8ts8yUAsw" type="4008" source="_EmX4YBwgEeKYb8ts8yUAsw" target="_BUdbsBwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_K93l8BwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcBwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcRwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCchwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCdBwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C4xwgEeKYb8ts8yUAsw" type="6026">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5BwgEeKYb8ts8yUAsw" x="27" y="66"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C5RwgEeKYb8ts8yUAsw" type="6027">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5hwgEeKYb8ts8yUAsw" y="60"/>
+ </children>
+ <styles xmi:type="notation:FontStyle" xmi:id="_Fe6C4RwgEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Dependency" href="ChangeDisplay.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Fe6C4hwgEeKYb8ts8yUAsw" points="[-7, -10, 0, 150]$[-4, -140, 3, 20]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogBwgEeKYb8ts8yUAsw" id="(0.51,0.1)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogRwgEeKYb8ts8yUAsw" id="(0.5333333333333333,0.8)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_qyAF8BwgEeKYb8ts8yUAsw" type="AppliedStereotypesCommentLink" source="_BUdbsBwgEeKYb8ts8yUAsw" target="_qx28ABwgEeKYb8ts8yUAsw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_qyAF8RwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qyAF9RwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="ChangeDisplay.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qyAF8hwgEeKYb8ts8yUAsw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qyAF8xwgEeKYb8ts8yUAsw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qyAF9BwgEeKYb8ts8yUAsw"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_1fQ55BwgEeKYb8ts8yUAsw" type="AppliedStereotypesCommentLink" source="_Fe6C4BwgEeKYb8ts8yUAsw" target="_1fQ54BwgEeKYb8ts8yUAsw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_1fQ55RwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_1fQ56RwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="ChangeDisplay.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_1fQ55hwgEeKYb8ts8yUAsw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1fQ55xwgEeKYb8ts8yUAsw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1fQ56BwgEeKYb8ts8yUAsw"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/ChangeDisplay.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/ChangeDisplay.uml
new file mode 100644
index 00000000000..d5d9bab8dac
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/ChangeDisplay.uml
@@ -0,0 +1,19 @@
+<?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:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:testProfile="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0 pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg">
+ <uml:Model xmi:id="_6wmGEBwfEeKYb8ts8yUAsw" name="model">
+ <ownedComment xmi:id="_Mfd7kBwgEeKYb8ts8yUAsw">
+ <body>Display it as compartment and brace. The comments have to disappear.</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_BPjGgBwgEeKYb8ts8yUAsw" name="StereotypedClass"/>
+ <packagedElement xmi:type="uml:Class" xmi:id="_EmOucBwgEeKYb8ts8yUAsw" clientDependency="_FcrOQBwgEeKYb8ts8yUAsw" name="Class1"/>
+ <packagedElement xmi:type="uml:Dependency" xmi:id="_FcrOQBwgEeKYb8ts8yUAsw" name="StereotypedLink" client="_EmOucBwgEeKYb8ts8yUAsw" supplier="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <profileApplication xmi:id="_ARp64BwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:id="_AR810BwgEeKYb8ts8yUAsw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg"/>
+ </eAnnotations>
+ <appliedProfile href="pathmap://Test_PROFILES/testProfile.profile.uml#_UVrRoGkdEeGGJOTenKBKAg"/>
+ </profileApplication>
+ </uml:Model>
+ <testProfile:Stereotype1 xmi:id="_J8_-0BwgEeKYb8ts8yUAsw" base_Element="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <testProfile:Stereotype1 xmi:id="_K9t08BwgEeKYb8ts8yUAsw" base_Element="_FcrOQBwgEeKYb8ts8yUAsw"/>
+</xmi:XMI>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfile.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfile.di
new file mode 100644
index 00000000000..e8ef6dcf466
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfile.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="UnapplyProfile.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="UnapplyProfile.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfile.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfile.notation
new file mode 100644
index 00000000000..dbf4244d55d
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfile.notation
@@ -0,0 +1,156 @@
+<?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="_9fRS0BwfEeKYb8ts8yUAsw" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_BUdbsBwgEeKYb8ts8yUAsw" type="2008">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_J-WCoBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgBwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgRwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZghwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZhBwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_BUmloBwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gkBwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMgBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gkRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gkhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gkxwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5glBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5glRwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMghwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5glhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5glxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gmBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gmRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gmhwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVf9gBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVf9gRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gmxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gnBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gnRwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gnhwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="UnapplyProfile.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BUdbsRwgEeKYb8ts8yUAsw" x="195" y="115" width="150"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_EmX4YBwgEeKYb8ts8yUAsw" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_EmX4YhwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4YxwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4chwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4cxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4ZBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ZRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4ZhwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4ZxwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4aBwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4aRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ahwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4axwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4bBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4bRwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dhwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4bhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4bxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4cBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4cRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="UnapplyProfile.uml#_EmOucBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4YRwgEeKYb8ts8yUAsw" x="225" y="325"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_MiI1EBwgEeKYb8ts8yUAsw" type="2012" fontName="Sylfaen">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_V2bq8BwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_V2bq8RwgEeKYb8ts8yUAsw" key="bold" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_XGxRcBwgEeKYb8ts8yUAsw" key="fontColor" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Fw-04BwhEeKYb8ts8yUAsw" key="fontHeight" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_MiI1EhwgEeKYb8ts8yUAsw" type="5038"/>
+ <element xmi:type="uml:Comment" href="UnapplyProfile.uml#_Mfd7kBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MiI1ERwgEeKYb8ts8yUAsw" x="195" y="20" width="271" height="51"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_qx28ABwgEeKYb8ts8yUAsw" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zxUxYBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxaxwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbBwgEeKYb8ts8yUAsw" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbRwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbhwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbxwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_qx28ARwgEeKYb8ts8yUAsw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qx28AxwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="UnapplyProfile.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qx28AhwgEeKYb8ts8yUAsw" x="685" y="115"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_1fQ54BwgEeKYb8ts8yUAsw" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3xgpUBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpWxwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXBwgEeKYb8ts8yUAsw" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXRwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXhwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXxwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_1fQ54RwgEeKYb8ts8yUAsw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_1fQ54xwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="UnapplyProfile.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1fQ54hwgEeKYb8ts8yUAsw" x="415" y="250"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_9fRS0RwfEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Model" href="UnapplyProfile.uml#_6wmGEBwfEeKYb8ts8yUAsw"/>
+ <edges xmi:type="notation:Connector" xmi:id="_Fe6C4BwgEeKYb8ts8yUAsw" type="4008" source="_EmX4YBwgEeKYb8ts8yUAsw" target="_BUdbsBwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_K93l8BwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcBwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcRwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCchwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCdBwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C4xwgEeKYb8ts8yUAsw" type="6026">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5BwgEeKYb8ts8yUAsw" x="27" y="66"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C5RwgEeKYb8ts8yUAsw" type="6027">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5hwgEeKYb8ts8yUAsw" y="60"/>
+ </children>
+ <styles xmi:type="notation:FontStyle" xmi:id="_Fe6C4RwgEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Dependency" href="UnapplyProfile.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Fe6C4hwgEeKYb8ts8yUAsw" points="[-7, -10, 0, 150]$[-4, -140, 3, 20]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogBwgEeKYb8ts8yUAsw" id="(0.51,0.1)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogRwgEeKYb8ts8yUAsw" id="(0.5333333333333333,0.8)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_qyAF8BwgEeKYb8ts8yUAsw" type="AppliedStereotypesCommentLink" source="_BUdbsBwgEeKYb8ts8yUAsw" target="_qx28ABwgEeKYb8ts8yUAsw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_qyAF8RwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qyAF9RwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="UnapplyProfile.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qyAF8hwgEeKYb8ts8yUAsw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qyAF8xwgEeKYb8ts8yUAsw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qyAF9BwgEeKYb8ts8yUAsw"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_1fQ55BwgEeKYb8ts8yUAsw" type="AppliedStereotypesCommentLink" source="_Fe6C4BwgEeKYb8ts8yUAsw" target="_1fQ54BwgEeKYb8ts8yUAsw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_1fQ55RwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_1fQ56RwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="UnapplyProfile.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_1fQ55hwgEeKYb8ts8yUAsw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1fQ55xwgEeKYb8ts8yUAsw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1fQ56BwgEeKYb8ts8yUAsw"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfile.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfile.uml
new file mode 100644
index 00000000000..23e7ce2fb32
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfile.uml
@@ -0,0 +1,19 @@
+<?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:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:testProfile="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0 pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg">
+ <uml:Model xmi:id="_6wmGEBwfEeKYb8ts8yUAsw" name="model">
+ <ownedComment xmi:id="_Mfd7kBwgEeKYb8ts8yUAsw">
+ <body>Unapply Profile. The comments have to disappear.</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_BPjGgBwgEeKYb8ts8yUAsw" name="StereotypedClass"/>
+ <packagedElement xmi:type="uml:Class" xmi:id="_EmOucBwgEeKYb8ts8yUAsw" clientDependency="_FcrOQBwgEeKYb8ts8yUAsw" name="Class1"/>
+ <packagedElement xmi:type="uml:Dependency" xmi:id="_FcrOQBwgEeKYb8ts8yUAsw" name="StereotypedLink" client="_EmOucBwgEeKYb8ts8yUAsw" supplier="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <profileApplication xmi:id="_ARp64BwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:id="_AR810BwgEeKYb8ts8yUAsw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg"/>
+ </eAnnotations>
+ <appliedProfile href="pathmap://Test_PROFILES/testProfile.profile.uml#_UVrRoGkdEeGGJOTenKBKAg"/>
+ </profileApplication>
+ </uml:Model>
+ <testProfile:Stereotype1 xmi:id="_J8_-0BwgEeKYb8ts8yUAsw" base_Element="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <testProfile:Stereotype1 xmi:id="_K9t08BwgEeKYb8ts8yUAsw" base_Element="_FcrOQBwgEeKYb8ts8yUAsw"/>
+</xmi:XMI>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfileDiagramClosed.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfileDiagramClosed.di
new file mode 100644
index 00000000000..0bda9d9838d
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfileDiagramClosed.di
@@ -0,0 +1,13 @@
+<?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="UnapplyProfileDiagramClosed.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder"/>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfileDiagramClosed.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfileDiagramClosed.notation
new file mode 100644
index 00000000000..91d64548ca2
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfileDiagramClosed.notation
@@ -0,0 +1,156 @@
+<?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="_9fRS0BwfEeKYb8ts8yUAsw" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_BUdbsBwgEeKYb8ts8yUAsw" type="2008">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_J-WCoBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgBwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgRwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZghwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZhBwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_BUmloBwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gkBwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMgBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gkRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gkhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gkxwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5glBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5glRwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMghwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5glhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5glxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gmBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gmRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gmhwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVf9gBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVf9gRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gmxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gnBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gnRwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gnhwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="UnapplyProfileDiagramClosed.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BUdbsRwgEeKYb8ts8yUAsw" x="195" y="115" width="150"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_EmX4YBwgEeKYb8ts8yUAsw" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_EmX4YhwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4YxwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4chwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4cxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4ZBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ZRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4ZhwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4ZxwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4aBwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4aRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ahwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4axwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4bBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4bRwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dhwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4bhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4bxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4cBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4cRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="UnapplyProfileDiagramClosed.uml#_EmOucBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4YRwgEeKYb8ts8yUAsw" x="225" y="325"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_MiI1EBwgEeKYb8ts8yUAsw" type="2012" fontName="Sylfaen">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_V2bq8BwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_V2bq8RwgEeKYb8ts8yUAsw" key="bold" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_XGxRcBwgEeKYb8ts8yUAsw" key="fontColor" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Fw-04BwhEeKYb8ts8yUAsw" key="fontHeight" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_MiI1EhwgEeKYb8ts8yUAsw" type="5038"/>
+ <element xmi:type="uml:Comment" href="UnapplyProfileDiagramClosed.uml#_Mfd7kBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MiI1ERwgEeKYb8ts8yUAsw" x="195" y="20" width="271" height="51"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_qx28ABwgEeKYb8ts8yUAsw" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zxUxYBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxaxwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbBwgEeKYb8ts8yUAsw" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbRwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbhwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbxwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_qx28ARwgEeKYb8ts8yUAsw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qx28AxwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="UnapplyProfileDiagramClosed.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qx28AhwgEeKYb8ts8yUAsw" x="685" y="115"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_1fQ54BwgEeKYb8ts8yUAsw" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3xgpUBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpWxwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXBwgEeKYb8ts8yUAsw" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXRwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXhwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXxwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_1fQ54RwgEeKYb8ts8yUAsw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_1fQ54xwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="UnapplyProfileDiagramClosed.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1fQ54hwgEeKYb8ts8yUAsw" x="415" y="250"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_9fRS0RwfEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Model" href="UnapplyProfileDiagramClosed.uml#_6wmGEBwfEeKYb8ts8yUAsw"/>
+ <edges xmi:type="notation:Connector" xmi:id="_Fe6C4BwgEeKYb8ts8yUAsw" type="4008" source="_EmX4YBwgEeKYb8ts8yUAsw" target="_BUdbsBwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_K93l8BwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcBwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcRwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCchwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCdBwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C4xwgEeKYb8ts8yUAsw" type="6026">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5BwgEeKYb8ts8yUAsw" x="27" y="66"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C5RwgEeKYb8ts8yUAsw" type="6027">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5hwgEeKYb8ts8yUAsw" y="60"/>
+ </children>
+ <styles xmi:type="notation:FontStyle" xmi:id="_Fe6C4RwgEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Dependency" href="UnapplyProfileDiagramClosed.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Fe6C4hwgEeKYb8ts8yUAsw" points="[-7, -10, 0, 150]$[-4, -140, 3, 20]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogBwgEeKYb8ts8yUAsw" id="(0.51,0.1)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogRwgEeKYb8ts8yUAsw" id="(0.5333333333333333,0.8)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_qyAF8BwgEeKYb8ts8yUAsw" type="AppliedStereotypesCommentLink" source="_BUdbsBwgEeKYb8ts8yUAsw" target="_qx28ABwgEeKYb8ts8yUAsw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_qyAF8RwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qyAF9RwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="UnapplyProfileDiagramClosed.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qyAF8hwgEeKYb8ts8yUAsw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qyAF8xwgEeKYb8ts8yUAsw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qyAF9BwgEeKYb8ts8yUAsw"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_1fQ55BwgEeKYb8ts8yUAsw" type="AppliedStereotypesCommentLink" source="_Fe6C4BwgEeKYb8ts8yUAsw" target="_1fQ54BwgEeKYb8ts8yUAsw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_1fQ55RwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_1fQ56RwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="UnapplyProfileDiagramClosed.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_1fQ55hwgEeKYb8ts8yUAsw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1fQ55xwgEeKYb8ts8yUAsw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1fQ56BwgEeKYb8ts8yUAsw"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfileDiagramClosed.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfileDiagramClosed.uml
new file mode 100644
index 00000000000..23e7ce2fb32
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyProfileDiagramClosed.uml
@@ -0,0 +1,19 @@
+<?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:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:testProfile="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0 pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg">
+ <uml:Model xmi:id="_6wmGEBwfEeKYb8ts8yUAsw" name="model">
+ <ownedComment xmi:id="_Mfd7kBwgEeKYb8ts8yUAsw">
+ <body>Unapply Profile. The comments have to disappear.</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_BPjGgBwgEeKYb8ts8yUAsw" name="StereotypedClass"/>
+ <packagedElement xmi:type="uml:Class" xmi:id="_EmOucBwgEeKYb8ts8yUAsw" clientDependency="_FcrOQBwgEeKYb8ts8yUAsw" name="Class1"/>
+ <packagedElement xmi:type="uml:Dependency" xmi:id="_FcrOQBwgEeKYb8ts8yUAsw" name="StereotypedLink" client="_EmOucBwgEeKYb8ts8yUAsw" supplier="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <profileApplication xmi:id="_ARp64BwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:id="_AR810BwgEeKYb8ts8yUAsw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg"/>
+ </eAnnotations>
+ <appliedProfile href="pathmap://Test_PROFILES/testProfile.profile.uml#_UVrRoGkdEeGGJOTenKBKAg"/>
+ </profileApplication>
+ </uml:Model>
+ <testProfile:Stereotype1 xmi:id="_J8_-0BwgEeKYb8ts8yUAsw" base_Element="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <testProfile:Stereotype1 xmi:id="_K9t08BwgEeKYb8ts8yUAsw" base_Element="_FcrOQBwgEeKYb8ts8yUAsw"/>
+</xmi:XMI>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyStereotype.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyStereotype.di
new file mode 100644
index 00000000000..674a41d495c
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyStereotype.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="UnapplyStereotype.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="UnapplyStereotype.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyStereotype.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyStereotype.notation
new file mode 100644
index 00000000000..b9282f28878
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyStereotype.notation
@@ -0,0 +1,156 @@
+<?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="_9fRS0BwfEeKYb8ts8yUAsw" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_BUdbsBwgEeKYb8ts8yUAsw" type="2008">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_J-WCoBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgBwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgRwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZghwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZhBwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_BUmloBwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gkBwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMgBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gkRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gkhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gkxwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5glBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5glRwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMghwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5glhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5glxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gmBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gmRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gmhwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVf9gBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVf9gRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gmxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gnBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gnRwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gnhwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="UnapplyStereotype.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BUdbsRwgEeKYb8ts8yUAsw" x="195" y="115" width="150"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_EmX4YBwgEeKYb8ts8yUAsw" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_EmX4YhwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4YxwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4chwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4cxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4ZBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ZRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4ZhwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4ZxwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4aBwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4aRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ahwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4axwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4bBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4bRwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dhwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4bhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4bxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4cBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4cRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="UnapplyStereotype.uml#_EmOucBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4YRwgEeKYb8ts8yUAsw" x="225" y="325"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_MiI1EBwgEeKYb8ts8yUAsw" type="2012" fontName="Sylfaen">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_V2bq8BwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_V2bq8RwgEeKYb8ts8yUAsw" key="bold" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_XGxRcBwgEeKYb8ts8yUAsw" key="fontColor" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Fw-04BwhEeKYb8ts8yUAsw" key="fontHeight" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_MiI1EhwgEeKYb8ts8yUAsw" type="5038"/>
+ <element xmi:type="uml:Comment" href="UnapplyStereotype.uml#_Mfd7kBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MiI1ERwgEeKYb8ts8yUAsw" x="195" y="20" width="271" height="51"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_qx28ABwgEeKYb8ts8yUAsw" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zxUxYBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxaxwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbBwgEeKYb8ts8yUAsw" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbRwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbhwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbxwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_qx28ARwgEeKYb8ts8yUAsw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qx28AxwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="UnapplyStereotype.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qx28AhwgEeKYb8ts8yUAsw" x="685" y="115"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_1fQ54BwgEeKYb8ts8yUAsw" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3xgpUBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpWxwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXBwgEeKYb8ts8yUAsw" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXRwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXhwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXxwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_1fQ54RwgEeKYb8ts8yUAsw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_1fQ54xwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="UnapplyStereotype.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1fQ54hwgEeKYb8ts8yUAsw" x="415" y="250"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_9fRS0RwfEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Model" href="UnapplyStereotype.uml#_6wmGEBwfEeKYb8ts8yUAsw"/>
+ <edges xmi:type="notation:Connector" xmi:id="_Fe6C4BwgEeKYb8ts8yUAsw" type="4008" source="_EmX4YBwgEeKYb8ts8yUAsw" target="_BUdbsBwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_K93l8BwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcBwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcRwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCchwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCdBwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C4xwgEeKYb8ts8yUAsw" type="6026">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5BwgEeKYb8ts8yUAsw" x="27" y="66"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C5RwgEeKYb8ts8yUAsw" type="6027">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5hwgEeKYb8ts8yUAsw" y="60"/>
+ </children>
+ <styles xmi:type="notation:FontStyle" xmi:id="_Fe6C4RwgEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Dependency" href="UnapplyStereotype.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Fe6C4hwgEeKYb8ts8yUAsw" points="[-7, -10, 0, 150]$[-4, -140, 3, 20]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogBwgEeKYb8ts8yUAsw" id="(0.51,0.1)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogRwgEeKYb8ts8yUAsw" id="(0.5333333333333333,0.8)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_qyAF8BwgEeKYb8ts8yUAsw" type="AppliedStereotypesCommentLink" source="_BUdbsBwgEeKYb8ts8yUAsw" target="_qx28ABwgEeKYb8ts8yUAsw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_qyAF8RwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qyAF9RwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="UnapplyStereotype.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qyAF8hwgEeKYb8ts8yUAsw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qyAF8xwgEeKYb8ts8yUAsw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qyAF9BwgEeKYb8ts8yUAsw"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_1fQ55BwgEeKYb8ts8yUAsw" type="AppliedStereotypesCommentLink" source="_Fe6C4BwgEeKYb8ts8yUAsw" target="_1fQ54BwgEeKYb8ts8yUAsw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_1fQ55RwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_1fQ56RwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="UnapplyStereotype.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_1fQ55hwgEeKYb8ts8yUAsw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1fQ55xwgEeKYb8ts8yUAsw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1fQ56BwgEeKYb8ts8yUAsw"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyStereotype.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyStereotype.uml
new file mode 100644
index 00000000000..8a482e7fbf7
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/deletion/UnapplyStereotype.uml
@@ -0,0 +1,19 @@
+<?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:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:testProfile="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0 pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg">
+ <uml:Model xmi:id="_6wmGEBwfEeKYb8ts8yUAsw" name="model">
+ <ownedComment xmi:id="_Mfd7kBwgEeKYb8ts8yUAsw">
+ <body>Unapply Stereotype. The comments have to disappear.</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_BPjGgBwgEeKYb8ts8yUAsw" name="StereotypedClass"/>
+ <packagedElement xmi:type="uml:Class" xmi:id="_EmOucBwgEeKYb8ts8yUAsw" clientDependency="_FcrOQBwgEeKYb8ts8yUAsw" name="Class1"/>
+ <packagedElement xmi:type="uml:Dependency" xmi:id="_FcrOQBwgEeKYb8ts8yUAsw" name="StereotypedLink" client="_EmOucBwgEeKYb8ts8yUAsw" supplier="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <profileApplication xmi:id="_ARp64BwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:id="_AR810BwgEeKYb8ts8yUAsw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg"/>
+ </eAnnotations>
+ <appliedProfile href="pathmap://Test_PROFILES/testProfile.profile.uml#_UVrRoGkdEeGGJOTenKBKAg"/>
+ </profileApplication>
+ </uml:Model>
+ <testProfile:Stereotype1 xmi:id="_J8_-0BwgEeKYb8ts8yUAsw" base_Element="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <testProfile:Stereotype1 xmi:id="_K9t08BwgEeKYb8ts8yUAsw" base_Element="_FcrOQBwgEeKYb8ts8yUAsw"/>
+</xmi:XMI>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveComment.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveComment.di
new file mode 100644
index 00000000000..e0a824c798a
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveComment.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="MoveComment.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="MoveComment.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveComment.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveComment.notation
new file mode 100644
index 00000000000..581f3e95e2b
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveComment.notation
@@ -0,0 +1,156 @@
+<?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="_9fRS0BwfEeKYb8ts8yUAsw" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_BUdbsBwgEeKYb8ts8yUAsw" type="2008">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_J-WCoBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgBwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgRwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZghwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZhBwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_BUmloBwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gkBwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMgBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gkRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gkhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gkxwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5glBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5glRwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMghwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5glhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5glxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gmBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gmRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gmhwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVf9gBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVf9gRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gmxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gnBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gnRwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gnhwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="MoveComment.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BUdbsRwgEeKYb8ts8yUAsw" x="195" y="115" width="150"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_EmX4YBwgEeKYb8ts8yUAsw" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_EmX4YhwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4YxwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4chwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4cxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4ZBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ZRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4ZhwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4ZxwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4aBwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4aRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ahwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4axwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4bBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4bRwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dhwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4bhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4bxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4cBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4cRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="MoveComment.uml#_EmOucBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4YRwgEeKYb8ts8yUAsw" x="225" y="325"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_MiI1EBwgEeKYb8ts8yUAsw" type="2012" fontName="Sylfaen">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_V2bq8BwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_V2bq8RwgEeKYb8ts8yUAsw" key="bold" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_XGxRcBwgEeKYb8ts8yUAsw" key="fontColor" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Fw-04BwhEeKYb8ts8yUAsw" key="fontHeight" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_MiI1EhwgEeKYb8ts8yUAsw" type="5038"/>
+ <element xmi:type="uml:Comment" href="MoveComment.uml#_Mfd7kBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MiI1ERwgEeKYb8ts8yUAsw" x="195" y="20" width="271" height="51"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_qx28ABwgEeKYb8ts8yUAsw" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zxUxYBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxaxwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbBwgEeKYb8ts8yUAsw" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbRwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbhwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbxwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_qx28ARwgEeKYb8ts8yUAsw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qx28AxwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="MoveComment.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qx28AhwgEeKYb8ts8yUAsw" x="685" y="115"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_1fQ54BwgEeKYb8ts8yUAsw" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3xgpUBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpWxwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXBwgEeKYb8ts8yUAsw" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXRwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXhwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXxwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_1fQ54RwgEeKYb8ts8yUAsw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_1fQ54xwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="MoveComment.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1fQ54hwgEeKYb8ts8yUAsw" x="415" y="250"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_9fRS0RwfEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Model" href="MoveComment.uml#_6wmGEBwfEeKYb8ts8yUAsw"/>
+ <edges xmi:type="notation:Connector" xmi:id="_Fe6C4BwgEeKYb8ts8yUAsw" type="4008" source="_EmX4YBwgEeKYb8ts8yUAsw" target="_BUdbsBwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_K93l8BwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcBwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcRwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCchwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCdBwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C4xwgEeKYb8ts8yUAsw" type="6026">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5BwgEeKYb8ts8yUAsw" x="27" y="66"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C5RwgEeKYb8ts8yUAsw" type="6027">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5hwgEeKYb8ts8yUAsw" y="60"/>
+ </children>
+ <styles xmi:type="notation:FontStyle" xmi:id="_Fe6C4RwgEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Dependency" href="MoveComment.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Fe6C4hwgEeKYb8ts8yUAsw" points="[-7, -10, 0, 150]$[-4, -140, 3, 20]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogBwgEeKYb8ts8yUAsw" id="(0.51,0.1)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogRwgEeKYb8ts8yUAsw" id="(0.5333333333333333,0.8)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_qyAF8BwgEeKYb8ts8yUAsw" type="AppliedStereotypesCommentLink" source="_BUdbsBwgEeKYb8ts8yUAsw" target="_qx28ABwgEeKYb8ts8yUAsw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_qyAF8RwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qyAF9RwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="MoveComment.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qyAF8hwgEeKYb8ts8yUAsw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qyAF8xwgEeKYb8ts8yUAsw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qyAF9BwgEeKYb8ts8yUAsw"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_1fQ55BwgEeKYb8ts8yUAsw" type="AppliedStereotypesCommentLink" source="_Fe6C4BwgEeKYb8ts8yUAsw" target="_1fQ54BwgEeKYb8ts8yUAsw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_1fQ55RwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_1fQ56RwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="MoveComment.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_1fQ55hwgEeKYb8ts8yUAsw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1fQ55xwgEeKYb8ts8yUAsw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1fQ56BwgEeKYb8ts8yUAsw"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveComment.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveComment.uml
new file mode 100644
index 00000000000..772cb3d6ddf
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveComment.uml
@@ -0,0 +1,19 @@
+<?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:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:testProfile="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0 pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg">
+ <uml:Model xmi:id="_6wmGEBwfEeKYb8ts8yUAsw" name="model">
+ <ownedComment xmi:id="_Mfd7kBwgEeKYb8ts8yUAsw">
+ <body>Move and change colors of comment</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_BPjGgBwgEeKYb8ts8yUAsw" name="StereotypedClass"/>
+ <packagedElement xmi:type="uml:Class" xmi:id="_EmOucBwgEeKYb8ts8yUAsw" clientDependency="_FcrOQBwgEeKYb8ts8yUAsw" name="Class1"/>
+ <packagedElement xmi:type="uml:Dependency" xmi:id="_FcrOQBwgEeKYb8ts8yUAsw" name="StereotypedLink" client="_EmOucBwgEeKYb8ts8yUAsw" supplier="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <profileApplication xmi:id="_ARp64BwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:id="_AR810BwgEeKYb8ts8yUAsw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg"/>
+ </eAnnotations>
+ <appliedProfile href="pathmap://Test_PROFILES/testProfile.profile.uml#_UVrRoGkdEeGGJOTenKBKAg"/>
+ </profileApplication>
+ </uml:Model>
+ <testProfile:Stereotype1 xmi:id="_J8_-0BwgEeKYb8ts8yUAsw" base_Element="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <testProfile:Stereotype1 xmi:id="_K9t08BwgEeKYb8ts8yUAsw" base_Element="_FcrOQBwgEeKYb8ts8yUAsw"/>
+</xmi:XMI>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveCommentWithPackage.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveCommentWithPackage.di
new file mode 100644
index 00000000000..85967d92d59
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveCommentWithPackage.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="MoveCommentWithPackage.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="MoveCommentWithPackage.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveCommentWithPackage.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveCommentWithPackage.notation
new file mode 100644
index 00000000000..1e10c434c2d
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveCommentWithPackage.notation
@@ -0,0 +1,168 @@
+<?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="_9fRS0BwfEeKYb8ts8yUAsw" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_BUdbsBwgEeKYb8ts8yUAsw" type="2008">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_J-WCoBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgBwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgRwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZghwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZhBwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_BUmloBwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gkBwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMgBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gkRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gkhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gkxwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5glBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5glRwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMghwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5glhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5glxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gmBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gmRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gmhwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVf9gBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVf9gRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gmxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gnBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gnRwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gnhwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="MoveCommentWithPackage.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BUdbsRwgEeKYb8ts8yUAsw" x="195" y="115" width="150"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_EmX4YBwgEeKYb8ts8yUAsw" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_EmX4YhwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4YxwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4chwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4cxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4ZBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ZRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4ZhwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4ZxwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4aBwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4aRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ahwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4axwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4bBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4bRwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dhwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4bhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4bxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4cBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4cRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="MoveCommentWithPackage.uml#_EmOucBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4YRwgEeKYb8ts8yUAsw" x="225" y="325"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_MiI1EBwgEeKYb8ts8yUAsw" type="2012" fontName="Sylfaen">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_V2bq8BwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_V2bq8RwgEeKYb8ts8yUAsw" key="bold" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_XGxRcBwgEeKYb8ts8yUAsw" key="fontColor" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Fw-04BwhEeKYb8ts8yUAsw" key="fontHeight" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_MiI1EhwgEeKYb8ts8yUAsw" type="5038"/>
+ <element xmi:type="uml:Comment" href="MoveCommentWithPackage.uml#_Mfd7kBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MiI1ERwgEeKYb8ts8yUAsw" x="195" y="20" width="271" height="51"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_qx28ABwgEeKYb8ts8yUAsw" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zxUxYBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxaxwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbBwgEeKYb8ts8yUAsw" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbRwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbhwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbxwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_qx28ARwgEeKYb8ts8yUAsw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qx28AxwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="MoveCommentWithPackage.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qx28AhwgEeKYb8ts8yUAsw" x="685" y="115"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_1fQ54BwgEeKYb8ts8yUAsw" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3xgpUBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpWxwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXBwgEeKYb8ts8yUAsw" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXRwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXhwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXxwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_1fQ54RwgEeKYb8ts8yUAsw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_1fQ54xwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="MoveCommentWithPackage.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1fQ54hwgEeKYb8ts8yUAsw" x="415" y="250"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_hBE6QBwnEeKYb8ts8yUAsw" type="2007">
+ <children xmi:type="notation:DecorationNode" xmi:id="_hBE6QhwnEeKYb8ts8yUAsw" type="5026"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_hBE6QxwnEeKYb8ts8yUAsw" type="7016">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hBE6RhwnEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hBE6RxwnEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_hBE6RBwnEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hBE6RRwnEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Package" href="MoveCommentWithPackage.uml#_hA7wUBwnEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hBE6QRwnEeKYb8ts8yUAsw" x="440" y="425" width="436" height="271"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_9fRS0RwfEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Model" href="MoveCommentWithPackage.uml#_6wmGEBwfEeKYb8ts8yUAsw"/>
+ <edges xmi:type="notation:Connector" xmi:id="_Fe6C4BwgEeKYb8ts8yUAsw" type="4008" source="_EmX4YBwgEeKYb8ts8yUAsw" target="_BUdbsBwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_K93l8BwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcBwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcRwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCchwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCdBwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C4xwgEeKYb8ts8yUAsw" type="6026">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5BwgEeKYb8ts8yUAsw" x="27" y="66"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C5RwgEeKYb8ts8yUAsw" type="6027">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5hwgEeKYb8ts8yUAsw" y="60"/>
+ </children>
+ <styles xmi:type="notation:FontStyle" xmi:id="_Fe6C4RwgEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Dependency" href="MoveCommentWithPackage.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Fe6C4hwgEeKYb8ts8yUAsw" points="[-7, -10, 0, 150]$[-4, -140, 3, 20]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogBwgEeKYb8ts8yUAsw" id="(0.51,0.1)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogRwgEeKYb8ts8yUAsw" id="(0.5333333333333333,0.8)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_qyAF8BwgEeKYb8ts8yUAsw" type="AppliedStereotypesCommentLink" source="_BUdbsBwgEeKYb8ts8yUAsw" target="_qx28ABwgEeKYb8ts8yUAsw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_qyAF8RwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qyAF9RwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="MoveCommentWithPackage.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qyAF8hwgEeKYb8ts8yUAsw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qyAF8xwgEeKYb8ts8yUAsw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qyAF9BwgEeKYb8ts8yUAsw"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_1fQ55BwgEeKYb8ts8yUAsw" type="AppliedStereotypesCommentLink" source="_Fe6C4BwgEeKYb8ts8yUAsw" target="_1fQ54BwgEeKYb8ts8yUAsw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_1fQ55RwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_1fQ56RwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="MoveCommentWithPackage.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_1fQ55hwgEeKYb8ts8yUAsw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1fQ55xwgEeKYb8ts8yUAsw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1fQ56BwgEeKYb8ts8yUAsw"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveCommentWithPackage.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveCommentWithPackage.uml
new file mode 100644
index 00000000000..99d3b832ef5
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveCommentWithPackage.uml
@@ -0,0 +1,20 @@
+<?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:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:testProfile="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0 pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg">
+ <uml:Model xmi:id="_6wmGEBwfEeKYb8ts8yUAsw" name="model">
+ <ownedComment xmi:id="_Mfd7kBwgEeKYb8ts8yUAsw">
+ <body>Move comments in package. semantic element must not move.</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_BPjGgBwgEeKYb8ts8yUAsw" name="StereotypedClass"/>
+ <packagedElement xmi:type="uml:Class" xmi:id="_EmOucBwgEeKYb8ts8yUAsw" clientDependency="_FcrOQBwgEeKYb8ts8yUAsw" name="Class1"/>
+ <packagedElement xmi:type="uml:Dependency" xmi:id="_FcrOQBwgEeKYb8ts8yUAsw" name="StereotypedLink" client="_EmOucBwgEeKYb8ts8yUAsw" supplier="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <packagedElement xmi:type="uml:Package" xmi:id="_hA7wUBwnEeKYb8ts8yUAsw" name="Package1"/>
+ <profileApplication xmi:id="_ARp64BwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:id="_AR810BwgEeKYb8ts8yUAsw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg"/>
+ </eAnnotations>
+ <appliedProfile href="pathmap://Test_PROFILES/testProfile.profile.uml#_UVrRoGkdEeGGJOTenKBKAg"/>
+ </profileApplication>
+ </uml:Model>
+ <testProfile:Stereotype1 xmi:id="_J8_-0BwgEeKYb8ts8yUAsw" base_Element="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <testProfile:Stereotype1 xmi:id="_K9t08BwgEeKYb8ts8yUAsw" base_Element="_FcrOQBwgEeKYb8ts8yUAsw"/>
+</xmi:XMI>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveSemanticWithPackage.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveSemanticWithPackage.di
new file mode 100644
index 00000000000..d955645a3c2
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveSemanticWithPackage.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="MoveSemanticWithPackage.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="MoveSemanticWithPackage.notation#_9fRS0BwfEeKYb8ts8yUAsw"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveSemanticWithPackage.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveSemanticWithPackage.notation
new file mode 100644
index 00000000000..2d92d7d37d7
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveSemanticWithPackage.notation
@@ -0,0 +1,168 @@
+<?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="_9fRS0BwfEeKYb8ts8yUAsw" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_BUdbsBwgEeKYb8ts8yUAsw" type="2008">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_J-WCoBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgBwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgRwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZghwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZgxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zwbZhBwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_BUmloBwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gkBwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMgBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gkRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gkhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gkxwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5glBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5glRwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVWMghwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVWMgxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5glhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5glxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gmBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gmRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_BU5gmhwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_BVf9gBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_BVf9gRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_BU5gmxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_BU5gnBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_BU5gnRwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BU5gnhwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="MoveSemanticWithPackage.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BUdbsRwgEeKYb8ts8yUAsw" x="195" y="115" width="150"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_EmX4YBwgEeKYb8ts8yUAsw" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_EmX4YhwgEeKYb8ts8yUAsw" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4YxwgEeKYb8ts8yUAsw" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4chwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4cxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4ZBwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ZRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4ZhwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4ZxwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4aBwgEeKYb8ts8yUAsw" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dBwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dRwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4aRwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4ahwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4axwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4bBwgEeKYb8ts8yUAsw"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_EmX4bRwgEeKYb8ts8yUAsw" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EmX4dhwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EmX4dxwgEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_EmX4bhwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_EmX4bxwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_EmX4cBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4cRwgEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Class" href="MoveSemanticWithPackage.uml#_EmOucBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EmX4YRwgEeKYb8ts8yUAsw" x="225" y="325"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_MiI1EBwgEeKYb8ts8yUAsw" type="2012" fontName="Sylfaen">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_V2bq8BwgEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_V2bq8RwgEeKYb8ts8yUAsw" key="bold" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_XGxRcBwgEeKYb8ts8yUAsw" key="fontColor" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Fw-04BwhEeKYb8ts8yUAsw" key="fontHeight" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_MiI1EhwgEeKYb8ts8yUAsw" type="5038"/>
+ <element xmi:type="uml:Comment" href="MoveSemanticWithPackage.uml#_Mfd7kBwgEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MiI1ERwgEeKYb8ts8yUAsw" x="195" y="20" width="271" height="51"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_qx28ABwgEeKYb8ts8yUAsw" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zxUxYBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxaxwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbBwgEeKYb8ts8yUAsw" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbRwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbhwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_zxUxbxwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_qx28ARwgEeKYb8ts8yUAsw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qx28AxwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="MoveSemanticWithPackage.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qx28AhwgEeKYb8ts8yUAsw" x="685" y="115"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_1fQ54BwgEeKYb8ts8yUAsw" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_3xgpUBwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpWxwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXBwgEeKYb8ts8yUAsw" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXRwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXhwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3xgpXxwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_1fQ54RwgEeKYb8ts8yUAsw" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_1fQ54xwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="MoveSemanticWithPackage.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1fQ54hwgEeKYb8ts8yUAsw" x="415" y="250"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_hBE6QBwnEeKYb8ts8yUAsw" type="2007">
+ <children xmi:type="notation:DecorationNode" xmi:id="_hBE6QhwnEeKYb8ts8yUAsw" type="5026"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_hBE6QxwnEeKYb8ts8yUAsw" type="7016">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hBE6RhwnEeKYb8ts8yUAsw" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hBE6RxwnEeKYb8ts8yUAsw" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_hBE6RBwnEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hBE6RRwnEeKYb8ts8yUAsw"/>
+ </children>
+ <element xmi:type="uml:Package" href="MoveSemanticWithPackage.uml#_hA7wUBwnEeKYb8ts8yUAsw"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hBE6QRwnEeKYb8ts8yUAsw" x="440" y="425" width="436" height="271"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_9fRS0RwfEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Model" href="MoveSemanticWithPackage.uml#_6wmGEBwfEeKYb8ts8yUAsw"/>
+ <edges xmi:type="notation:Connector" xmi:id="_Fe6C4BwgEeKYb8ts8yUAsw" type="4008" source="_EmX4YBwgEeKYb8ts8yUAsw" target="_BUdbsBwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_K93l8BwgEeKYb8ts8yUAsw" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcBwgEeKYb8ts8yUAsw" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcRwgEeKYb8ts8yUAsw" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCchwgEeKYb8ts8yUAsw" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCcxwgEeKYb8ts8yUAsw" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_3wxCdBwgEeKYb8ts8yUAsw" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C4xwgEeKYb8ts8yUAsw" type="6026">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5BwgEeKYb8ts8yUAsw" x="27" y="66"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_Fe6C5RwgEeKYb8ts8yUAsw" type="6027">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Fe6C5hwgEeKYb8ts8yUAsw" y="60"/>
+ </children>
+ <styles xmi:type="notation:FontStyle" xmi:id="_Fe6C4RwgEeKYb8ts8yUAsw"/>
+ <element xmi:type="uml:Dependency" href="MoveSemanticWithPackage.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Fe6C4hwgEeKYb8ts8yUAsw" points="[-7, -10, 0, 150]$[-4, -140, 3, 20]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogBwgEeKYb8ts8yUAsw" id="(0.51,0.1)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FhSogRwgEeKYb8ts8yUAsw" id="(0.5333333333333333,0.8)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_qyAF8BwgEeKYb8ts8yUAsw" type="AppliedStereotypesCommentLink" source="_BUdbsBwgEeKYb8ts8yUAsw" target="_qx28ABwgEeKYb8ts8yUAsw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_qyAF8RwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qyAF9RwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="MoveSemanticWithPackage.uml#_BPjGgBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qyAF8hwgEeKYb8ts8yUAsw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qyAF8xwgEeKYb8ts8yUAsw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qyAF9BwgEeKYb8ts8yUAsw"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_1fQ55BwgEeKYb8ts8yUAsw" type="AppliedStereotypesCommentLink" source="_Fe6C4BwgEeKYb8ts8yUAsw" target="_1fQ54BwgEeKYb8ts8yUAsw">
+ <styles xmi:type="notation:FontStyle" xmi:id="_1fQ55RwgEeKYb8ts8yUAsw"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_1fQ56RwgEeKYb8ts8yUAsw" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="MoveSemanticWithPackage.uml#_FcrOQBwgEeKYb8ts8yUAsw"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_1fQ55hwgEeKYb8ts8yUAsw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1fQ55xwgEeKYb8ts8yUAsw"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1fQ56BwgEeKYb8ts8yUAsw"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveSemanticWithPackage.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveSemanticWithPackage.uml
new file mode 100644
index 00000000000..99d3b832ef5
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/move/MoveSemanticWithPackage.uml
@@ -0,0 +1,20 @@
+<?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:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:testProfile="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0 pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg">
+ <uml:Model xmi:id="_6wmGEBwfEeKYb8ts8yUAsw" name="model">
+ <ownedComment xmi:id="_Mfd7kBwgEeKYb8ts8yUAsw">
+ <body>Move comments in package. semantic element must not move.</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_BPjGgBwgEeKYb8ts8yUAsw" name="StereotypedClass"/>
+ <packagedElement xmi:type="uml:Class" xmi:id="_EmOucBwgEeKYb8ts8yUAsw" clientDependency="_FcrOQBwgEeKYb8ts8yUAsw" name="Class1"/>
+ <packagedElement xmi:type="uml:Dependency" xmi:id="_FcrOQBwgEeKYb8ts8yUAsw" name="StereotypedLink" client="_EmOucBwgEeKYb8ts8yUAsw" supplier="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <packagedElement xmi:type="uml:Package" xmi:id="_hA7wUBwnEeKYb8ts8yUAsw" name="Package1"/>
+ <profileApplication xmi:id="_ARp64BwgEeKYb8ts8yUAsw">
+ <eAnnotations xmi:id="_AR810BwgEeKYb8ts8yUAsw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg"/>
+ </eAnnotations>
+ <appliedProfile href="pathmap://Test_PROFILES/testProfile.profile.uml#_UVrRoGkdEeGGJOTenKBKAg"/>
+ </profileApplication>
+ </uml:Model>
+ <testProfile:Stereotype1 xmi:id="_J8_-0BwgEeKYb8ts8yUAsw" base_Element="_BPjGgBwgEeKYb8ts8yUAsw"/>
+ <testProfile:Stereotype1 xmi:id="_K9t08BwgEeKYb8ts8yUAsw" base_Element="_FcrOQBwgEeKYb8ts8yUAsw"/>
+</xmi:XMI>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Crash.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Crash.di
new file mode 100644
index 00000000000..3786985896e
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Crash.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="Crash.notation#_SmiVkDluEeKTMrwDeceu8w"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="Crash.notation#_SmiVkDluEeKTMrwDeceu8w"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Crash.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Crash.notation
new file mode 100644
index 00000000000..0bcc33758fa
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Crash.notation
@@ -0,0 +1,174 @@
+<?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="_SmiVkDluEeKTMrwDeceu8w" type="PapyrusUMLClassDiagram" name="EditorCrash" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_U8p4YTluEeKTMrwDeceu8w" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_U8p4YzluEeKTMrwDeceu8w" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_U8p4ZDluEeKTMrwDeceu8w" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_U8p4czluEeKTMrwDeceu8w" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_U8p4dDluEeKTMrwDeceu8w" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_U8p4ZTluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_U8p4ZjluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_U8p4ZzluEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_U8p4aDluEeKTMrwDeceu8w"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_U8p4aTluEeKTMrwDeceu8w" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_U8p4dTluEeKTMrwDeceu8w" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_U8p4djluEeKTMrwDeceu8w" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_U8p4ajluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_U8p4azluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_U8p4bDluEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_U8p4bTluEeKTMrwDeceu8w"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_U8p4bjluEeKTMrwDeceu8w" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_U8p4dzluEeKTMrwDeceu8w" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_U8p4eDluEeKTMrwDeceu8w" key="showTitle" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_W28a0DluEeKTMrwDeceu8w" key="visible" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_U8p4bzluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_U8p4cDluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_U8p4cTluEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_U8p4cjluEeKTMrwDeceu8w"/>
+ </children>
+ <element xmi:type="uml:Class" href="Crash.uml#_U8p4YDluEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_U8p4YjluEeKTMrwDeceu8w" x="270" y="202"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_VWPdETluEeKTMrwDeceu8w" type="2008">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_aZZN4DluEeKTMrwDeceu8w" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnf4oDluEeKTMrwDeceu8w" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnf4oTluEeKTMrwDeceu8w" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnf4ojluEeKTMrwDeceu8w" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnf4ozluEeKTMrwDeceu8w" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnf4pDluEeKTMrwDeceu8w" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_VWPdEzluEeKTMrwDeceu8w" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_VWPdFDluEeKTMrwDeceu8w" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_VWZOFTluEeKTMrwDeceu8w" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_VWZOFjluEeKTMrwDeceu8w" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_VWPdFTluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_VWPdFjluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_VWPdFzluEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VWPdGDluEeKTMrwDeceu8w"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_VWPdGTluEeKTMrwDeceu8w" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_VWZOFzluEeKTMrwDeceu8w" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_VWZOGDluEeKTMrwDeceu8w" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_VWPdGjluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_VWPdGzluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_VWPdHDluEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VWPdHTluEeKTMrwDeceu8w"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_VWZOEDluEeKTMrwDeceu8w" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_VWZOGTluEeKTMrwDeceu8w" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_VWZOGjluEeKTMrwDeceu8w" key="showTitle" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YNPfYDluEeKTMrwDeceu8w" key="visible" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_VWZOETluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_VWZOEjluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_VWZOEzluEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VWZOFDluEeKTMrwDeceu8w"/>
+ </children>
+ <element xmi:type="uml:Class" href="Crash.uml#_VWPdEDluEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VWPdEjluEeKTMrwDeceu8w" x="260" y="500" width="121"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_rnppoDluEeKTMrwDeceu8w" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_rnppqjluEeKTMrwDeceu8w" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnpptTluEeKTMrwDeceu8w" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnpptjluEeKTMrwDeceu8w" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnpptzluEeKTMrwDeceu8w" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnppuDluEeKTMrwDeceu8w" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnppuTluEeKTMrwDeceu8w" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_rnppoTluEeKTMrwDeceu8w" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_rnppozluEeKTMrwDeceu8w" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="Crash.uml#_VWPdEDluEeKTMrwDeceu8w"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rnppojluEeKTMrwDeceu8w" x="585" y="480"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_tvL94DluEeKTMrwDeceu8w" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_tvL96jluEeKTMrwDeceu8w" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tvL99TluEeKTMrwDeceu8w" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tvL99jluEeKTMrwDeceu8w" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tvL99zluEeKTMrwDeceu8w" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tvL9-DluEeKTMrwDeceu8w" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tvL9-TluEeKTMrwDeceu8w" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_tvL94TluEeKTMrwDeceu8w" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_tvL94zluEeKTMrwDeceu8w" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="Crash.uml#_kd4KkDluEeKTMrwDeceu8w"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_tvL94jluEeKTMrwDeceu8w" x="565" y="285"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_wYydYDluEeKTMrwDeceu8w" type="2016" element="_SmiVkDluEeKTMrwDeceu8w">
+ <children xmi:type="notation:DecorationNode" xmi:id="_wYydYjluEeKTMrwDeceu8w" type="0">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_wYydYzluEeKTMrwDeceu8w" x="-7" y="40"/>
+ </children>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wYydYTluEeKTMrwDeceu8w" x="1015" y="120" width="34" height="20"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_w-ucADluEeKTMrwDeceu8w" type="2012">
+ <children xmi:type="notation:DecorationNode" xmi:id="_w-ucAjluEeKTMrwDeceu8w" type="5038"/>
+ <element xmi:type="uml:Comment" href="Crash.uml#_w8C7cDluEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_w-ucATluEeKTMrwDeceu8w" x="440" y="40" width="316" height="86"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_BqnxkDlvEeKTMrwDeceu8w" type="2011">
+ <children xmi:type="notation:DecorationNode" xmi:id="_BqnxkjlvEeKTMrwDeceu8w" type="5037"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_BqnxkzlvEeKTMrwDeceu8w" type="5159"/>
+ <element xmi:type="uml:Constraint" href="Crash.uml#_BqU2oDlvEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BqnxkTlvEeKTMrwDeceu8w" x="1030" y="275" width="241" height="76"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_SmiVkTluEeKTMrwDeceu8w"/>
+ <element xmi:type="uml:Model" href="Crash.uml#_SmYkkDluEeKTMrwDeceu8w"/>
+ <edges xmi:type="notation:Connector" xmi:id="_kd4KkTluEeKTMrwDeceu8w" type="4008" source="_VWPdETluEeKTMrwDeceu8w" target="_U8p4YTluEeKTMrwDeceu8w">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ofjQQDluEeKTMrwDeceu8w" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tuI1ADluEeKTMrwDeceu8w" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tuI1ATluEeKTMrwDeceu8w" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tuI1AjluEeKTMrwDeceu8w" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tuI1AzluEeKTMrwDeceu8w" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tuI1BDluEeKTMrwDeceu8w" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_kd4KlDluEeKTMrwDeceu8w" type="6026">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_kd4KlTluEeKTMrwDeceu8w" x="4" y="-53"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_kd4KljluEeKTMrwDeceu8w" type="6027">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_kd4KlzluEeKTMrwDeceu8w" x="29" y="127"/>
+ </children>
+ <styles xmi:type="notation:FontStyle" xmi:id="_kd4KkjluEeKTMrwDeceu8w"/>
+ <element xmi:type="uml:Dependency" href="Crash.uml#_kd4KkDluEeKTMrwDeceu8w"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_kd4KkzluEeKTMrwDeceu8w" points="[-2, -52, -2, 248]$[-50, -298, -50, 2]"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_rnpppDluEeKTMrwDeceu8w" type="AppliedStereotypesCommentLink" source="_VWPdETluEeKTMrwDeceu8w" target="_rnppoDluEeKTMrwDeceu8w">
+ <styles xmi:type="notation:FontStyle" xmi:id="_rnpppTluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_rnppqTluEeKTMrwDeceu8w" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="Crash.uml#_VWPdEDluEeKTMrwDeceu8w"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_rnpppjluEeKTMrwDeceu8w" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_rnpppzluEeKTMrwDeceu8w"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_rnppqDluEeKTMrwDeceu8w"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_tvL95DluEeKTMrwDeceu8w" type="AppliedStereotypesCommentLink" source="_kd4KkTluEeKTMrwDeceu8w" target="_tvL94DluEeKTMrwDeceu8w">
+ <styles xmi:type="notation:FontStyle" xmi:id="_tvL95TluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_tvL96TluEeKTMrwDeceu8w" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="Crash.uml#_kd4KkDluEeKTMrwDeceu8w"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_tvL95jluEeKTMrwDeceu8w" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_tvL95zluEeKTMrwDeceu8w"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_tvL96DluEeKTMrwDeceu8w"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_2rXOsDluEeKTMrwDeceu8w" type="4013" source="_w-ucADluEeKTMrwDeceu8w" target="_U8p4YTluEeKTMrwDeceu8w">
+ <styles xmi:type="notation:FontStyle" xmi:id="_2rXOsTluEeKTMrwDeceu8w"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_2rXOsjluEeKTMrwDeceu8w" points="[-74, 43, 204, -126]$[-232, 119, 46, -50]"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_Gd_Z8DlvEeKTMrwDeceu8w" type="4014" source="_BqnxkDlvEeKTMrwDeceu8w" target="_w-ucADluEeKTMrwDeceu8w">
+ <styles xmi:type="notation:FontStyle" xmi:id="_Gd_Z8TlvEeKTMrwDeceu8w"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Gd_Z8jlvEeKTMrwDeceu8w" points="[-120, -29, 519, 124]$[-584, -139, 55, 14]"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GeSU4DlvEeKTMrwDeceu8w" id="(0.8259493670886076,0.813953488372093)"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Crash.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Crash.uml
new file mode 100644
index 00000000000..bac4ceff4c6
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Crash.uml
@@ -0,0 +1,26 @@
+<?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:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:testProfile="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0 pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg">
+ <uml:Model xmi:id="_SmYkkDluEeKTMrwDeceu8w" name="model">
+ <ownedComment xmi:id="_w8C7cDluEeKTMrwDeceu8w" annotatedElement="_U8p4YDluEeKTMrwDeceu8w">
+ <body>The editor should not crash when non-UML elements are displayed (e.g. Diagram shortcut, Comment/Constraint link, ...)</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_U8p4YDluEeKTMrwDeceu8w" name="Class1">
+ <ownedRule xmi:id="_BqU2oDlvEeKTMrwDeceu8w" name="NoCrashConstraint" constrainedElement="_w8C7cDluEeKTMrwDeceu8w">
+ <specification xmi:type="uml:OpaqueExpression" xmi:id="_EruyIDlvEeKTMrwDeceu8w">
+ <language>Natural language</language>
+ <body>The Papyrus Editor must not crash</body>
+ </specification>
+ </ownedRule>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Class" xmi:id="_VWPdEDluEeKTMrwDeceu8w" clientDependency="_kd4KkDluEeKTMrwDeceu8w" name="StereotypedClass"/>
+ <packagedElement xmi:type="uml:Dependency" xmi:id="_kd4KkDluEeKTMrwDeceu8w" name="StereotypedLink" client="_VWPdEDluEeKTMrwDeceu8w" supplier="_U8p4YDluEeKTMrwDeceu8w"/>
+ <profileApplication xmi:id="_Upd2oDluEeKTMrwDeceu8w">
+ <eAnnotations xmi:id="_UpwxkDluEeKTMrwDeceu8w" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg"/>
+ </eAnnotations>
+ <appliedProfile href="pathmap://Test_PROFILES/testProfile.profile.uml#_UVrRoGkdEeGGJOTenKBKAg"/>
+ </profileApplication>
+ </uml:Model>
+ <testProfile:Stereotype1 xmi:id="_aZPc4DluEeKTMrwDeceu8w" base_Element="_VWPdEDluEeKTMrwDeceu8w"/>
+ <testProfile:Stereotype1 xmi:id="_ofZfQDluEeKTMrwDeceu8w" base_Element="_kd4KkDluEeKTMrwDeceu8w"/>
+</xmi:XMI>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Reopen.di b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Reopen.di
new file mode 100644
index 00000000000..833c217bee1
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Reopen.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="Reopen.notation#_SmiVkDluEeKTMrwDeceu8w"/>
+ </availablePage>
+ </pageList>
+ <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
+ <windows>
+ <children xsi:type="di:TabFolder">
+ <children>
+ <emfPageIdentifier href="Reopen.notation#_SmiVkDluEeKTMrwDeceu8w"/>
+ </children>
+ </children>
+ </windows>
+ </sashModel>
+</di:SashWindowsMngr>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Reopen.notation b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Reopen.notation
new file mode 100644
index 00000000000..c88707adb99
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Reopen.notation
@@ -0,0 +1,172 @@
+<?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="_SmiVkDluEeKTMrwDeceu8w" type="PapyrusUMLClassDiagram" name="EditorReopen" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_U8p4YTluEeKTMrwDeceu8w" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_U8p4YzluEeKTMrwDeceu8w" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_U8p4ZDluEeKTMrwDeceu8w" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_U8p4czluEeKTMrwDeceu8w" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_U8p4dDluEeKTMrwDeceu8w" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_U8p4ZTluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_U8p4ZjluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_U8p4ZzluEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_U8p4aDluEeKTMrwDeceu8w"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_U8p4aTluEeKTMrwDeceu8w" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_U8p4dTluEeKTMrwDeceu8w" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_U8p4djluEeKTMrwDeceu8w" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_U8p4ajluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_U8p4azluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_U8p4bDluEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_U8p4bTluEeKTMrwDeceu8w"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_U8p4bjluEeKTMrwDeceu8w" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_U8p4dzluEeKTMrwDeceu8w" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_U8p4eDluEeKTMrwDeceu8w" key="showTitle" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_W28a0DluEeKTMrwDeceu8w" key="visible" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_U8p4bzluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_U8p4cDluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_U8p4cTluEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_U8p4cjluEeKTMrwDeceu8w"/>
+ </children>
+ <element xmi:type="uml:Class" href="Reopen.uml#_U8p4YDluEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_U8p4YjluEeKTMrwDeceu8w" x="270" y="202"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_VWPdETluEeKTMrwDeceu8w" type="2008">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_aZZN4DluEeKTMrwDeceu8w" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnf4oDluEeKTMrwDeceu8w" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnf4oTluEeKTMrwDeceu8w" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnf4ojluEeKTMrwDeceu8w" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnf4ozluEeKTMrwDeceu8w" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnf4pDluEeKTMrwDeceu8w" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_VWPdEzluEeKTMrwDeceu8w" type="5029"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_VWPdFDluEeKTMrwDeceu8w" type="7017">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_VWZOFTluEeKTMrwDeceu8w" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_VWZOFjluEeKTMrwDeceu8w" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_VWPdFTluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_VWPdFjluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_VWPdFzluEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VWPdGDluEeKTMrwDeceu8w"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_VWPdGTluEeKTMrwDeceu8w" type="7018">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_VWZOFzluEeKTMrwDeceu8w" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_VWZOGDluEeKTMrwDeceu8w" key="showTitle" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_VWPdGjluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_VWPdGzluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_VWPdHDluEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VWPdHTluEeKTMrwDeceu8w"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_VWZOEDluEeKTMrwDeceu8w" type="7019">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_VWZOGTluEeKTMrwDeceu8w" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_VWZOGjluEeKTMrwDeceu8w" key="showTitle" value="true"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YNPfYDluEeKTMrwDeceu8w" key="visible" value="true"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_VWZOETluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_VWZOEjluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_VWZOEzluEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VWZOFDluEeKTMrwDeceu8w"/>
+ </children>
+ <element xmi:type="uml:Class" href="Reopen.uml#_VWPdEDluEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VWPdEjluEeKTMrwDeceu8w" x="260" y="500" width="121"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_rnppoDluEeKTMrwDeceu8w" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_rnppqjluEeKTMrwDeceu8w" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnpptTluEeKTMrwDeceu8w" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnpptjluEeKTMrwDeceu8w" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnpptzluEeKTMrwDeceu8w" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnppuDluEeKTMrwDeceu8w" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rnppuTluEeKTMrwDeceu8w" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_rnppoTluEeKTMrwDeceu8w" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_rnppozluEeKTMrwDeceu8w" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="Reopen.uml#_VWPdEDluEeKTMrwDeceu8w"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rnppojluEeKTMrwDeceu8w" x="585" y="480"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_tvL94DluEeKTMrwDeceu8w" type="AppliedStereotypesComment">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_tvL96jluEeKTMrwDeceu8w" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tvL99TluEeKTMrwDeceu8w" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tvL99jluEeKTMrwDeceu8w" key="StereotypeList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tvL99zluEeKTMrwDeceu8w" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tvL9-DluEeKTMrwDeceu8w" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tvL9-TluEeKTMrwDeceu8w" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_tvL94TluEeKTMrwDeceu8w" showTitle="true"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_tvL94zluEeKTMrwDeceu8w" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="Reopen.uml#_kd4KkDluEeKTMrwDeceu8w"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_tvL94jluEeKTMrwDeceu8w" x="565" y="285"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_wYydYDluEeKTMrwDeceu8w" type="2016" element="_SmiVkDluEeKTMrwDeceu8w">
+ <children xmi:type="notation:DecorationNode" xmi:id="_wYydYjluEeKTMrwDeceu8w" type="0">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_wYydYzluEeKTMrwDeceu8w" x="-7" y="40"/>
+ </children>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wYydYTluEeKTMrwDeceu8w" x="1015" y="195" width="34" height="20"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_w-ucADluEeKTMrwDeceu8w" type="2012">
+ <children xmi:type="notation:DecorationNode" xmi:id="_w-ucAjluEeKTMrwDeceu8w" type="5038"/>
+ <element xmi:type="uml:Comment" href="Reopen.uml#_w8C7cDluEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_w-ucATluEeKTMrwDeceu8w" x="440" y="40" width="316" height="86"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_9IhC4TlvEeKTMrwDeceu8w" type="2012">
+ <children xmi:type="notation:DecorationNode" xmi:id="_9IhC4zlvEeKTMrwDeceu8w" type="5038"/>
+ <element xmi:type="uml:Comment" href="Reopen.uml#_9IhC4DlvEeKTMrwDeceu8w"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9IhC4jlvEeKTMrwDeceu8w" x="945" y="40" width="456" height="86"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_SmiVkTluEeKTMrwDeceu8w"/>
+ <element xmi:type="uml:Model" href="Reopen.uml#_SmYkkDluEeKTMrwDeceu8w"/>
+ <edges xmi:type="notation:Connector" xmi:id="_kd4KkTluEeKTMrwDeceu8w" type="4008" source="_VWPdETluEeKTMrwDeceu8w" target="_U8p4YTluEeKTMrwDeceu8w">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ofjQQDluEeKTMrwDeceu8w" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tuI1ADluEeKTMrwDeceu8w" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tuI1ATluEeKTMrwDeceu8w" key="StereotypeList" value="testProfile::Stereotype1"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tuI1AjluEeKTMrwDeceu8w" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tuI1AzluEeKTMrwDeceu8w" key="PropStereoDisplay" value="testProfile::Stereotype1.testReftoStereotype2,testProfile::Stereotype1.testUnaryReftoStereotype2,testProfile::Stereotype1.testDataType,testProfile::Stereotype1.testMyPrimituveType,testProfile::Stereotype1.testInt,testProfile::Stereotype1.testMultiString,testProfile::Stereotype1.testRefToMetaclass,testProfile::Stereotype1.testRefToEnumeration"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_tuI1BDluEeKTMrwDeceu8w" key="StereotypePropertyLocation" value="Comment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_kd4KlDluEeKTMrwDeceu8w" type="6026">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_kd4KlTluEeKTMrwDeceu8w" x="4" y="-53"/>
+ </children>
+ <children xmi:type="notation:DecorationNode" xmi:id="_kd4KljluEeKTMrwDeceu8w" type="6027">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_kd4KlzluEeKTMrwDeceu8w" x="29" y="127"/>
+ </children>
+ <styles xmi:type="notation:FontStyle" xmi:id="_kd4KkjluEeKTMrwDeceu8w"/>
+ <element xmi:type="uml:Dependency" href="Reopen.uml#_kd4KkDluEeKTMrwDeceu8w"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_kd4KkzluEeKTMrwDeceu8w" points="[-2, -52, -2, 248]$[-50, -298, -50, 2]"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_rnpppDluEeKTMrwDeceu8w" type="AppliedStereotypesCommentLink" source="_VWPdETluEeKTMrwDeceu8w" target="_rnppoDluEeKTMrwDeceu8w">
+ <styles xmi:type="notation:FontStyle" xmi:id="_rnpppTluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_rnppqTluEeKTMrwDeceu8w" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Class" href="Reopen.uml#_VWPdEDluEeKTMrwDeceu8w"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_rnpppjluEeKTMrwDeceu8w" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_rnpppzluEeKTMrwDeceu8w"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_rnppqDluEeKTMrwDeceu8w"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_tvL95DluEeKTMrwDeceu8w" type="AppliedStereotypesCommentLink" source="_kd4KkTluEeKTMrwDeceu8w" target="_tvL94DluEeKTMrwDeceu8w">
+ <styles xmi:type="notation:FontStyle" xmi:id="_tvL95TluEeKTMrwDeceu8w"/>
+ <styles xmi:type="notation:EObjectValueStyle" xmi:id="_tvL96TluEeKTMrwDeceu8w" name="BASE_ELEMENT">
+ <eObjectValue xmi:type="uml:Dependency" href="Reopen.uml#_kd4KkDluEeKTMrwDeceu8w"/>
+ </styles>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_tvL95jluEeKTMrwDeceu8w" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_tvL95zluEeKTMrwDeceu8w"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_tvL96DluEeKTMrwDeceu8w"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_2rXOsDluEeKTMrwDeceu8w" type="4013" source="_w-ucADluEeKTMrwDeceu8w" target="_U8p4YTluEeKTMrwDeceu8w">
+ <styles xmi:type="notation:FontStyle" xmi:id="_2rXOsTluEeKTMrwDeceu8w"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_2rXOsjluEeKTMrwDeceu8w" points="[-74, 43, 204, -126]$[-232, 119, 46, -50]"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_93-J4DlvEeKTMrwDeceu8w" type="4013" source="_9IhC4TlvEeKTMrwDeceu8w" target="_w-ucADluEeKTMrwDeceu8w">
+ <styles xmi:type="notation:FontStyle" xmi:id="_93-J4TlvEeKTMrwDeceu8w"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_93-J4jlvEeKTMrwDeceu8w" points="[-95, -3, 347, -3]$[-438, -43, 4, -43]"/>
+ </edges>
+</notation:Diagram>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Reopen.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Reopen.uml
new file mode 100644
index 00000000000..76be5d7adcf
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/resources/stability/Reopen.uml
@@ -0,0 +1,22 @@
+<?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:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:testProfile="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/testProfile/_rNfDMHc8EeGEMdTf3PnPPg/0 pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg">
+ <uml:Model xmi:id="_SmYkkDluEeKTMrwDeceu8w" name="model">
+ <ownedComment xmi:id="_w8C7cDluEeKTMrwDeceu8w" annotatedElement="_U8p4YDluEeKTMrwDeceu8w">
+ <body>The display should not change when the editor is reopened. Steps to reproduce: double-click the diagram shortcut, or double-click the diagram in the ModelExplorer</body>
+ </ownedComment>
+ <ownedComment xmi:id="_9IhC4DlvEeKTMrwDeceu8w" annotatedElement="_w8C7cDluEeKTMrwDeceu8w">
+ <body>Camille on 2012/11/28: This currently does not work. When reopening the diagram, the Stereotype are displayed with braces. The stereotype comments do not disappear. When clicking the &quot;Refresh diagram&quot; button, the &quot;Stereotype with braces&quot; disappear.</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_U8p4YDluEeKTMrwDeceu8w" name="Class1"/>
+ <packagedElement xmi:type="uml:Class" xmi:id="_VWPdEDluEeKTMrwDeceu8w" clientDependency="_kd4KkDluEeKTMrwDeceu8w" name="StereotypedClass"/>
+ <packagedElement xmi:type="uml:Dependency" xmi:id="_kd4KkDluEeKTMrwDeceu8w" name="StereotypedLink" client="_VWPdEDluEeKTMrwDeceu8w" supplier="_U8p4YDluEeKTMrwDeceu8w"/>
+ <profileApplication xmi:id="_Upd2oDluEeKTMrwDeceu8w">
+ <eAnnotations xmi:id="_UpwxkDluEeKTMrwDeceu8w" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="pathmap://Test_PROFILES/testProfile.profile.uml#_sVoXAHc8EeGEMdTf3PnPPg"/>
+ </eAnnotations>
+ <appliedProfile href="pathmap://Test_PROFILES/testProfile.profile.uml#_UVrRoGkdEeGGJOTenKBKAg"/>
+ </profileApplication>
+ </uml:Model>
+ <testProfile:Stereotype1 xmi:id="_aZPc4DluEeKTMrwDeceu8w" base_Element="_VWPdEDluEeKTMrwDeceu8w"/>
+ <testProfile:Stereotype1 xmi:id="_ofZfQDluEeKTMrwDeceu8w" base_Element="_kd4KkDluEeKTMrwDeceu8w"/>
+</xmi:XMI>
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/src/org/eclipse/papyrus/uml/appliedstereotypecommend/recipetest/Activator.java b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/src/org/eclipse/papyrus/uml/appliedstereotypecommend/recipetest/Activator.java
new file mode 100644
index 00000000000..a52414a432d
--- /dev/null
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest/src/org/eclipse/papyrus/uml/appliedstereotypecommend/recipetest/Activator.java
@@ -0,0 +1,50 @@
+package org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest;
+
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest"; //$NON-NLS-1$
+
+ // The shared instance
+ private static Activator plugin;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+}

Back to the top