Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaged Elaasar2015-12-10 19:26:30 +0000
committerGerrit Code Review @ Eclipse.org2016-03-22 13:45:02 +0000
commite8484696ad8258ca27ca5c622d037c975161ac6b (patch)
tree1640f5e2f80a242ecbc61b2a47fb0fc7fee8873c /extraplugins
parentac3e24920a8de354a1668d76d59dd549fda9306e (diff)
downloadorg.eclipse.papyrus-e8484696ad8258ca27ca5c622d037c975161ac6b.tar.gz
org.eclipse.papyrus-e8484696ad8258ca27ca5c622d037c975161ac6b.tar.xz
org.eclipse.papyrus-e8484696ad8258ca27ca5c622d037c975161ac6b.zip
Bug 489116 - Unify diagram visualID of all diagrams in Papyrus
1. Changed the visual ids of the UML2 diagrams from numbers to meaningful names corresponding to notational cases. This was applied consistely across diagram such that similar cases get similar visual ids. Added diagram reconcilers for v1.2 to migrate older diagrams. 2. Amalgamated the UML2 diagram element types into a single model (umldi.elementtypesconfigurations). Some diagrams, like Sequence, Communication and Timing, still use extension-based configurations and will need to be migrated later. Change-Id: I7f47b25454dcd1ed81e8f3eeffc1a09a2584d316 Signed-off-by: Maged Elaasar <melaasar@gmail.com>
Diffstat (limited to 'extraplugins')
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.notation2umldi/transforms/NotationToUmlDi.qvto2
1 files changed, 1 insertions, 1 deletions
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.notation2umldi/transforms/NotationToUmlDi.qvto b/extraplugins/diagram-definition/org.eclipse.papyrus.notation2umldi/transforms/NotationToUmlDi.qvto
index d53d8afc696..5c50a2bc3ba 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.notation2umldi/transforms/NotationToUmlDi.qvto
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.notation2umldi/transforms/NotationToUmlDi.qvto
@@ -740,7 +740,7 @@ mapping Notation::Shape::shapeToLifelineShape() : UMLDI::LifelineShape
labels->forEach(label) {
var id := label.eAnnotations.details->any(key='org.eclipse.papyrus.uml.diagram.timing.StateDefinitionViewID').value;
var si := self.element.oclAsType(UML::Lifeline).coveredBy->any(oclIsKindOf(UML::StateInvariant) and
- eAnnotations.details->any(key='org.eclipse.papyrus.uml.diagram.timing.StateInvariantStateDefinitionId').value = id);
+ self.eAnnotations.details->any(key='org.eclipse.papyrus.uml.diagram.timing.StateInvariantStateDefinitionId').value = id);
var constLabel = label.map nodeToConstraintLabel();
constLabel.umlModelElement := si;
constraintLabel += constLabel;

Back to the top