org.eclipse.datatools.sqltools.debugger.actions
Class ToggleBreakpointAdapter

java.lang.Object
  extended by org.eclipse.datatools.sqltools.debugger.actions.ToggleBreakpointAdapter
All Implemented Interfaces:
org.eclipse.debug.ui.actions.IToggleBreakpointsTarget

public class ToggleBreakpointAdapter
extends java.lang.Object
implements org.eclipse.debug.ui.actions.IToggleBreakpointsTarget

Author:
Yang Liu

Constructor Summary
ToggleBreakpointAdapter()
           
 
Method Summary
 boolean canToggleLineBreakpoints(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
           
 boolean canToggleMethodBreakpoints(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
           
 boolean canToggleWatchpoints(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
           
 void toggleLineBreakpoints(org.eclipse.ui.IEditorPart editorPart, int lineNumber)
           
 void toggleLineBreakpoints(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
           
 void toggleMethodBreakpoints(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
           
 void toggleWatchpoints(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToggleBreakpointAdapter

public ToggleBreakpointAdapter()
Method Detail

toggleLineBreakpoints

public void toggleLineBreakpoints(org.eclipse.ui.IWorkbenchPart part,
                                  org.eclipse.jface.viewers.ISelection selection)
                           throws org.eclipse.core.runtime.CoreException
Specified by:
toggleLineBreakpoints in interface org.eclipse.debug.ui.actions.IToggleBreakpointsTarget
Throws:
org.eclipse.core.runtime.CoreException

toggleLineBreakpoints

public void toggleLineBreakpoints(org.eclipse.ui.IEditorPart editorPart,
                                  int lineNumber)
                           throws org.eclipse.core.runtime.CoreException
Parameters:
editorInput -
lineNumber -
Throws:
org.eclipse.core.runtime.CoreException

canToggleLineBreakpoints

public boolean canToggleLineBreakpoints(org.eclipse.ui.IWorkbenchPart part,
                                        org.eclipse.jface.viewers.ISelection selection)
Specified by:
canToggleLineBreakpoints in interface org.eclipse.debug.ui.actions.IToggleBreakpointsTarget

toggleMethodBreakpoints

public void toggleMethodBreakpoints(org.eclipse.ui.IWorkbenchPart part,
                                    org.eclipse.jface.viewers.ISelection selection)
                             throws org.eclipse.core.runtime.CoreException
Specified by:
toggleMethodBreakpoints in interface org.eclipse.debug.ui.actions.IToggleBreakpointsTarget
Throws:
org.eclipse.core.runtime.CoreException

canToggleMethodBreakpoints

public boolean canToggleMethodBreakpoints(org.eclipse.ui.IWorkbenchPart part,
                                          org.eclipse.jface.viewers.ISelection selection)
Specified by:
canToggleMethodBreakpoints in interface org.eclipse.debug.ui.actions.IToggleBreakpointsTarget

toggleWatchpoints

public void toggleWatchpoints(org.eclipse.ui.IWorkbenchPart part,
                              org.eclipse.jface.viewers.ISelection selection)
                       throws org.eclipse.core.runtime.CoreException
Specified by:
toggleWatchpoints in interface org.eclipse.debug.ui.actions.IToggleBreakpointsTarget
Throws:
org.eclipse.core.runtime.CoreException

canToggleWatchpoints

public boolean canToggleWatchpoints(org.eclipse.ui.IWorkbenchPart part,
                                    org.eclipse.jface.viewers.ISelection selection)
Specified by:
canToggleWatchpoints in interface org.eclipse.debug.ui.actions.IToggleBreakpointsTarget