Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael ADAM2017-07-27 03:37:18 -0400
committervincent lorenzo2017-08-01 05:07:19 -0400
commita04a22bdde836439fd92ed3e13151bbfd34e9e0d (patch)
tree861e35551a60d3dd7e9c355ffb45847956919ee5 /plugins/infra
parentbb30ad4f8e8a27d005fd4775a539d836e2cb4084 (diff)
downloadorg.eclipse.papyrus-a04a22bdde836439fd92ed3e13151bbfd34e9e0d.tar.gz
org.eclipse.papyrus-a04a22bdde836439fd92ed3e13151bbfd34e9e0d.tar.xz
org.eclipse.papyrus-a04a22bdde836439fd92ed3e13151bbfd34e9e0d.zip
Bug 431940 - [CSS] Comment/Constraint links match rules defined for
UML::Connector https://bugs.eclipse.org/bugs/show_bug.cgi?id=431940 - Note AutoCompletion will be pushed in another commit(other modification in progress) Change-Id: Ided805b27e9d986e7e54fcc17df705af048eebd5 Signed-off-by: Mickael ADAM <mickael.adam@all4tec.net>
Diffstat (limited to 'plugins/infra')
-rw-r--r--plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/src/org/eclipse/papyrus/infra/gmfdiag/css/dom/GMFElementAdapter.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/src/org/eclipse/papyrus/infra/gmfdiag/css/dom/GMFElementAdapter.java b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/src/org/eclipse/papyrus/infra/gmfdiag/css/dom/GMFElementAdapter.java
index 58321119f24..11782bce56c 100644
--- a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/src/org/eclipse/papyrus/infra/gmfdiag/css/dom/GMFElementAdapter.java
+++ b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/src/org/eclipse/papyrus/infra/gmfdiag/css/dom/GMFElementAdapter.java
@@ -10,6 +10,7 @@
* Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
* Christian W. Damus - bugs 461629, 436665
* Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - bug 462381
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - bug 431940
*****************************************************************************/
package org.eclipse.papyrus.infra.gmfdiag.css.dom;
@@ -389,9 +390,9 @@ public class GMFElementAdapter extends ElementAdapter implements NodeList, IChan
localName = type;
}
} else if (getNotationElement() instanceof BasicCompartment) {
- return "Compartment";
+ localName = "Compartment";//$NON-NLS-1$
} else if (helper.isFloatingLabel(getNotationElement())) {
- return "Label";
+ localName = "Label";//$NON-NLS-1$
} else {
localName = getSemanticElement().eClass().getName();
}

Back to the top