commit | 2fe1c5779f50d1f33eddbc9b4460a4fce2077b66 | [log] [tgz] |
---|---|---|
author | Faycal Abka <faycal.abka@altran.com> | Thu Aug 11 16:09:46 2016 +0200 |
committer | Matthieu Helleboid <matthieu.helleboid@thalesgroup.com> | Thu Aug 18 07:44:03 2016 -0400 |
tree | 01650ca2e7298308334a5149b5448db15a588845 | |
parent | a0e26a4dd472809aeb09edb61eee1ab9c5e5972d [diff] |
[499556] Clone Diagram command doesn't compute a right name Bug: 499556 Change-Id: I81c1d53187096b884c9a7d5d7da835c3a6b9dfc2 Signed-off-by: Faycal Abka <faycal.abka@altran.com>
diff --git a/plugins/org.eclipse.amalgam.explorer.activity.ui/src/org/eclipse/amalgam/explorer/activity/ui/internal/viewer/diagram/actions/CloneDiagramCommand.java b/plugins/org.eclipse.amalgam.explorer.activity.ui/src/org/eclipse/amalgam/explorer/activity/ui/internal/viewer/diagram/actions/CloneDiagramCommand.java index a76d4c8..5dc1111 100644 --- a/plugins/org.eclipse.amalgam.explorer.activity.ui/src/org/eclipse/amalgam/explorer/activity/ui/internal/viewer/diagram/actions/CloneDiagramCommand.java +++ b/plugins/org.eclipse.amalgam.explorer.activity.ui/src/org/eclipse/amalgam/explorer/activity/ui/internal/viewer/diagram/actions/CloneDiagramCommand.java
@@ -191,7 +191,7 @@ * @return */ protected String getCloneName(DRepresentation representation_p, Session session_p) { - String message = "GET_NAME_PREFIX "; //$NON-NLS-1$ + String message = "Clone {0}of {1} "; //$NON-NLS-1$ String cloneName = StringHelper.formatMessage(message, new Object[] { "", representation_p.getName() }); //$NON-NLS-1$ boolean cloneNameFound = false; Collection<DRepresentation> allRepresentations = DialectManager.INSTANCE.getAllRepresentations(session_p);