Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2014-10-22 14:15:43 +0000
committerCamille Letavernier2014-10-22 14:59:49 +0000
commit327c8c5b0e7265dc424c224a6e800249d601cc2c (patch)
tree2e3bb599a65a979861285dd71a412087e7e3a2c8 /plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui
parent27f05ae2e8877dd129c07d025eccd5abd009fc3d (diff)
downloadorg.eclipse.papyrus-327c8c5b0e7265dc424c224a6e800249d601cc2c.tar.gz
org.eclipse.papyrus-327c8c5b0e7265dc424c224a6e800249d601cc2c.tar.xz
org.eclipse.papyrus-327c8c5b0e7265dc424c224a6e800249d601cc2c.zip
448384: [XText Editors] Embedded editors must be improved
https://bugs.eclipse.org/bugs/show_bug.cgi?id=448384 - Minor changes to the initial text formatting (Properties & Ports)
Diffstat (limited to 'plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui')
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contributions/UMLPropertyEditorPropertyUtil.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contributions/UMLPropertyEditorPropertyUtil.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contributions/UMLPropertyEditorPropertyUtil.java
index 4e78f04a0b1..427c2b953c1 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contributions/UMLPropertyEditorPropertyUtil.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contributions/UMLPropertyEditorPropertyUtil.java
@@ -28,14 +28,13 @@ public class UMLPropertyEditorPropertyUtil extends PropertyUtil {
public static String getLabel(Property property) {
StringBuffer buffer = new StringBuffer();
// visibility
- buffer.append(" ");
buffer.append(NamedElementUtil.getVisibilityAsSign(property));
+ buffer.append(" ");
// derived property
buffer.append(getDerived(property));
// name
- buffer.append(" ");
buffer.append(ALFIDConverter.nameToID(getName(property)));
// type

Back to the top