Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptessier2013-01-29 10:44:07 +0000
committerptessier2013-01-29 10:44:07 +0000
commit075f6e6e65a221fc204692f55a1c5fe277860cfa (patch)
tree005aef978d4652ba3ffbaa6c0b83d2ad9a0b9083 /doc/DevelopperDocuments/AppliedStereotypesComment/model.uml
parent461f77946d4ea57751098430866bb97ec2c8be12 (diff)
downloadorg.eclipse.papyrus-075f6e6e65a221fc204692f55a1c5fe277860cfa.tar.gz
org.eclipse.papyrus-075f6e6e65a221fc204692f55a1c5fe277860cfa.tar.xz
org.eclipse.papyrus-075f6e6e65a221fc204692f55a1c5fe277860cfa.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 'doc/DevelopperDocuments/AppliedStereotypesComment/model.uml')
-rw-r--r--doc/DevelopperDocuments/AppliedStereotypesComment/model.uml340
1 files changed, 340 insertions, 0 deletions
diff --git a/doc/DevelopperDocuments/AppliedStereotypesComment/model.uml b/doc/DevelopperDocuments/AppliedStereotypesComment/model.uml
new file mode 100644
index 00000000000..51270edebf4
--- /dev/null
+++ b/doc/DevelopperDocuments/AppliedStereotypesComment/model.uml
@@ -0,0 +1,340 @@
+<?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:CommentProfile="http:///schemas/CommentProfile/_za0HEBzqEeKLhMLY6huzvQ/1" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/CommentProfile/_za0HEBzqEeKLhMLY6huzvQ/1 profile/CommentProfile.profile.uml#_za0HERzqEeKLhMLY6huzvQ">
+ <uml:Model xmi:id="_y6DcUBaoEeK2bPy_5yA69Q" name="AppliedStereotypeCommenttEditPart">
+ <ownedComment xmi:id="_n7laQBbBEeK2bPy_5yA69Q">
+ <body>Patrick Tessier (CEA LIST)&#xD;
+Version 0.2</body>
+ </ownedComment>
+ <packageImport xmi:id="_y6DcURaoEeK2bPy_5yA69Q">
+ <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
+ </packageImport>
+ <packagedElement xmi:type="uml:Package" xmi:id="_43PMcBaoEeK2bPy_5yA69Q" name="UseCases">
+ <ownedComment xmi:id="_Mets4BaqEeK2bPy_5yA69Q" annotatedElement="_TxfMYBapEeK2bPy_5yA69Q">
+ <body>The comment symbol is created when a user decide to show at least one property value of a stereotype applied on a model element. &#xD;
+</body>
+ </ownedComment>
+ <ownedComment xmi:id="_bQA-ABaqEeK2bPy_5yA69Q" annotatedElement="_WR0bIBapEeK2bPy_5yA69Q">
+ <body>• The comment symbol, and its link, used to display the stereotype values shall be deleted when the annotated model element is deleted.&#xD;
+• The comment symbol, and its link, used to display the stereotype values shall be deleted when the graphical representation of the annotated model element is deleted, that is to say when the annotated model element is hidden from the diagram.&#xD;
+• The comment symbol, and its link, used to display the stereotype values shall be deleted when the user hides all values of a stereotype.&#xD;
+• The comment symbol, and its link, used to display the stereotype values shall be deleted when the applied stereotype whose values are currently shown are unapplied.&#xD;
+• When the user delete or cut graphically the comment symbol, this latter is deleted, as well its link with the annotated model element and the stereotypes values that were shown in the deleted comment symbol are set to be no more shown in the notation file.&#xD;
+• When the profile that contains the stereotype is unapplied &#xD;
+• For the moment, this element cannot be deleted semantically or graphically.&#xD;
+ Semantically = unapplication of stereotypes?&#xD;
+ graphically = update information of the display of the property of stereotype in the property view (maybe later)</body>
+ </ownedComment>
+ <ownedComment xmi:id="_c1yB8BaqEeK2bPy_5yA69Q" annotatedElement="_ex_scBapEeK2bPy_5yA69Q">
+ <body>• Create it when the element is stereotyped and when a property of the stereotype is displayed as &quot;comment shape&quot;&#xD;
+</body>
+ </ownedComment>
+ <ownedComment xmi:id="_dNn6MBaqEeK2bPy_5yA69Q" annotatedElement="_gpgAoBapEeK2bPy_5yA69Q">
+ <body>• When the semantic element is deleted&#xD;
+• when all properties of applied stereotypes are not displayed as &quot;comment shape&quot;&#xD;
+• when all properties of applied stereotypes that are displayed as &quot; comment shape&quot; are unapplied&#xD;
+• For the moment, this element cannot be deleted semantically or graphically, because it is only to be link the &quot;comment&quot;&#xD;
+</body>
+ </ownedComment>
+ <ownedComment xmi:id="_dznjMBaqEeK2bPy_5yA69Q" annotatedElement="_mXxLABapEeK2bPy_5yA69Q">
+ <body>• The comment symbol showing the stereotype values can be graphically moved everywhere in the diagram.&#xD;
+• The comment symbol showing the stereotype values cannot be copy/past.&#xD;
+</body>
+ </ownedComment>
+ <ownedComment xmi:id="_pLGRIBzyEeK0rNOLRzw-aQ" annotatedElement="_TxfMYBapEeK2bPy_5yA69Q">
+ <body> - Apply chosen profile and chosen stereotype on the element by using profile tab.&#xD;
+- Go to the property view (appearance tab).&#xD;
+- Select properties to stereotype to select and then choose the “display place” as Comment&#xD;
+ &#xD;
+&#xD;
+Thank to this, a comment symbol appear. It contains the applied stereotype property that you want to see. The property of stereotype can be edited. This functionality can be use on links or nodes see Figure 5.&#xD;
+</body>
+ </ownedComment>
+ <ownedComment xmi:id="_pd3cIBzyEeK0rNOLRzw-aQ" annotatedElement="_WR0bIBapEeK2bPy_5yA69Q">
+ <body> • The comment symbol, and its link, used to display the stereotype values shall be deleted when the annotated model element is deleted.&#xD;
+ &#xD;
+Figure 6: Deletion of the selected element&#xD;
+&#xD;
+• The comment symbol, and its link, used to display the stereotype values shall be deleted when the graphical representation of the annotated model element is deleted, that is to say when the annotated model element is hidden from the diagram.&#xD;
+ &#xD;
+&#xD;
+• The comment symbol, and its link, used to display the stereotype values shall be deleted when the user hides all values of a stereotype.&#xD;
+To that, go the property view select each property of stereotype (1) and click on the small TV (2) Figure 8 . When the property is displayed the symbol is , when it is not displayed the symbol is .&#xD;
+ &#xD;
+Figure 8: Remove the display of applied stereotype property&#xD;
+• The comment symbol, and its link, used to display the stereotype values shall be deleted when the applied stereotype whose values are currently shown are unapplied.&#xD;
+ To do that , go the property view (Figure 9), select profile tab, and first select the stereotype to remove (1) and then the click on the red cross (2)&#xD;
+ &#xD;
+&#xD;
+</body>
+ </ownedComment>
+ <ownedComment xmi:id="_p_2H0BzyEeK0rNOLRzw-aQ" annotatedElement="_5X6AwBnuEeK2bPy_5yA69Q">
+ <body> The presentation of the comment symbol can be customized by the user. You can change the background and the foreground color.</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Component" xmi:id="_9YUK8BaoEeK2bPy_5yA69Q" name="Papyrus stereotype comment" useCase="_DMGHcBapEeK2bPy_5yA69Q _TxfMYBapEeK2bPy_5yA69Q _WR0bIBapEeK2bPy_5yA69Q _ex_scBapEeK2bPy_5yA69Q _gpgAoBapEeK2bPy_5yA69Q _mXxLABapEeK2bPy_5yA69Q _5X6AwBnuEeK2bPy_5yA69Q">
+ <ownedComment xmi:id="_bgUbIBa7EeK2bPy_5yA69Q" annotatedElement="_DMGHcBapEeK2bPy_5yA69Q">
+ <body>Within UML, there are three options to show the values of stereotype applications: (i) within a dedicated compartment (e.g., left side within Figure 2); within a string enclosed by braces and put just behind the string showing the stereotype application ((e.g., right side within Figure 2); (iii) using a comment symbol as denoted in the Figure 2. The purpose is here to support this latter option.</body>
+ </ownedComment>
+ <ownedUseCase xmi:id="_DMGHcBapEeK2bPy_5yA69Q" name="Papyrus shall enable to show stereotypes values in a comment symbol" subject="_9YUK8BaoEeK2bPy_5yA69Q">
+ <include xmi:id="_dtdGQBapEeK2bPy_5yA69Q" addition="_TxfMYBapEeK2bPy_5yA69Q"/>
+ <include xmi:id="_eQUiwBapEeK2bPy_5yA69Q" name="" addition="_WR0bIBapEeK2bPy_5yA69Q"/>
+ <include xmi:id="_s1Qy4BapEeK2bPy_5yA69Q" addition="_mXxLABapEeK2bPy_5yA69Q"/>
+ <include xmi:id="__FRMMBnuEeK2bPy_5yA69Q" addition="_5X6AwBnuEeK2bPy_5yA69Q"/>
+ </ownedUseCase>
+ <ownedUseCase xmi:id="_TxfMYBapEeK2bPy_5yA69Q" name="Creation of the comment symbol used to show stereotype values" subject="_9YUK8BaoEeK2bPy_5yA69Q">
+ <include xmi:id="_lSVM8BapEeK2bPy_5yA69Q" addition="_ex_scBapEeK2bPy_5yA69Q"/>
+ </ownedUseCase>
+ <ownedUseCase xmi:id="_WR0bIBapEeK2bPy_5yA69Q" name="Deletion of the comment symbol used to show stereotype values" subject="_9YUK8BaoEeK2bPy_5yA69Q">
+ <include xmi:id="_mBaggBapEeK2bPy_5yA69Q" addition="_gpgAoBapEeK2bPy_5yA69Q"/>
+ </ownedUseCase>
+ <ownedUseCase xmi:id="_ex_scBapEeK2bPy_5yA69Q" name="Creation of the Link" subject="_9YUK8BaoEeK2bPy_5yA69Q"/>
+ <ownedUseCase xmi:id="_gpgAoBapEeK2bPy_5yA69Q" name="Deletion of the link" subject="_9YUK8BaoEeK2bPy_5yA69Q"/>
+ <ownedUseCase xmi:id="_mXxLABapEeK2bPy_5yA69Q" name="Move the comment symbol showing the stereotypes values" subject="_9YUK8BaoEeK2bPy_5yA69Q"/>
+ <ownedUseCase xmi:id="_5X6AwBnuEeK2bPy_5yA69Q" name="choose the color of the comment symbol by using the property view" subject="_9YUK8BaoEeK2bPy_5yA69Q"/>
+ </packagedElement>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Package" xmi:id="_ZT--oBwaEeKjG5zMFxAVTA" clientDependency="_jVXkABwaEeKjG5zMFxAVTA" name="TestUseCases">
+ <ownedComment xmi:id="_RC8bEC_aEeKRCpw1GQ-68A" annotatedElement="_szg0cC_ZEeKRCpw1GQ-68A">
+ <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:Dependency" xmi:id="_jVXkABwaEeKjG5zMFxAVTA" name="Dependency1" client="_ZT--oBwaEeKjG5zMFxAVTA" supplier="_43PMcBaoEeK2bPy_5yA69Q"/>
+ <packagedElement xmi:type="uml:UseCase" xmi:id="_xA9xUBwaEeKjG5zMFxAVTA" name="Display stereotype application directly in comment"/>
+ <packagedElement xmi:type="uml:UseCase" xmi:id="_3JZIIBwaEeKjG5zMFxAVTA" name="Display from a display as compartment"/>
+ <packagedElement xmi:type="uml:UseCase" xmi:id="_6JvTsBwaEeKjG5zMFxAVTA" clientDependency="_O_vSMBwbEeKjG5zMFxAVTA _RyP2EBwbEeKjG5zMFxAVTA" name="Display applied stereotype of a &quot;link&quot; element">
+ <extensionPoint xmi:id="_LfDZsBwbEeKjG5zMFxAVTA" name="point"/>
+ <include xmi:id="_U0_OUBwbEeKjG5zMFxAVTA" addition="_xA9xUBwaEeKjG5zMFxAVTA"/>
+ <include xmi:id="_VTPQkBwbEeKjG5zMFxAVTA" addition="_3JZIIBwaEeKjG5zMFxAVTA"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:UseCase" xmi:id="_-1reYBwaEeKjG5zMFxAVTA" clientDependency="_N8sg0BwbEeKjG5zMFxAVTA _P5_7ABwbEeKjG5zMFxAVTA" name="Display applied stereotype of a &quot;node&quot; element">
+ <extensionPoint xmi:id="_KWyKEBwbEeKjG5zMFxAVTA" name="point"/>
+ <include xmi:id="_Tz3vkBwbEeKjG5zMFxAVTA" addition="_xA9xUBwaEeKjG5zMFxAVTA"/>
+ <include xmi:id="_URFQABwbEeKjG5zMFxAVTA" addition="_3JZIIBwaEeKjG5zMFxAVTA"/>
+ <include xmi:id="_0oUNgC_ZEeKRCpw1GQ-68A" addition="_szg0cC_ZEeKRCpw1GQ-68A"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Usage" xmi:id="_N8sg0BwbEeKjG5zMFxAVTA" name="Usage1" client="_-1reYBwaEeKjG5zMFxAVTA" supplier="_ex_scBapEeK2bPy_5yA69Q"/>
+ <packagedElement xmi:type="uml:Usage" xmi:id="_O_vSMBwbEeKjG5zMFxAVTA" name="Usage2" client="_6JvTsBwaEeKjG5zMFxAVTA" supplier="_ex_scBapEeK2bPy_5yA69Q"/>
+ <packagedElement xmi:type="uml:Usage" xmi:id="_P5_7ABwbEeKjG5zMFxAVTA" name="Usage3" client="_-1reYBwaEeKjG5zMFxAVTA" supplier="_gpgAoBapEeK2bPy_5yA69Q"/>
+ <packagedElement xmi:type="uml:Usage" xmi:id="_RyP2EBwbEeKjG5zMFxAVTA" name="Usage4" client="_6JvTsBwaEeKjG5zMFxAVTA" supplier="_gpgAoBapEeK2bPy_5yA69Q"/>
+ <packagedElement xmi:type="uml:UseCase" xmi:id="_LR4q8BwcEeKjG5zMFxAVTA" clientDependency="_jt1ccBwcEeKjG5zMFxAVTA" name="Display applied stereotype as compartment"/>
+ <packagedElement xmi:type="uml:UseCase" xmi:id="_OH9gMBwcEeKjG5zMFxAVTA" clientDependency="_kor7IBwcEeKjG5zMFxAVTA" name="Unapply stereotype"/>
+ <packagedElement xmi:type="uml:UseCase" xmi:id="_PxBIsBwcEeKjG5zMFxAVTA" clientDependency="_lLjXoBwcEeKjG5zMFxAVTA" name="unapply profile"/>
+ <packagedElement xmi:type="uml:UseCase" xmi:id="_RuoE4BwcEeKjG5zMFxAVTA" clientDependency="_mX09gBwcEeKjG5zMFxAVTA" name="unapply profile on the UML editor and reopen it with papyrus"/>
+ <packagedElement xmi:type="uml:UseCase" xmi:id="_WFuA8BwcEeKjG5zMFxAVTA" clientDependency="_lqPewBwcEeKjG5zMFxAVTA" name="unapply profile withe the diagram closed"/>
+ <packagedElement xmi:type="uml:Usage" xmi:id="_jt1ccBwcEeKjG5zMFxAVTA" name="Usage5" client="_LR4q8BwcEeKjG5zMFxAVTA" supplier="_WR0bIBapEeK2bPy_5yA69Q"/>
+ <packagedElement xmi:type="uml:Usage" xmi:id="_kor7IBwcEeKjG5zMFxAVTA" name="Usage6" client="_OH9gMBwcEeKjG5zMFxAVTA" supplier="_WR0bIBapEeK2bPy_5yA69Q"/>
+ <packagedElement xmi:type="uml:Usage" xmi:id="_lLjXoBwcEeKjG5zMFxAVTA" name="Usage7" client="_PxBIsBwcEeKjG5zMFxAVTA" supplier="_WR0bIBapEeK2bPy_5yA69Q"/>
+ <packagedElement xmi:type="uml:Usage" xmi:id="_lqPewBwcEeKjG5zMFxAVTA" name="Usage8" client="_WFuA8BwcEeKjG5zMFxAVTA" supplier="_WR0bIBapEeK2bPy_5yA69Q"/>
+ <packagedElement xmi:type="uml:Usage" xmi:id="_mX09gBwcEeKjG5zMFxAVTA" name="Usage9" client="_RuoE4BwcEeKjG5zMFxAVTA" supplier="_WR0bIBapEeK2bPy_5yA69Q"/>
+ <packagedElement xmi:type="uml:UseCase" xmi:id="_uV8qoBwcEeKjG5zMFxAVTA" clientDependency="_0P6usBwcEeKjG5zMFxAVTA" name="Change the container of the comment"/>
+ <packagedElement xmi:type="uml:UseCase" xmi:id="_wLWGABwcEeKjG5zMFxAVTA" clientDependency="_0tajABwcEeKjG5zMFxAVTA" name="move inside it own container"/>
+ <packagedElement xmi:type="uml:Usage" xmi:id="_0P6usBwcEeKjG5zMFxAVTA" name="Usage10" client="_uV8qoBwcEeKjG5zMFxAVTA" supplier="_mXxLABapEeK2bPy_5yA69Q"/>
+ <packagedElement xmi:type="uml:Usage" xmi:id="_0tajABwcEeKjG5zMFxAVTA" name="Usage11" client="_wLWGABwcEeKjG5zMFxAVTA" supplier="_mXxLABapEeK2bPy_5yA69Q"/>
+ <packagedElement xmi:type="uml:UseCase" xmi:id="_1TtG8BwcEeKjG5zMFxAVTA" clientDependency="_3zHIoBwcEeKjG5zMFxAVTA" name="move the stereotyped element"/>
+ <packagedElement xmi:type="uml:Usage" xmi:id="_3zHIoBwcEeKjG5zMFxAVTA" name="Usage12" client="_1TtG8BwcEeKjG5zMFxAVTA" supplier="_mXxLABapEeK2bPy_5yA69Q"/>
+ <packagedElement xmi:type="uml:UseCase" xmi:id="_szg0cC_ZEeKRCpw1GQ-68A" name="Creation of a comment by selecting several properties of stereotype "/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Package" xmi:id="_SOH00BasEeK2bPy_5yA69Q" clientDependency="_ivOxEBwaEeKjG5zMFxAVTA" name="SolutionProposition">
+ <ownedComment xmi:id="_8kDFUBa8EeK2bPy_5yA69Q">
+ <body>The applied stereotypes properties “comment” is represented by:&#xD;
+The editpart AppliedStereotypesCommentEditpart, the comment shape that will contains the editpart in charge of the edition of sterotype (AppliedStereotypeConpartmentEditPart, AppliedStereotypePropertyEditPart).&#xD;
+The editpart AppliedSterotypesCommentLinkEditPart, the link between the stereotyped element and the comment.&#xD;
+</body>
+ </ownedComment>
+ <ownedComment xmi:id="_-XrJoBa9EeK2bPy_5yA69Q" annotatedElement="_0wUdkBasEeK2bPy_5yA69Q">
+ <body>The Applied StereotypeCommentEdipart and the appliedStereotypeCommentLinkEditPart are connected to the semantic element. Thanks to this, if the semantic element is deleted the comment will be also deleted.&#xD;
+The Applied StereotypeCommentEdipart will be contains eannotation about stereotype application exactly as the editpart that represents the semantic element. In this manner, it is possible to reuse mechanism of stereotype edition.&#xD;
+To ensure the creation of the comment and the synchronization of eannotation information from the Semantic editpart an editpolicy will be added: the AppliedStereotypeCommentEditPolicy.&#xD;
+</body>
+ </ownedComment>
+ <ownedComment xmi:id="_kk75cBa_EeK2bPy_5yA69Q">
+ <body>Explaination of the example:&#xD;
+Two stereotypes are applied on the Class1. By default two ApplicationStereotypeCompartment are created (one references stapp1, and the second references stapp2). By default there are not visible. This is the normal behavior.&#xD;
+The user has decided to display a property if the applied stereotype stapp1.&#xD;
+An AppliedStereotypesCommentEditpart and AppliedStereotypeCommentLinkEditPart are created. (They references Class1). The AppliedStereotypesCommentEditpart reuse the standard mechanism of stereotype displaying:&#xD;
+Two ApplicationStereotypeCompartment are created (one references stapp1 with visibility=true, and the second references stapp2 with the visibility=false).&#xD;
+An appliedStereotypePropertyEditpart is created because we want to see a property of stapp1&#xD;
+</body>
+ </ownedComment>
+ <ownedComment xmi:id="_qU8lYB0DEeK0rNOLRzw-aQ" annotatedElement="_IC8gUBz5EeK0rNOLRzw-aQ">
+ <body>• CommentShapeForAppliedStereotypeEditPolicy : this editpolicy attached to StereotypeCommentEdipart has in charge to prevent the remove form model and launch command of deletion if it detect that any properties of applied stereotype are displayed.</body>
+ </ownedComment>
+ <ownedComment xmi:id="_sLjhsB0DEeK0rNOLRzw-aQ" annotatedElement="_0OcbEBz4EeK0rNOLRzw-aQ">
+ <body> • AppliedStereotypeCompartmentForCommentShapeEditPolicy is another editpolicy attached to StereotypeCommentEdipart. It does the same work as AppliedStereotypeCompartmentEditPolicy. Because the StereotypeCommentEdipart is not attached to a semantic element by the attribute element of the notation view. It specializes the method getUMLElement to find the semantic element </body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_Yc3PABasEeK2bPy_5yA69Q" name="AppliedStereotypeConpartmentEditPart">
+ <ownedAttribute xmi:id="_q_sRABasEeK2bPy_5yA69Q" name="children" type="_k00qMBasEeK2bPy_5yA69Q" association="_q_sRAxasEeK2bPy_5yA69Q">
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_q_sRARasEeK2bPy_5yA69Q"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_q_sRAhasEeK2bPy_5yA69Q" value="*"/>
+ </ownedAttribute>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Class" xmi:id="_k00qMBasEeK2bPy_5yA69Q" name="AppliedStereotypePropertyEditPart"/>
+ <packagedElement xmi:type="uml:Association" xmi:id="_q_sRAxasEeK2bPy_5yA69Q" name="appliedStereotypeConpartmentEditPart_appliedStereotypePropertyEditPart_1" memberEnd="_q_sRBBasEeK2bPy_5yA69Q _q_sRABasEeK2bPy_5yA69Q">
+ <ownedEnd xmi:id="_q_sRBBasEeK2bPy_5yA69Q" name="appliedStereotypeConpartmentEditPart" type="_Yc3PABasEeK2bPy_5yA69Q" association="_q_sRAxasEeK2bPy_5yA69Q">
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_q_sRBRasEeK2bPy_5yA69Q" value="1"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_q_sRBhasEeK2bPy_5yA69Q" value="1"/>
+ </ownedEnd>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Class" xmi:id="_0wUdkBasEeK2bPy_5yA69Q" name="AppliedStereotypesCommentEditPart">
+ <ownedAttribute xmi:id="_5BAPoBasEeK2bPy_5yA69Q" name="children" type="_Yc3PABasEeK2bPy_5yA69Q" association="_5BAPoxasEeK2bPy_5yA69Q">
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_5BAPoRasEeK2bPy_5yA69Q"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_5BAPohasEeK2bPy_5yA69Q" value="*"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_Z6lQQBz5EeK0rNOLRzw-aQ" name="commentShapeForAppliedStereotypeEditPolicy" type="_IC8gUBz5EeK0rNOLRzw-aQ" association="_Z6lQQxz5EeK0rNOLRzw-aQ">
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Z6lQQRz5EeK0rNOLRzw-aQ" value="1"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Z6lQQhz5EeK0rNOLRzw-aQ" value="1"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_as8hUBz5EeK0rNOLRzw-aQ" name="appliedStereotypeCompartmentForCommentShapeEditPolicy" type="_0OcbEBz4EeK0rNOLRzw-aQ" association="_as8hUxz5EeK0rNOLRzw-aQ">
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_as8hURz5EeK0rNOLRzw-aQ" value="1"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_as8hUhz5EeK0rNOLRzw-aQ" value="1"/>
+ </ownedAttribute>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Association" xmi:id="_5BAPoxasEeK2bPy_5yA69Q" name="appliedStereotypesComment_appliedStereotypeConpartmentEditPart_1" memberEnd="_5BAPpBasEeK2bPy_5yA69Q _5BAPoBasEeK2bPy_5yA69Q">
+ <ownedEnd xmi:id="_5BAPpBasEeK2bPy_5yA69Q" name="appliedStereotypesComment" type="_0wUdkBasEeK2bPy_5yA69Q" association="_5BAPoxasEeK2bPy_5yA69Q">
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_5BAPpRasEeK2bPy_5yA69Q" value="1"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_5BAPphasEeK2bPy_5yA69Q" value="1"/>
+ </ownedEnd>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Class" xmi:id="_ELyGABatEeK2bPy_5yA69Q" name="AppliedStereotypesCommentLinkEditPart">
+ <ownedComment xmi:id="_hQGJwBatEeK2bPy_5yA69Q" annotatedElement="_Veb5kBatEeK2bPy_5yA69Q">
+ <body>To ensure the creation of the comment and the synchronization of eannotation information from the Semantic editpart an editpolicy will be added: the AppliedStereotypeCommentCreationEditPolicy.&#xD;
+This editpolicy has in charge to:&#xD;
+- Create by using the command CreateAppliedStereotypeCommentViewCommand&#xD;
+- Destroy the AppliedStereotypesCommentEditpart&#xD;
+- Adapt the information about stereotype display into AppliedstereotypeCommentEditPart by using eannotation existing mechanism&#xD;
+</body>
+ </ownedComment>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Class" xmi:id="_Veb5kBatEeK2bPy_5yA69Q" name="AppliedStereotypeCommentCreationEditPolicy">
+ <ownedAttribute xmi:id="_jipzMBz4EeK0rNOLRzw-aQ" name="command" type="_RP5NgBz4EeK0rNOLRzw-aQ" association="_jipzMxz4EeK0rNOLRzw-aQ">
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_jipzMRz4EeK0rNOLRzw-aQ" value="1"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_jipzMhz4EeK0rNOLRzw-aQ" value="1"/>
+ </ownedAttribute>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Dependency" xmi:id="_ivOxEBwaEeKjG5zMFxAVTA" name="Dependency1" client="_SOH00BasEeK2bPy_5yA69Q" supplier="_43PMcBaoEeK2bPy_5yA69Q"/>
+ <packagedElement xmi:type="uml:Class" xmi:id="_RP5NgBz4EeK0rNOLRzw-aQ" name="CreateAppliedStereotypeCommentViewCommand"/>
+ <packagedElement xmi:type="uml:Association" xmi:id="_jipzMxz4EeK0rNOLRzw-aQ" name="appliedStereotypeCommentCreationEditPolicy_createAppliedStereotypeCommentViewCommand_1" memberEnd="_jipzNBz4EeK0rNOLRzw-aQ _jipzMBz4EeK0rNOLRzw-aQ">
+ <ownedEnd xmi:id="_jipzNBz4EeK0rNOLRzw-aQ" name="appliedStereotypeCommentCreationEditPolicy" type="_Veb5kBatEeK2bPy_5yA69Q" association="_jipzMxz4EeK0rNOLRzw-aQ">
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_jipzNRz4EeK0rNOLRzw-aQ" value="1"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_jipzNhz4EeK0rNOLRzw-aQ" value="1"/>
+ </ownedEnd>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Class" xmi:id="_0OcbEBz4EeK0rNOLRzw-aQ" name="AppliedStereotypeCompartmentForCommentShapeEditPolicy">
+ <generalization xmi:id="_n2ZD0Bz5EeK0rNOLRzw-aQ" general="_kXn24Bz5EeK0rNOLRzw-aQ"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Class" xmi:id="_IC8gUBz5EeK0rNOLRzw-aQ" name="CommentShapeForAppliedStereotypeEditPolicy"/>
+ <packagedElement xmi:type="uml:Association" xmi:id="_Z6lQQxz5EeK0rNOLRzw-aQ" name="appliedStereotypesCommentEditPart_commentShapeForAppliedStereotypeEditPolicy_1" memberEnd="_Z6lQRBz5EeK0rNOLRzw-aQ _Z6lQQBz5EeK0rNOLRzw-aQ">
+ <ownedEnd xmi:id="_Z6lQRBz5EeK0rNOLRzw-aQ" name="appliedStereotypesCommentEditPart" type="_0wUdkBasEeK2bPy_5yA69Q" association="_Z6lQQxz5EeK0rNOLRzw-aQ">
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Z6lQRRz5EeK0rNOLRzw-aQ" value="1"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Z6lQRhz5EeK0rNOLRzw-aQ" value="1"/>
+ </ownedEnd>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Association" xmi:id="_as8hUxz5EeK0rNOLRzw-aQ" name="appliedStereotypesCommentEditPart_appliedStereotypeCompartmentForCommentShapeEditPolicy_1" memberEnd="_as8hVBz5EeK0rNOLRzw-aQ _as8hUBz5EeK0rNOLRzw-aQ">
+ <ownedEnd xmi:id="_as8hVBz5EeK0rNOLRzw-aQ" name="appliedStereotypesCommentEditPart" type="_0wUdkBasEeK2bPy_5yA69Q" association="_as8hUxz5EeK0rNOLRzw-aQ">
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_as8hVRz5EeK0rNOLRzw-aQ" value="1"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_as8hVhz5EeK0rNOLRzw-aQ" value="1"/>
+ </ownedEnd>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Class" xmi:id="_kXn24Bz5EeK0rNOLRzw-aQ" name="AppliedStereotypeCompartmentEditPolicy"/>
+ <packagedElement xmi:type="uml:Association" xmi:id="_Y0TiwB68EeKLcoKnaGZ6oA"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Package" xmi:id="_4RTrEBwdEeKjG5zMFxAVTA" name="TestProposition">
+ <packagedElement xmi:type="uml:Package" xmi:id="_1fZkIBwdEeKjG5zMFxAVTA" name="org.eclipse.papyrus.uml.appliedstereotypecommend.recipetest">
+ <packagedElement xmi:type="uml:Package" xmi:id="_RFkSEBwiEeKjG5zMFxAVTA" clientDependency="_WDHKIBwiEeKjG5zMFxAVTA _Y33JsBwiEeKjG5zMFxAVTA" name="Creation">
+ <packagedElement xmi:type="uml:Model" xmi:id="_PHYjkBwhEeKjG5zMFxAVTA" name="CreateDirectlyAcomment">
+ <ownedComment xmi:id="_Cy8MAB0JEeK0rNOLRzw-aQ">
+ <body>A node and a link are stereotyped. The purpose is to display applied stereotype properties as comment</body>
+ </ownedComment>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Model" xmi:id="_HTIHoBwiEeKjG5zMFxAVTA" name="CreateFromComment">
+ <ownedComment xmi:id="_GjS4MB0JEeK0rNOLRzw-aQ">
+ <body>A node and a link are stereotyped. Applied stereotype properties are displayed as compartment. The purpose is to display them as comment. The comment has to be created and compartments disappear.</body>
+ </ownedComment>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Model" xmi:id="_U-lAcBwhEeKjG5zMFxAVTA" name="ReOpenFile">
+ <ownedComment xmi:id="_IvzzEB0JEeK0rNOLRzw-aQ">
+ <body>A node and a link are stereotyped. Applied stereotype properties are displayed as comment. The purpose is to open the file with papyrus and ensure that there are displayed as comment.</body>
+ </ownedComment>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Realization" xmi:id="_WDHKIBwiEeKjG5zMFxAVTA" name="Realization1" client="_RFkSEBwiEeKjG5zMFxAVTA" supplier="_-1reYBwaEeKjG5zMFxAVTA"/>
+ <packagedElement xmi:type="uml:Realization" xmi:id="_Y33JsBwiEeKjG5zMFxAVTA" name="Realization2" client="_RFkSEBwiEeKjG5zMFxAVTA" supplier="_6JvTsBwaEeKjG5zMFxAVTA"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Package" xmi:id="_yFAVUBwnEeKjG5zMFxAVTA" name="Deletion">
+ <packagedElement xmi:type="uml:Model" xmi:id="_z9s8UBwnEeKjG5zMFxAVTA" clientDependency="_Yxw6ABwoEeKjG5zMFxAVTA" name="ChangeDisplay">
+ <ownedComment xmi:id="_LzKPUB0JEeK0rNOLRzw-aQ">
+ <body>A node and a link are stereotyped. Applied stereotype properties are displayed as comment. The purpose is to open the file with papyrus and and to display as compartment. Comment has to disappear.</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Realization" xmi:id="_Yxw6ABwoEeKjG5zMFxAVTA" name="Realization1" client="_z9s8UBwnEeKjG5zMFxAVTA" supplier="_-1reYBwaEeKjG5zMFxAVTA"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Model" xmi:id="_22d5MBwnEeKjG5zMFxAVTA" clientDependency="_a33q4BwoEeKjG5zMFxAVTA" name="UnapplyProfile">
+ <ownedComment xmi:id="_Qd6uQB0JEeK0rNOLRzw-aQ">
+ <body>A node and a link are stereotyped. Applied stereotype properties are displayed as comment. The purpose is to open the file with papyrus and to unapply profile. Comment has to disappear.</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Realization" xmi:id="_a33q4BwoEeKjG5zMFxAVTA" name="Realization1" client="_22d5MBwnEeKjG5zMFxAVTA" supplier="_PxBIsBwcEeKjG5zMFxAVTA"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Model" xmi:id="_4oAvUBwnEeKjG5zMFxAVTA" clientDependency="_aLd34BwoEeKjG5zMFxAVTA" name="UnapplyStereotype">
+ <ownedComment xmi:id="_OMe3IB0JEeK0rNOLRzw-aQ">
+ <body>A node and a link are stereotyped. Applied stereotype properties are displayed as comment. The purpose is to open the file with papyrus and to unapply stereotype. Comment has to disappear.</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Realization" xmi:id="_aLd34BwoEeKjG5zMFxAVTA" name="Realization1" client="_4oAvUBwnEeKjG5zMFxAVTA" supplier="_OH9gMBwcEeKjG5zMFxAVTA"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Model" xmi:id="_8fzgQBwnEeKjG5zMFxAVTA" clientDependency="_cJhgABwoEeKjG5zMFxAVTA" name="BadUnapplyProfile">
+ <ownedComment xmi:id="_TCkcUB0JEeK0rNOLRzw-aQ">
+ <body>A node and a link are stereotyped. Applied stereotype properties are displayed as comment. But the profile has been unapplied with the UML editor.So the notation is not up to date.The purpose is to open the file with papyrus. Comment has to disappear.</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Realization" xmi:id="_cJhgABwoEeKjG5zMFxAVTA" name="Realization1" client="_8fzgQBwnEeKjG5zMFxAVTA" supplier="_RuoE4BwcEeKjG5zMFxAVTA"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Model" xmi:id="_4CqxIBwoEeKjG5zMFxAVTA" clientDependency="_8N0i8BwoEeKjG5zMFxAVTA" name="UnapplyProfileDiagramClosed">
+ <ownedComment xmi:id="_VHorYB0JEeK0rNOLRzw-aQ">
+ <body>A node and a link are stereotyped. Applied stereotype properties are displayed as comment. But the profile has been unapplied with diagram closed.The purpose is to open the diagram. Comment has to disappear.</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Realization" xmi:id="_8N0i8BwoEeKjG5zMFxAVTA" name="Realization1" client="_4CqxIBwoEeKjG5zMFxAVTA" supplier="_WFuA8BwcEeKjG5zMFxAVTA"/>
+ </packagedElement>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Package" xmi:id="_-nF84BwnEeKjG5zMFxAVTA" name="Move">
+ <packagedElement xmi:type="uml:Model" xmi:id="_BHRaoBwoEeKjG5zMFxAVTA" clientDependency="_ei2u4BwoEeKjG5zMFxAVTA" name="MoveCommentWithPackage">
+ <ownedComment xmi:id="_beITYB0JEeK0rNOLRzw-aQ">
+ <body>A node and a link are stereotyped. Applied stereotype properties are displayed as comment. The purpose is to open the file with papyrus and ensure that you can move comment into package without move stereotyped element.</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Usage" xmi:id="_ei2u4BwoEeKjG5zMFxAVTA" name="Usage1" client="_BHRaoBwoEeKjG5zMFxAVTA" supplier="_uV8qoBwcEeKjG5zMFxAVTA"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Model" xmi:id="_DxSw4BwoEeKjG5zMFxAVTA" clientDependency="_fhIVABwoEeKjG5zMFxAVTA" name="MoveSemanticWithPackage">
+ <ownedComment xmi:id="_eDhoUB0JEeK0rNOLRzw-aQ">
+ <body>A node and a link are stereotyped. Applied stereotype properties are displayed as comment. The purpose is to open the file with papyrus and ensure that you can move semantic into package without move comment.</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Realization" xmi:id="_fhIVABwoEeKjG5zMFxAVTA" name="Realization1" client="_DxSw4BwoEeKjG5zMFxAVTA" supplier="_1TtG8BwcEeKjG5zMFxAVTA"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Model" xmi:id="_JN0D8BwoEeKjG5zMFxAVTA" clientDependency="_duG4MBwoEeKjG5zMFxAVTA" name="MoveComment">
+ <ownedComment xmi:id="_YqRrsB0JEeK0rNOLRzw-aQ">
+ <body>A node and a link are stereotyped. Applied stereotype properties are displayed as comment. The purpose is to open the file with papyrus and ensure that you can move comment everywhere.</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Realization" xmi:id="_duG4MBwoEeKjG5zMFxAVTA" name="Realization1" client="_JN0D8BwoEeKjG5zMFxAVTA" supplier="_wLWGABwcEeKjG5zMFxAVTA"/>
+ </packagedElement>
+ </packagedElement>
+ </packagedElement>
+ </packagedElement>
+ <profileApplication xmi:id="_Iav6IBzqEeKLhMLY6huzvQ">
+ <eAnnotations xmi:id="_IbfhABzqEeKLhMLY6huzvQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="profile/CommentProfile.profile.uml#_za0HERzqEeKLhMLY6huzvQ"/>
+ </eAnnotations>
+ <appliedProfile href="profile/CommentProfile.profile.uml#_EV0hkBzpEeKLhMLY6huzvQ"/>
+ </profileApplication>
+ </uml:Model>
+ <CommentProfile:DevelopperGuide xmi:id="_NOFtUBzqEeKLhMLY6huzvQ" base_Element="_SOH00BasEeK2bPy_5yA69Q"/>
+ <CommentProfile:TestGuide xmi:id="_PHp3ABzqEeKLhMLY6huzvQ" base_Element="_ZT--oBwaEeKjG5zMFxAVTA"/>
+ <CommentProfile:TestGuide xmi:id="_QQqGcBzqEeKLhMLY6huzvQ" base_Element="_4RTrEBwdEeKjG5zMFxAVTA"/>
+ <CommentProfile:InformationSource xmi:id="_Njv-0BzrEeKLhMLY6huzvQ" base_Package="_y6DcUBaoEeK2bPy_5yA69Q" author="Patrick Tessier" version="0.0.4" copyright="CEA LIST"/>
+ <CommentProfile:UserGuide xmi:id="_loAk4BzyEeK0rNOLRzw-aQ" base_Element="_TxfMYBapEeK2bPy_5yA69Q"/>
+ <CommentProfile:UserGuide xmi:id="_mi3DkBzyEeK0rNOLRzw-aQ" base_Element="_WR0bIBapEeK2bPy_5yA69Q"/>
+ <CommentProfile:UserGuide xmi:id="_ne6cIBzyEeK0rNOLRzw-aQ" base_Element="_mXxLABapEeK2bPy_5yA69Q"/>
+ <CommentProfile:UserGuide xmi:id="_oX-yIBzyEeK0rNOLRzw-aQ" base_Element="_5X6AwBnuEeK2bPy_5yA69Q"/>
+ <CommentProfile:UserGuide xmi:id="_rqYXABzyEeK0rNOLRzw-aQ" base_Element="_pLGRIBzyEeK0rNOLRzw-aQ"/>
+ <CommentProfile:UserGuide xmi:id="_sxUJ4BzyEeK0rNOLRzw-aQ" base_Element="_pd3cIBzyEeK0rNOLRzw-aQ"/>
+ <CommentProfile:UserGuide xmi:id="_ubtPIBzyEeK0rNOLRzw-aQ" base_Element="_p_2H0BzyEeK0rNOLRzw-aQ"/>
+ <CommentProfile:DevelopperGuide xmi:id="_SdTOEBzzEeK0rNOLRzw-aQ" base_Element="_Mets4BaqEeK2bPy_5yA69Q"/>
+ <CommentProfile:DevelopperGuide xmi:id="_Tai5cBzzEeK0rNOLRzw-aQ" base_Element="_bQA-ABaqEeK2bPy_5yA69Q"/>
+ <CommentProfile:DevelopperGuide xmi:id="_VVBpIBzzEeK0rNOLRzw-aQ" base_Element="_c1yB8BaqEeK2bPy_5yA69Q"/>
+ <CommentProfile:DevelopperGuide xmi:id="_WTwiQBzzEeK0rNOLRzw-aQ" base_Element="_dNn6MBaqEeK2bPy_5yA69Q"/>
+ <CommentProfile:DevelopperGuide xmi:id="_XGkfQBzzEeK0rNOLRzw-aQ" base_Element="_dznjMBaqEeK2bPy_5yA69Q"/>
+ <CommentProfile:UserGuide xmi:id="_aiDusBzzEeK0rNOLRzw-aQ" base_Element="_dznjMBaqEeK2bPy_5yA69Q"/>
+</xmi:XMI>

Back to the top