Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Charles David2017-05-30 10:31:52 -0400
committerPierre-Charles David2017-05-30 10:50:54 -0400
commitacb76b32c3effc2b013b0213161df0edfb51a70b (patch)
tree2c1abc52f279f891a9d45ce5e6483c470b6100fc
parentbcdf84db921091e20e35308f1ed3451f8fc7c362 (diff)
downloadorg.eclipse.sirius-acb76b32c3effc2b013b0213161df0edfb51a70b.tar.gz
org.eclipse.sirius-acb76b32c3effc2b013b0213161df0edfb51a70b.tar.xz
org.eclipse.sirius-acb76b32c3effc2b013b0213161df0edfb51a70b.zip
[cleanup] Fix task name when opening a single representation
Change-Id: If541fbec7ef1b9785bc4e13e751165f6a77f1c8f Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
-rw-r--r--plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/actions/session/OpenRepresentationAction.java2
-rw-r--r--plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/actions/session/OpenRepresentationsAction.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/actions/session/OpenRepresentationAction.java b/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/actions/session/OpenRepresentationAction.java
index 7b27aea231..48bf81f386 100644
--- a/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/actions/session/OpenRepresentationAction.java
+++ b/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/actions/session/OpenRepresentationAction.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2013, 2014 THALES GLOBAL SERVICES.
+ * Copyright (c) 2013, 2017 THALES GLOBAL SERVICES and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
diff --git a/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/actions/session/OpenRepresentationsAction.java b/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/actions/session/OpenRepresentationsAction.java
index 4f8417fa1b..63452881c5 100644
--- a/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/actions/session/OpenRepresentationsAction.java
+++ b/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/actions/session/OpenRepresentationsAction.java
@@ -94,13 +94,13 @@ public class OpenRepresentationsAction extends Action {
}
private void openRepresentations(final Collection<DRepresentationDescriptor> selection, final IProgressMonitor monitor) {
- String taskName = Messages.OpenRepresentationsAction_openRepresentationsTask;
+ String taskName = Messages.OpenRepresentationsAction_openRepresentationTask;
if (selection.size() > 1) {
taskName = Messages.OpenRepresentationsAction_openRepresentationsTask;
}
try {
monitor.beginTask(taskName, 5 * selection.size());
-
+
for (DRepresentationDescriptor repDesc : selection) {
Session session = new EObjectQuery(repDesc.getTarget()).getSession();
monitor.worked(1);

Back to the top