Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Maggi2016-11-23 08:48:58 +0000
committerGerrit Code Review @ Eclipse.org2016-11-25 10:06:33 +0000
commit8a2c5a895f3dde09774747ab62f522eb41a5e622 (patch)
treec3987b3f1925aa490a00d57eed8096fd1b4b302a /plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus
parentd967ab9d1053deb7a31e3cdd7ac51ba528526fb6 (diff)
downloadorg.eclipse.papyrus-8a2c5a895f3dde09774747ab62f522eb41a5e622.tar.gz
org.eclipse.papyrus-8a2c5a895f3dde09774747ab62f522eb41a5e622.tar.xz
org.eclipse.papyrus-8a2c5a895f3dde09774747ab62f522eb41a5e622.zip
Bug 508173 - [Quality] Remove deprecated ViewServiceUtil
- remove org/eclipse/papyrus/uml/diagram/common/util/ViewServiceUtil.java - remove old // TODO: Auto-generated Javadoc and // TODO Auto-generated method stub - add //$NON-NLS-1$ for logger - remove old commented code Change-Id: Ife336cc939554258b112980d62981190c1d2f83b Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
Diffstat (limited to 'plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus')
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/listeners/InterruptibleEdgeListener.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/listeners/InterruptibleEdgeListener.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/listeners/InterruptibleEdgeListener.java
index e6b7e5be227..1bad01311e9 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/listeners/InterruptibleEdgeListener.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/listeners/InterruptibleEdgeListener.java
@@ -52,7 +52,7 @@ import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ObjectFlowInterruptib
import org.eclipse.papyrus.uml.diagram.activity.part.UMLDiagramEditorPlugin;
import org.eclipse.papyrus.uml.diagram.activity.request.InterruptibleEdgeRequest;
import org.eclipse.papyrus.uml.diagram.common.listeners.AbstractPapyrusModifcationTriggerListener;
-import org.eclipse.papyrus.uml.diagram.common.util.DiagramEditPartsUtil;
+import org.eclipse.papyrus.infra.gmfdiag.common.utils.DiagramEditPartsUtil;
import org.eclipse.papyrus.uml.diagram.common.util.functions.EObjectToViewFunction;
import org.eclipse.papyrus.uml.diagram.common.util.functions.SettingToEObjectFunction;
import org.eclipse.papyrus.uml.diagram.common.util.predicates.ReferencingViewPredicate;
@@ -112,7 +112,7 @@ public class InterruptibleEdgeListener extends AbstractPapyrusModifcationTrigger
@Override
protected ICommand getModificationCommand(Notification notif) {
if (Notification.SET == notif.getEventType()) {
- CompositeCommand cc = new CompositeCommand("Interruptible Edge Command");//
+ CompositeCommand cc = new CompositeCommand("Interruptible Edge Command");
// Handling views
final Iterable<IGraphicalEditPart> edgesEditPart = DiagramEditPartsUtil.getChildrenByEObject((EObject) notif.getNotifier(), getDiagramEditPart(), true);
InterruptibleEdgeRequest request = new InterruptibleEdgeRequest();
@@ -128,7 +128,7 @@ public class InterruptibleEdgeListener extends AbstractPapyrusModifcationTrigger
cc.compose(createViewCommand);
}
} catch (NullPointerException e) {
- throw new RuntimeException("Unable to find the Visual ID of the Icon of the interruptible Edge for element" + view.getElement());
+ throw new RuntimeException("Unable to find the Visual ID of the Icon of the interruptible Edge for element" + view.getElement()); //$NON-NLS-1$
}
}
} else {

Back to the top