diff options
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/RetargetWatchpointAction.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/RetargetWatchpointAction.java | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/RetargetWatchpointAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/RetargetWatchpointAction.java index 6f315bcfe..c400e7959 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/RetargetWatchpointAction.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/RetargetWatchpointAction.java @@ -26,23 +26,16 @@ import org.eclipse.ui.IWorkbenchPart; */ public class RetargetWatchpointAction extends RetargetBreakpointAction { - /* (non-Javadoc) - * @see org.eclipse.debug.internal.ui.actions.RetargetBreakpointAction#performAction(java.lang.Object, org.eclipse.jface.viewers.ISelection, org.eclipse.ui.IWorkbenchPart) - */ @Override protected void performAction(Object target, ISelection selection, IWorkbenchPart part) throws CoreException { ((IToggleBreakpointsTarget)target).toggleWatchpoints(part, selection); } - /* (non-Javadoc) - * @see org.eclipse.debug.internal.ui.actions.RetargetBreakpointAction#canPerformAction(java.lang.Object, org.eclipse.jface.viewers.ISelection, org.eclipse.ui.IWorkbenchPart) - */ + @Override protected boolean canPerformAction(Object target, ISelection selection, IWorkbenchPart part) { return ((IToggleBreakpointsTarget)target).canToggleWatchpoints(part, selection); } - /* (non-Javadoc) - * @see org.eclipse.debug.internal.ui.actions.RetargetAction#getOperationUnavailableMessage() - */ + @Override protected String getOperationUnavailableMessage() { return Messages.RetargetWatchpointAction_0; |