Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBelqassim Djafer2014-08-13 15:01:42 +0000
committerLaurent Redor2014-08-21 10:19:53 +0000
commit412a4d127665ef114b66b10c5732091824bba353 (patch)
tree76f28eab39c179b5479d6e1a35c9063be82fe195
parent49befdb3fb46deb246b5f7331764b11116895c57 (diff)
downloadorg.eclipse.sirius-412a4d127665ef114b66b10c5732091824bba353.tar.gz
org.eclipse.sirius-412a4d127665ef114b66b10c5732091824bba353.tar.xz
org.eclipse.sirius-412a4d127665ef114b66b10c5732091824bba353.zip
[441711] Replace "New Detail: new representation" menu by simplier entry
Bug: 441711 Change-Id: I2118c8e1700ce3cd9dedeb8920ce0ff82f6b4639 Signed-off-by: Belqassim Djafer <belqassim.djafer@obeo.fr>
-rw-r--r--plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/api/actions/AbstractCreateRepresentationFromRepresentationCreationDescription.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/api/actions/AbstractCreateRepresentationFromRepresentationCreationDescription.java b/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/api/actions/AbstractCreateRepresentationFromRepresentationCreationDescription.java
index c4689f68d1..76587a018f 100644
--- a/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/api/actions/AbstractCreateRepresentationFromRepresentationCreationDescription.java
+++ b/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/api/actions/AbstractCreateRepresentationFromRepresentationCreationDescription.java
@@ -124,7 +124,7 @@ public abstract class AbstractCreateRepresentationFromRepresentationCreationDesc
@Override
public String getText() {
final IdentifiedElementQuery query = new IdentifiedElementQuery(desc);
- return new StringBuffer("New detail : ").append(query.getLabel()).toString();
+ return query.getLabel();
}
/**

Back to the top