Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorAlexander Kurtakov2019-08-08 14:29:20 +0000
committerAlexander Kurtakov2019-08-10 14:28:51 +0000
commit51da3eb3a619c85b31c74d0a1bedacfa94f5db58 (patch)
tree365fd63608942f012c2364c73adc0870b6ce3188 /debug
parentbb602d0fb30606cda1368daab091e66bdf1dbc4d (diff)
downloadorg.eclipse.cdt-51da3eb3a619c85b31c74d0a1bedacfa94f5db58.tar.gz
org.eclipse.cdt-51da3eb3a619c85b31c74d0a1bedacfa94f5db58.tar.xz
org.eclipse.cdt-51da3eb3a619c85b31c74d0a1bedacfa94f5db58.zip
Remove redundant superinterfaces.
Change-Id: I0de3509b02a8ef6853f0053c9ee6edd304a05a86 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/debug/application/DummyPage.java3
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IChangeReverseMethodHandler.java4
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CAddressDynamicPrintf.java3
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CAddressTracepoint.java3
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CFunctionDynamicPrintf.java6
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CFunctionTracepoint.java6
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CLineDynamicPrintf.java6
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CLineTracepoint.java6
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractDebugActionDelegate.java5
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractEditorActionDelegate.java14
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractListenerActionDelegate.java3
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractViewActionDelegate.java12
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CAddBreakpointInteractiveRulerActionDelegate.java16
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CAddDynamicPrintfInteractiveRulerActionDelegate.java16
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CRulerToggleBreakpointActionDelegate.java18
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/executables/ExecutablesContentProvider.java6
16 files changed, 18 insertions, 109 deletions
diff --git a/debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/debug/application/DummyPage.java b/debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/debug/application/DummyPage.java
index dfc233de0fa..793f892799f 100644
--- a/debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/debug/application/DummyPage.java
+++ b/debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/debug/application/DummyPage.java
@@ -15,12 +15,11 @@ package org.eclipse.cdt.debug.application;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
-import org.eclipse.ui.IWorkbenchPropertyPage;
import org.eclipse.ui.dialogs.PropertyPage;
// This class is just to replace a category reference in org.eclipse.cdt.ui that
// we exclude because we do not bring in the org.eclipse.cdt.managedbuild.ui plug-in.
-public class DummyPage extends PropertyPage implements IWorkbenchPropertyPage {
+public class DummyPage extends PropertyPage {
public DummyPage() {
// do nothing
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IChangeReverseMethodHandler.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IChangeReverseMethodHandler.java
index 3c33105c145..4e531bbfc58 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IChangeReverseMethodHandler.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IChangeReverseMethodHandler.java
@@ -13,14 +13,12 @@
*******************************************************************************/
package org.eclipse.cdt.debug.core.model;
-import org.eclipse.debug.core.commands.IDebugCommandHandler;
-
/**
* Handler interface for the reverse debug change method command
*
* @since 8.0
*/
-public interface IChangeReverseMethodHandler extends IReverseToggleHandler, IDebugCommandHandler {
+public interface IChangeReverseMethodHandler extends IReverseToggleHandler {
/**
* List of different values for the reverse debugging method.
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CAddressDynamicPrintf.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CAddressDynamicPrintf.java
index 5202b000636..ab2c3768250 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CAddressDynamicPrintf.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CAddressDynamicPrintf.java
@@ -17,7 +17,6 @@ import java.util.Map;
import org.eclipse.cdt.debug.core.CDebugUtils;
import org.eclipse.cdt.debug.core.model.ICAddressBreakpoint;
-import org.eclipse.cdt.debug.core.model.ICDynamicPrintf;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
@@ -28,7 +27,7 @@ import com.ibm.icu.text.MessageFormat;
*
* @since 7.5
*/
-public class CAddressDynamicPrintf extends AbstractDynamicPrintf implements ICAddressBreakpoint, ICDynamicPrintf {
+public class CAddressDynamicPrintf extends AbstractDynamicPrintf implements ICAddressBreakpoint {
public CAddressDynamicPrintf() {
}
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CAddressTracepoint.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CAddressTracepoint.java
index af50b22d3c2..6a76e638999 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CAddressTracepoint.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CAddressTracepoint.java
@@ -17,7 +17,6 @@ import java.util.Map;
import org.eclipse.cdt.debug.core.CDebugUtils;
import org.eclipse.cdt.debug.core.model.ICAddressBreakpoint;
-import org.eclipse.cdt.debug.core.model.ICTracepoint;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
@@ -28,7 +27,7 @@ import com.ibm.icu.text.MessageFormat;
*
* @since 6.1
*/
-public class CAddressTracepoint extends AbstractTracepoint implements ICAddressBreakpoint, ICTracepoint {
+public class CAddressTracepoint extends AbstractTracepoint implements ICAddressBreakpoint {
/**
* Constructor for CAddressTracepoint.
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CFunctionDynamicPrintf.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CFunctionDynamicPrintf.java
index 2f3742a9dde..1a8b346e943 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CFunctionDynamicPrintf.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CFunctionDynamicPrintf.java
@@ -16,7 +16,6 @@ package org.eclipse.cdt.debug.internal.core.breakpoints;
import java.util.Map;
import org.eclipse.cdt.debug.core.CDebugUtils;
-import org.eclipse.cdt.debug.core.model.ICDynamicPrintf;
import org.eclipse.cdt.debug.core.model.ICFunctionBreakpoint;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
@@ -28,7 +27,7 @@ import com.ibm.icu.text.MessageFormat;
*
* @since 7.5
*/
-public class CFunctionDynamicPrintf extends AbstractDynamicPrintf implements ICFunctionBreakpoint, ICDynamicPrintf {
+public class CFunctionDynamicPrintf extends AbstractDynamicPrintf implements ICFunctionBreakpoint {
public CFunctionDynamicPrintf() {
}
@@ -45,9 +44,6 @@ public class CFunctionDynamicPrintf extends AbstractDynamicPrintf implements ICF
return C_FUNCTION_DYNAMICPRINTF_MARKER;
}
- /*(non-Javadoc)
- * @see org.eclipse.cdt.debug.internal.core.breakpoints.CBreakpoint#getMarkerMessage()
- */
@Override
protected String getMarkerMessage() throws CoreException {
return MessageFormat.format(BreakpointMessages.getString("CFunctionDynamicPrintf.0"), //$NON-NLS-1$
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CFunctionTracepoint.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CFunctionTracepoint.java
index f76d0ba9b36..0cc8b35a279 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CFunctionTracepoint.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CFunctionTracepoint.java
@@ -17,7 +17,6 @@ import java.util.Map;
import org.eclipse.cdt.debug.core.CDebugUtils;
import org.eclipse.cdt.debug.core.model.ICFunctionBreakpoint;
-import org.eclipse.cdt.debug.core.model.ICTracepoint;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
@@ -28,7 +27,7 @@ import com.ibm.icu.text.MessageFormat;
*
* @since 6.1
*/
-public class CFunctionTracepoint extends AbstractTracepoint implements ICFunctionBreakpoint, ICTracepoint {
+public class CFunctionTracepoint extends AbstractTracepoint implements ICFunctionBreakpoint {
/**
* Constructor for CFunctionTracepoint.
@@ -51,9 +50,6 @@ public class CFunctionTracepoint extends AbstractTracepoint implements ICFunctio
return C_FUNCTION_TRACEPOINT_MARKER;
}
- /*(non-Javadoc)
- * @see org.eclipse.cdt.debug.internal.core.breakpoints.CBreakpoint#getMarkerMessage()
- */
@Override
protected String getMarkerMessage() throws CoreException {
return MessageFormat.format(BreakpointMessages.getString("CFunctionTracepoint.0"), //$NON-NLS-1$
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CLineDynamicPrintf.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CLineDynamicPrintf.java
index 4cb53aea36a..583f1b193ea 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CLineDynamicPrintf.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CLineDynamicPrintf.java
@@ -17,7 +17,6 @@ import java.util.Map;
import org.eclipse.cdt.debug.core.CDebugUtils;
import org.eclipse.cdt.debug.core.model.ICBreakpoint;
-import org.eclipse.cdt.debug.core.model.ICDynamicPrintf;
import org.eclipse.cdt.debug.core.model.ICLineBreakpoint2;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IResource;
@@ -30,7 +29,7 @@ import com.ibm.icu.text.MessageFormat;
*
* @since 7.5
*/
-public class CLineDynamicPrintf extends AbstractDynamicPrintf implements ICDynamicPrintf, ICLineBreakpoint2 {
+public class CLineDynamicPrintf extends AbstractDynamicPrintf {
public CLineDynamicPrintf() {
}
@@ -44,9 +43,6 @@ public class CLineDynamicPrintf extends AbstractDynamicPrintf implements ICDynam
return C_LINE_DYNAMICPRINTF_MARKER;
}
- /*(non-Javadoc)
- * @see org.eclipse.cdt.debug.internal.core.breakpoints.CBreakpoint#getMarkerMessage()
- */
@Override
protected String getMarkerMessage() throws CoreException {
IMarker marker = this.getMarker();
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CLineTracepoint.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CLineTracepoint.java
index 4abceb45771..5c2bfb8ddd7 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CLineTracepoint.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CLineTracepoint.java
@@ -18,7 +18,6 @@ import java.util.Map;
import org.eclipse.cdt.debug.core.CDebugUtils;
import org.eclipse.cdt.debug.core.model.ICBreakpoint;
import org.eclipse.cdt.debug.core.model.ICLineBreakpoint2;
-import org.eclipse.cdt.debug.core.model.ICTracepoint;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
@@ -30,7 +29,7 @@ import com.ibm.icu.text.MessageFormat;
*
* @since 6.1
*/
-public class CLineTracepoint extends AbstractTracepoint implements ICTracepoint, ICLineBreakpoint2 {
+public class CLineTracepoint extends AbstractTracepoint implements ICLineBreakpoint2 {
/**
* Constructor for CLineTracepoint.
@@ -64,9 +63,6 @@ public class CLineTracepoint extends AbstractTracepoint implements ICTracepoint,
return count;
}
- /*(non-Javadoc)
- * @see org.eclipse.cdt.debug.internal.core.breakpoints.CBreakpoint#getMarkerMessage()
- */
@Override
protected String getMarkerMessage() throws CoreException {
return MessageFormat.format(BreakpointMessages.getString("CLineTracepoint.0"), //$NON-NLS-1$
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractDebugActionDelegate.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractDebugActionDelegate.java
index a699f3b3208..b4dd465e463 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractDebugActionDelegate.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractDebugActionDelegate.java
@@ -32,7 +32,6 @@ import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Event;
import org.eclipse.ui.IActionDelegate2;
import org.eclipse.ui.INullSelectionListener;
-import org.eclipse.ui.ISelectionListener;
import org.eclipse.ui.IViewActionDelegate;
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.IWorkbenchPage;
@@ -40,8 +39,8 @@ import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
-public abstract class AbstractDebugActionDelegate implements IWorkbenchWindowActionDelegate, IViewActionDelegate,
- IActionDelegate2, ISelectionListener, INullSelectionListener {
+public abstract class AbstractDebugActionDelegate
+ implements IWorkbenchWindowActionDelegate, IViewActionDelegate, IActionDelegate2, INullSelectionListener {
/**
* The underlying action for this delegate
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractEditorActionDelegate.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractEditorActionDelegate.java
index 019733bcd1c..fef9fa276c4 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractEditorActionDelegate.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractEditorActionDelegate.java
@@ -23,7 +23,6 @@ import org.eclipse.ui.IEditorActionDelegate;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.INullSelectionListener;
import org.eclipse.ui.IPartListener;
-import org.eclipse.ui.ISelectionListener;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.IWorkbenchWindow;
@@ -36,8 +35,8 @@ import org.eclipse.ui.actions.ActionDelegate;
*
* @since Sep 19, 2002
*/
-public abstract class AbstractEditorActionDelegate extends ActionDelegate implements IWorkbenchWindowActionDelegate,
- IEditorActionDelegate, IPartListener, ISelectionListener, INullSelectionListener {
+public abstract class AbstractEditorActionDelegate extends ActionDelegate
+ implements IWorkbenchWindowActionDelegate, IEditorActionDelegate, IPartListener, INullSelectionListener {
private IAction fAction;
private IWorkbenchWindow fWorkbenchWindow;
private IWorkbenchPart fTargetPart;
@@ -49,9 +48,6 @@ public abstract class AbstractEditorActionDelegate extends ActionDelegate implem
public AbstractEditorActionDelegate() {
}
- /* (non-Javadoc)
- * @see org.eclipse.ui.IWorkbenchWindowActionDelegate#dispose()
- */
@Override
public void dispose() {
IWorkbenchWindow win = getWorkbenchWindow();
@@ -61,9 +57,6 @@ public abstract class AbstractEditorActionDelegate extends ActionDelegate implem
}
}
- /* (non-Javadoc)
- * @see org.eclipse.ui.IWorkbenchWindowActionDelegate#init(IWorkbenchWindow)
- */
@Override
public void init(IWorkbenchWindow window) {
setWorkbenchWindow(window);
@@ -77,9 +70,6 @@ public abstract class AbstractEditorActionDelegate extends ActionDelegate implem
update();
}
- /* (non-Javadoc)
- * @see org.eclipse.ui.IEditorActionDelegate#setActiveEditor(IAction, IEditorPart)
- */
@Override
public void setActiveEditor(IAction action, IEditorPart targetEditor) {
setAction(action);
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractListenerActionDelegate.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractListenerActionDelegate.java
index 88578e57af2..9690320c74f 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractListenerActionDelegate.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractListenerActionDelegate.java
@@ -19,14 +19,13 @@ import org.eclipse.debug.core.IDebugEventSetListener;
import org.eclipse.jface.action.IAction;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.IActionDelegate2;
import org.eclipse.ui.IViewActionDelegate;
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
public abstract class AbstractListenerActionDelegate extends AbstractDebugActionDelegate
- implements IDebugEventSetListener, IActionDelegate2 {
+ implements IDebugEventSetListener {
/**
* @see org.eclipse.ui.IWorkbenchWindowActionDelegate#dispose()
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractViewActionDelegate.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractViewActionDelegate.java
index 8c6fc6851e8..da755d2eb3a 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractViewActionDelegate.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractViewActionDelegate.java
@@ -32,7 +32,6 @@ import org.eclipse.swt.custom.BusyIndicator;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.INullSelectionListener;
-import org.eclipse.ui.ISelectionListener;
import org.eclipse.ui.IViewActionDelegate;
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.IWorkbenchPart;
@@ -44,7 +43,7 @@ import org.eclipse.ui.actions.ActionDelegate;
* driven by the selection in the Debug view.
*/
public abstract class AbstractViewActionDelegate extends ActionDelegate
- implements IViewActionDelegate, ISelectionListener, INullSelectionListener, IDebugEventSetListener {
+ implements IViewActionDelegate, INullSelectionListener, IDebugEventSetListener {
private IAction fAction;
@@ -52,9 +51,6 @@ public abstract class AbstractViewActionDelegate extends ActionDelegate
private IStructuredSelection fSelection = StructuredSelection.EMPTY;
- /* (non-Javadoc)
- * @see org.eclipse.ui.IViewActionDelegate#init(org.eclipse.ui.IViewPart)
- */
@Override
public void init(IViewPart view) {
setView(view);
@@ -68,9 +64,6 @@ public abstract class AbstractViewActionDelegate extends ActionDelegate
selectionChanged((IWorkbenchPart) null, ss);
}
- /* (non-Javadoc)
- * @see org.eclipse.ui.IActionDelegate2#dispose()
- */
@Override
public void dispose() {
IWorkbenchWindow window = getWindow();
@@ -81,9 +74,6 @@ public abstract class AbstractViewActionDelegate extends ActionDelegate
super.dispose();
}
- /* (non-Javadoc)
- * @see org.eclipse.ui.IActionDelegate2#init(org.eclipse.jface.action.IAction)
- */
@Override
public void init(IAction action) {
setAction(action);
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CAddBreakpointInteractiveRulerActionDelegate.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CAddBreakpointInteractiveRulerActionDelegate.java
index 162c43e49f7..04a5aba22d8 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CAddBreakpointInteractiveRulerActionDelegate.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CAddBreakpointInteractiveRulerActionDelegate.java
@@ -16,7 +16,6 @@ package org.eclipse.cdt.debug.internal.ui.actions.breakpoints;
import org.eclipse.cdt.debug.ui.breakpoints.IToggleBreakpointsTargetCExtension;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.text.source.IVerticalRulerInfo;
-import org.eclipse.ui.IActionDelegate2;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.texteditor.AbstractRulerActionDelegate;
import org.eclipse.ui.texteditor.ITextEditor;
@@ -54,24 +53,17 @@ import org.eclipse.ui.texteditor.ITextEditor;
* @noextend This class is not intended to be sub-classed by clients.
* @noinstantiate This class is not intended to be instantiated by clients.
*/
-public class CAddBreakpointInteractiveRulerActionDelegate extends AbstractRulerActionDelegate
- implements IActionDelegate2 {
+public class CAddBreakpointInteractiveRulerActionDelegate extends AbstractRulerActionDelegate {
private IEditorPart fEditor = null;
private CAddBreakpointInteractiveRulerAction fDelegate = null;
- /* (non-Javadoc)
- * @see org.eclipse.ui.texteditor.AbstractRulerActionDelegate#createAction(org.eclipse.ui.texteditor.ITextEditor, org.eclipse.jface.text.source.IVerticalRulerInfo)
- */
@Override
protected IAction createAction(ITextEditor editor, IVerticalRulerInfo rulerInfo) {
fDelegate = new CAddBreakpointInteractiveRulerAction(editor, null, rulerInfo);
return fDelegate;
}
- /* (non-Javadoc)
- * @see org.eclipse.ui.IEditorActionDelegate#setActiveEditor(org.eclipse.jface.action.IAction, org.eclipse.ui.IEditorPart)
- */
@Override
public void setActiveEditor(IAction callerAction, IEditorPart targetEditor) {
if (fEditor != null) {
@@ -84,16 +76,10 @@ public class CAddBreakpointInteractiveRulerActionDelegate extends AbstractRulerA
super.setActiveEditor(callerAction, targetEditor);
}
- /* (non-Javadoc)
- * @see org.eclipse.ui.IActionDelegate2#init(org.eclipse.jface.action.IAction)
- */
@Override
public void init(IAction action) {
}
- /* (non-Javadoc)
- * @see org.eclipse.ui.IActionDelegate2#dispose()
- */
@Override
public void dispose() {
if (fDelegate != null) {
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CAddDynamicPrintfInteractiveRulerActionDelegate.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CAddDynamicPrintfInteractiveRulerActionDelegate.java
index feea500c7bc..33f2ae7b0d8 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CAddDynamicPrintfInteractiveRulerActionDelegate.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CAddDynamicPrintfInteractiveRulerActionDelegate.java
@@ -17,7 +17,6 @@ package org.eclipse.cdt.debug.internal.ui.actions.breakpoints;
import org.eclipse.cdt.debug.ui.breakpoints.IToggleBreakpointsTargetCExtension;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.text.source.IVerticalRulerInfo;
-import org.eclipse.ui.IActionDelegate2;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.texteditor.AbstractRulerActionDelegate;
import org.eclipse.ui.texteditor.ITextEditor;
@@ -55,24 +54,17 @@ import org.eclipse.ui.texteditor.ITextEditor;
* @noextend This class is not intended to be sub-classed by clients.
* @noinstantiate This class is not intended to be instantiated by clients.
*/
-public class CAddDynamicPrintfInteractiveRulerActionDelegate extends AbstractRulerActionDelegate
- implements IActionDelegate2 {
+public class CAddDynamicPrintfInteractiveRulerActionDelegate extends AbstractRulerActionDelegate {
private IEditorPart fEditor = null;
private CAddDynamicPrintfInteractiveRulerAction fDelegate = null;
- /* (non-Javadoc)
- * @see org.eclipse.ui.texteditor.AbstractRulerActionDelegate#createAction(org.eclipse.ui.texteditor.ITextEditor, org.eclipse.jface.text.source.IVerticalRulerInfo)
- */
@Override
protected IAction createAction(ITextEditor editor, IVerticalRulerInfo rulerInfo) {
fDelegate = new CAddDynamicPrintfInteractiveRulerAction(editor, null, rulerInfo);
return fDelegate;
}
- /* (non-Javadoc)
- * @see org.eclipse.ui.IEditorActionDelegate#setActiveEditor(org.eclipse.jface.action.IAction, org.eclipse.ui.IEditorPart)
- */
@Override
public void setActiveEditor(IAction callerAction, IEditorPart targetEditor) {
if (fEditor != null) {
@@ -85,16 +77,10 @@ public class CAddDynamicPrintfInteractiveRulerActionDelegate extends AbstractRul
super.setActiveEditor(callerAction, targetEditor);
}
- /* (non-Javadoc)
- * @see org.eclipse.ui.IActionDelegate2#init(org.eclipse.jface.action.IAction)
- */
@Override
public void init(IAction action) {
}
- /* (non-Javadoc)
- * @see org.eclipse.ui.IActionDelegate2#dispose()
- */
@Override
public void dispose() {
if (fDelegate != null) {
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CRulerToggleBreakpointActionDelegate.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CRulerToggleBreakpointActionDelegate.java
index 59c57529ef3..763db461901 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CRulerToggleBreakpointActionDelegate.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/breakpoints/CRulerToggleBreakpointActionDelegate.java
@@ -18,7 +18,6 @@ import org.eclipse.debug.ui.actions.ToggleBreakpointAction;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.text.source.IVerticalRulerInfo;
import org.eclipse.swt.widgets.Event;
-import org.eclipse.ui.IActionDelegate2;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.texteditor.AbstractRulerActionDelegate;
import org.eclipse.ui.texteditor.ITextEditor;
@@ -30,14 +29,11 @@ import org.eclipse.ui.texteditor.ITextEditor;
*
* @see org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate
*/
-public class CRulerToggleBreakpointActionDelegate extends AbstractRulerActionDelegate implements IActionDelegate2 {
+public class CRulerToggleBreakpointActionDelegate extends AbstractRulerActionDelegate {
private IEditorPart fEditor = null;
private ToggleBreakpointAction fDelegate = null;
- /* (non-Javadoc)
- * @see org.eclipse.ui.texteditor.AbstractRulerActionDelegate#createAction(org.eclipse.ui.texteditor.ITextEditor, org.eclipse.jface.text.source.IVerticalRulerInfo)
- */
@Override
protected IAction createAction(ITextEditor editor, IVerticalRulerInfo rulerInfo) {
fDelegate = new ToggleBreakpointAction(editor, null, rulerInfo);
@@ -46,9 +42,6 @@ public class CRulerToggleBreakpointActionDelegate extends AbstractRulerActionDel
return fDelegate;
}
- /* (non-Javadoc)
- * @see org.eclipse.ui.IEditorActionDelegate#setActiveEditor(org.eclipse.jface.action.IAction, org.eclipse.ui.IEditorPart)
- */
@Override
public void setActiveEditor(IAction callerAction, IEditorPart targetEditor) {
if (fEditor != null) {
@@ -61,16 +54,10 @@ public class CRulerToggleBreakpointActionDelegate extends AbstractRulerActionDel
super.setActiveEditor(callerAction, targetEditor);
}
- /* (non-Javadoc)
- * @see org.eclipse.ui.IActionDelegate2#init(org.eclipse.jface.action.IAction)
- */
@Override
public void init(IAction action) {
}
- /* (non-Javadoc)
- * @see org.eclipse.ui.IActionDelegate2#dispose()
- */
@Override
public void dispose() {
if (fDelegate != null) {
@@ -80,9 +67,6 @@ public class CRulerToggleBreakpointActionDelegate extends AbstractRulerActionDel
fEditor = null;
}
- /* (non-Javadoc)
- * @see org.eclipse.ui.IActionDelegate2#runWithEvent(org.eclipse.jface.action.IAction, org.eclipse.swt.widgets.Event)
- */
@Override
public void runWithEvent(IAction action, Event event) {
if (fDelegate != null) {
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/executables/ExecutablesContentProvider.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/executables/ExecutablesContentProvider.java
index d0725b1aafd..0898e7d8ac6 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/executables/ExecutablesContentProvider.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/executables/ExecutablesContentProvider.java
@@ -25,7 +25,6 @@ import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.jface.viewers.ColumnLabelProvider;
-import org.eclipse.jface.viewers.IStructuredContentProvider;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.jface.viewers.Viewer;
@@ -35,7 +34,7 @@ import org.eclipse.ui.progress.WorkbenchJob;
import com.ibm.icu.text.DateFormat;
class ExecutablesContentProvider extends ColumnLabelProvider
- implements IStructuredContentProvider, ITreeContentProvider, IExecutablesChangeListener {
+ implements ITreeContentProvider, IExecutablesChangeListener {
final private TreeViewer viewer;
@@ -48,9 +47,6 @@ class ExecutablesContentProvider extends ColumnLabelProvider
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
}
- /* (non-Javadoc)
- * @see org.eclipse.jface.viewers.BaseLabelProvider#dispose()
- */
@Override
public void dispose() {
ExecutablesManager.getExecutablesManager().removeExecutablesChangeListener(this);

Back to the top