Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Poissonnet2013-08-06 11:55:40 +0000
committerCamille Letavernier2013-08-06 11:55:40 +0000
commite345c35bf9d7f31d98d10486a4983d0bc3b203be (patch)
tree6fc969dc319d4154a347c7a2cb4ce86d0db8b331 /plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx
parent05c214647a3544fc83ebb6f21f435bc6e36056aa (diff)
downloadorg.eclipse.papyrus-e345c35bf9d7f31d98d10486a4983d0bc3b203be.tar.gz
org.eclipse.papyrus-e345c35bf9d7f31d98d10486a4983d0bc3b203be.tar.xz
org.eclipse.papyrus-e345c35bf9d7f31d98d10486a4983d0bc3b203be.zip
404725: [Properties View] Add and edit comment from properties view
https://bugs.eclipse.org/bugs/show_bug.cgi?id=404725 Initial contribution Also-By: Camille Letavernier <camille.letavernier@cea.fr>
Diffstat (limited to 'plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx')
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx13
1 files changed, 11 insertions, 2 deletions
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx
index 990f4818753..3202ef40fe0 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx
@@ -1382,6 +1382,11 @@
<widget href="ui/MultiplePackageMerge.xwt#/"/>
</sections>
</tabs>
+ <tabs label="Comments" id="comments" category="org.eclipse.papyrus" image="" priority="20">
+ <sections name="SingleElementAppliedComments" sectionFile="ui/SingleElementAppliedComments.xwt">
+ <widget href="ui/SingleElementAppliedComments.xwt#/"/>
+ </sections>
+ </tabs>
<tabs label="Profile" id="profile" category="org.eclipse.papyrus" priority="50">
<sections name="SinglePackageProfile" sectionFile="ui/SinglePackageProfile.xwt">
<widget href="ui/SinglePackageProfile.xwt#/"/>
@@ -1390,13 +1395,13 @@
<widget href="ui/SingleElement.xwt#/"/>
</sections>
</tabs>
- <views name="SinglePackageProfile" sections="//@tabs.1/@sections.0" automaticContext="true">
+ <views name="SinglePackageProfile" sections="//@tabs.2/@sections.0" automaticContext="true">
<constraints xsi:type="constraints:SimpleConstraint" name="isSinglePackage" overrideable="false">
<constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="constraints:ValueProperty" name="umlClassName" value="Package"/>
</constraints>
</views>
- <views name="SingleElement" sections="//@tabs.1/@sections.1">
+ <views name="SingleElement" sections="//@tabs.2/@sections.1 //@tabs.1/@sections.0">
<constraints xsi:type="constraints:SimpleConstraint" name="isSingleElement" overrideable="false">
<constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="constraints:ValueProperty" name="umlClassName" value="Element"/>
@@ -5236,4 +5241,8 @@
</elements>
<modelElementFactory href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@modelElementFactories.5"/>
</dataContexts>
+ <dataContexts name="AppliedComments" label="AppliedComments">
+ <properties name="appliedComments" label="" type="Reference" multiplicity="-1" description="The list of comments applied to this element"/>
+ <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@modelElementFactories.7"/>
+ </dataContexts>
</contexts:Context>

Back to the top