Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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