Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas FAUVERGUE2015-01-28 20:27:51 +0000
committervincent lorenzo2015-02-05 14:32:54 +0000
commite1cf005329500f7d5905da013549108d3c15d9e8 (patch)
tree948c6572a9441e5495e4e955de56afc0bc94488b
parent87b808196c0e11008d74370a9c5c886c81889f08 (diff)
downloadorg.eclipse.papyrus-e1cf005329500f7d5905da013549108d3c15d9e8.tar.gz
org.eclipse.papyrus-e1cf005329500f7d5905da013549108d3c15d9e8.tar.xz
org.eclipse.papyrus-e1cf005329500f7d5905da013549108d3c15d9e8.zip
457470: [SysML Diagram] Label customization feature not working anymore
https://bugs.eclipse.org/bugs/show_bug.cgi?id=457470 Change-Id: Iabf1982d2dfa9752e08457e36f8ed307e5abe75a Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
-rw-r--r--plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-uml/org/eclipse/papyrus/uml/diagram/common/edit/part/AbstractElementLabelEditPart.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-uml/org/eclipse/papyrus/uml/diagram/common/edit/part/AbstractElementLabelEditPart.java b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-uml/org/eclipse/papyrus/uml/diagram/common/edit/part/AbstractElementLabelEditPart.java
index 9f8e4f94b33..9269beb8406 100644
--- a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-uml/org/eclipse/papyrus/uml/diagram/common/edit/part/AbstractElementLabelEditPart.java
+++ b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-uml/org/eclipse/papyrus/uml/diagram/common/edit/part/AbstractElementLabelEditPart.java
@@ -639,7 +639,9 @@ public abstract class AbstractElementLabelEditPart extends PapyrusLabelEditPart
if (resolveSemanticElement() != null) {
addSemanticListeners();
}
- // refreshLabel(); //Comment to fix text alignment issue
+ // Bug 457470 : The label refreshment is not done if the following method is not called
+ // This call was comment to fix a text alignment issue (Bug 440226)
+ refreshLabel(); //Comment to fix text alignment issue
}
}
}

Back to the top