Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvincent lorenzo2015-02-09 09:48:32 +0000
committerGerrit Code Review @ Eclipse.org2015-02-09 09:48:33 +0000
commit238c0c5b17829b76cb3fae903a977cbabd4d002d (patch)
tree2e1609a25f42c9fdc953e58ec85234dd3130a00a /plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-uml/org/eclipse/papyrus/uml/diagram
parentc6128168bb854cbcf001139bb9bf7a6dc67eccec (diff)
parentfa675a6e0c6c9c093ccefe1e15776487a11ba140 (diff)
downloadorg.eclipse.papyrus-238c0c5b17829b76cb3fae903a977cbabd4d002d.tar.gz
org.eclipse.papyrus-238c0c5b17829b76cb3fae903a977cbabd4d002d.tar.xz
org.eclipse.papyrus-238c0c5b17829b76cb3fae903a977cbabd4d002d.zip
Merge "457470: [SysML Diagram] Label customization feature not working anymore https://bugs.eclipse.org/bugs/show_bug.cgi?id=457470"
Diffstat (limited to 'plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-uml/org/eclipse/papyrus/uml/diagram')
-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