Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Fasani2017-08-29 08:53:31 +0000
committerLaurent Fasani2017-08-30 11:56:00 +0000
commitd58dfccb9c1394afa6e1af6e01c7831d2842c39e (patch)
tree56533d613ceb7b02d98c81cdba8c6938f4d579d1
parentf0533314c48f8a4ee74573a5a212c6ad91aa15ab (diff)
downloadorg.eclipse.sirius-d58dfccb9c1394afa6e1af6e01c7831d2842c39e.tar.gz
org.eclipse.sirius-d58dfccb9c1394afa6e1af6e01c7831d2842c39e.tar.xz
org.eclipse.sirius-d58dfccb9c1394afa6e1af6e01c7831d2842c39e.zip
[520110] Fix the call to "eraseSourceFeedback" method
* This call is done with reflection. The Method instance was not correctly get. Bug: 520110 Change-Id: Ieb1f69bb31978f402d930019861fe160ec62d5fa Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
-rw-r--r--plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/tools/internal/ui/SelectConnectionEditPartTracker.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/tools/internal/ui/SelectConnectionEditPartTracker.java b/plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/tools/internal/ui/SelectConnectionEditPartTracker.java
index 06daf3a849..e226754e13 100644
--- a/plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/tools/internal/ui/SelectConnectionEditPartTracker.java
+++ b/plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/tools/internal/ui/SelectConnectionEditPartTracker.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2015 THALES GLOBAL SERVICES.
+ * Copyright (c) 2017 THALES GLOBAL SERVICES.
* 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
@@ -55,7 +55,7 @@ public class SelectConnectionEditPartTracker extends org.eclipse.gmf.runtime.gef
if (bExecuteDrag) {
Method eraseSourceFeedbackMethod;
try {
- eraseSourceFeedbackMethod = SelectConnectionEditPartTracker.class.getDeclaredMethod("eraseSourceFeedback"); //$NON-NLS-1$
+ eraseSourceFeedbackMethod = org.eclipse.gmf.runtime.gef.ui.internal.tools.SelectConnectionEditPartTracker.class.getDeclaredMethod("eraseSourceFeedback"); //$NON-NLS-1$
eraseSourceFeedbackMethod.setAccessible(true);
eraseSourceFeedbackMethod.invoke(this);
} catch (NoSuchMethodException | SecurityException | IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {

Back to the top