Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/facet/org.eclipse.papyrus.emf.facet.efacet.sdk.ui/src/org/eclipse/papyrus/emf/facet/efacet/sdk/ui/internal/dialog/AbstractComandMainDialog.java')
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.efacet.sdk.ui/src/org/eclipse/papyrus/emf/facet/efacet/sdk/ui/internal/dialog/AbstractComandMainDialog.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.sdk.ui/src/org/eclipse/papyrus/emf/facet/efacet/sdk/ui/internal/dialog/AbstractComandMainDialog.java b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.sdk.ui/src/org/eclipse/papyrus/emf/facet/efacet/sdk/ui/internal/dialog/AbstractComandMainDialog.java
index 7de21814cc5..8abcb8a8147 100644
--- a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.sdk.ui/src/org/eclipse/papyrus/emf/facet/efacet/sdk/ui/internal/dialog/AbstractComandMainDialog.java
+++ b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.sdk.ui/src/org/eclipse/papyrus/emf/facet/efacet/sdk/ui/internal/dialog/AbstractComandMainDialog.java
@@ -1,11 +1,11 @@
/**
* Copyright (c) 2012 Mia-Software.
- *
+ *
* 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Alban Ménager (Soft-Maint) - Bug 387470 - [EFacet][Custom] Editors
* Grégoire Dupé (Mia-Software) - Bug 387470 - [EFacet][Custom] Editors
@@ -14,13 +14,13 @@ package org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.dialog;
import org.eclipse.emf.common.command.Command;
import org.eclipse.emf.edit.domain.EditingDomain;
+import org.eclipse.osgi.util.NLS;
import org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.exception.SdkUiRuntimeException;
import org.eclipse.papyrus.emf.facet.util.core.DebugUtils;
import org.eclipse.papyrus.emf.facet.util.emf.core.EmfDebugUtils;
import org.eclipse.papyrus.emf.facet.util.ui.internal.exported.displaysync.SynchronizedObject;
import org.eclipse.papyrus.emf.facet.util.ui.internal.exported.util.dialog.AbstractMainDialog;
import org.eclipse.papyrus.emf.facet.util.ui.internal.exported.util.widget.command.ICommandWidget;
-import org.eclipse.osgi.util.NLS;
public abstract class AbstractComandMainDialog<W extends ICommandWidget>
extends AbstractMainDialog<W> {
@@ -29,7 +29,7 @@ public abstract class AbstractComandMainDialog<W extends ICommandWidget>
/**
* Constructor.
- *
+ *
* @param editedElement
* the selection in the model (ecore file).
* @param editingDomain
@@ -54,8 +54,7 @@ public abstract class AbstractComandMainDialog<W extends ICommandWidget>
final SynchronizedObject<?> syncObject = (SynchronizedObject<?>) widget;
widget = syncObject.getSynchronizedObject();
}
- throw new SdkUiRuntimeException(NLS.bind(
- "The command created by {0} is not executable: {1}", //$NON-NLS-1$
+ throw new SdkUiRuntimeException(NLS.bind("The command created by {0} is not executable: {1}", //$NON-NLS-1$
widget.getClass().getName(),
EmfDebugUtils.debugCommand(command)));
}

Back to the top