Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaged Elaasar2018-04-02 00:03:26 -0400
committerPatrick Tessier2018-04-04 06:05:53 -0400
commit247bcfe8dee9a7412bda80f49165d5ed9bb08560 (patch)
tree1b3b423a98e110f4c031fb06584bc84d5dd5f46d /plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.representation/model/GmfDiagRepresentation.ecore
parent1bed9aceb3f2641db64630a58e3622c35182272a (diff)
downloadorg.eclipse.papyrus-247bcfe8dee9a7412bda80f49165d5ed9bb08560.tar.gz
org.eclipse.papyrus-247bcfe8dee9a7412bda80f49165d5ed9bb08560.tar.xz
org.eclipse.papyrus-247bcfe8dee9a7412bda80f49165d5ed9bb08560.zip
Bug 532299 - Add tooltips on properties in architecture framework
editor. Added descriptions on all properties that show in the architecture editor. Those descriptions appear in the status bar of the Eclipse window when the property is selected (not as toolips when hovering over properties). Also, some properties are categorized in the property sheet into sub categories to ease understanding. I also added the same descriptions as documentation of the AF model API. Change-Id: I2a4e928b177ae5434c6f38255ea1bba41c822416 Signed-off-by: Maged Elaasar <melaasar@gmail.com>
Diffstat (limited to 'plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.representation/model/GmfDiagRepresentation.ecore')
-rwxr-xr-xplugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.representation/model/GmfDiagRepresentation.ecore104
1 files changed, 90 insertions, 14 deletions
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.representation/model/GmfDiagRepresentation.ecore b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.representation/model/GmfDiagRepresentation.ecore
index f4b3792e410..a4a0cc741c7 100755
--- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.representation/model/GmfDiagRepresentation.ecore
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.representation/model/GmfDiagRepresentation.ecore
@@ -3,53 +3,128 @@
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="representation" nsURI="http://www.eclipse.org/papyrus/infra/gmfdiag/representation"
nsPrefix="gmfdiagrepresentation">
<eClassifiers xsi:type="ecore:EClass" name="PapyrusDiagram" eSuperTypes="../../org.eclipse.papyrus.infra.architecture.representation/model/Representation.ecore#//PapyrusRepresentationKind">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="customStyle" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="A representation kind that depicts elements form a UML model as a diagram"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="customStyle" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The custom style for the diagram specified using a platform plugin URI of a CSS file"/>
+ <details key="propertyDescription" value="The custom style for the diagram specified using a platform plugin URI of a CSS file"/>
+ <details key="propertyCategory" value="Diagram"/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="childRules" upperBound="-1"
eType="#//ChildRule" containment="true">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="These rules determine which model elements can be added as child of the origin through this diagram"/>
+ <details key="documentation" value="The set of rules that determine which model elements can be added as child of the origin through this diagram"/>
+ <details key="propertyDescription" value="The set of rules that determine which model elements can be added as child of the origin through this diagram"/>
+ <details key="propertyCategory" value="Diagram"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="paletteRules" upperBound="-1"
eType="#//PaletteRule" containment="true">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="These rules determine which palette elements should be available for this diagram"/>
+ <details key="documentation" value="These set of rules that determine which palette elements should be available for this diagram"/>
+ <details key="propertyDescription" value="These set of rules that determine which palette elements should be available for this diagram"/>
+ <details key="propertyCategory" value="Diagram"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="assistantRules" upperBound="-1"
eType="#//AssistantRule" containment="true">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="These rules determine which modeling assistants should be presented in this diagram"/>
+ <details key="documentation" value="The set of rules that determine which modeling assistants should be presented in this diagram"/>
+ <details key="propertyDescription" value="The set of rules that determine which modeling assistants should be presented in this diagram"/>
+ <details key="propertyCategory" value="Diagram"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="creationCommandClass" lowerBound="1">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The fully qualified name of a command that creates the diagram. The command must implement the org.eclipse.papyrus.commands.ICreationCommand inteface"/>
+ <details key="propertyDescription" value="The fully qualified name of a command that creates the diagram. The command must implement the org.eclipse.papyrus.commands.ICreationCommand inteface"/>
+ <details key="propertyCategory" value="Diagram"/>
+ </eAnnotations>
<eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaClass">
<eTypeArguments/>
</eGenericType>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="palettes" upperBound="-1"
- eType="ecore:EClass ../../org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration/model/PaletteConfiguration.ecore#//PaletteConfiguration"/>
+ eType="ecore:EClass ../../org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration/model/PaletteConfiguration.ecore#//PaletteConfiguration">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="A set of palette configurations used by the diagram (typically found in .paletteconfiguration files)"/>
+ <details key="propertyDescription" value="A set of palette configurations used by the diagram (typically found in .paletteconfiguration files)"/>
+ <details key="propertyCategory" value="Diagram"/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ChildRule" eSuperTypes="../../org.eclipse.papyrus.infra.architecture.representation/model/Representation.ecore#//Rule">
- <eStructuralFeatures xsi:type="ecore:EReference" name="element" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="A rule that controls the types of elements that can be dropped on this diagram kind."/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="element" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The type (from the language's metamodel) that an element must have to be dropped on this diagram kind."/>
+ <details key="propertyDescription" value="The type (from the language's metamodel) that an element must have to be dropped on this diagram kind."/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="stereotypes" upperBound="-1"
- eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="origin" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The stereotype (from the language's profiles) that an element must have to be dropped on this diagram kind."/>
+ <details key="propertyDescription" value="The stereotype (from the language's profiles) that an element must have to be dropped on this diagram kind."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="origin" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The type (from the language's metamodel) that an element must have to be the target of the drop of the child model element."/>
+ <details key="propertyDescription" value="The type (from the language's metamodel) that an element must have to be the target of the drop of the child model element."/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="insertionPath" upperBound="-1"
- eType="#//PathElement" containment="true"/>
+ eType="#//PathElement" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="A path of properties that must be used from the origin to insert the new child model element in the model."/>
+ <details key="propertyDescription" value="A path of properties that must be used from the origin to insert the new child model element in the model."/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PaletteRule" eSuperTypes="../../org.eclipse.papyrus.infra.architecture.representation/model/Representation.ecore#//Rule">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="element" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="A rule that controls the palette of the diagram kind."/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="element" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="A pattern (that can include *) to match for the identifier of a palette element."/>
+ <details key="propertyDescription" value="A pattern (that can include *) to match for the identifier of a palette element."/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PathElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="A path of properties that must be used from the origin to insert the new child model element in the model."/>
+ </eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="feature" lowerBound="1"
- eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EReference"/>
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EReference">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The reference from the origin type that represents the collection of next elements in the path."/>
+ <details key="propertyDescription" value="The reference from the origin type that represents the collection of next elements in the path."/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="origin" lowerBound="1"
eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass" changeable="false"
- volatile="true" transient="true" derived="true"/>
+ volatile="true" transient="true" derived="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The type (from the language's metamodel) that an element must have to be the next segment in the path."/>
+ <details key="propertyDescription" value="The type (from the language's metamodel) that an element must have to be the next segment in the path."/>
+ </eAnnotations>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="target" lowerBound="1"
eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass" changeable="false"
- volatile="true" transient="true" derived="true"/>
+ volatile="true" transient="true" derived="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The type (from the language's metamodel) that is the type of the reference feature."/>
+ <details key="propertyDescription" value="The type (from the language's metamodel) that is the type of the reference feature."/>
+ </eAnnotations>
+ </eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AssistantRule" eSuperTypes="../../org.eclipse.papyrus.infra.architecture.representation/model/Representation.ecore#//Rule">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
@@ -63,7 +138,8 @@
</eOperations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="elementTypeID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="&lt;p>&#xA;Modeling assistants are identified by the ID of the element type that they create.&#xA;This element type ID supports very simple wildcard patterns: an asterisk (&lt;tt>*&lt;/tt>)&#xA;may be used to match any substring, including the empty substring. This is&#xA;particularly useful to match an entire family of related element types by namespace&#xA;prefix, using a terminal asterisk.&#xA;&lt;/p>&lt;p>&#xA;If the element type ID is omitted, then the rule applies to all element types&#xA;(universal wildcard).&#xA;&lt;/p>"/>
+ <details key="documentation" value="A pattern (that can include *) to match for the identifier of a assistant element."/>
+ <details key="propertyDescription" value="A pattern (that can include *) to match for the identifier of a assistant element."/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>

Back to the top