org.eclipse.ocl.examples.debug.ui.actions
Class OCLToggleBreakpointAdapter

java.lang.Object
  extended by org.eclipse.ocl.examples.debug.ui.actions.OCLToggleBreakpointAdapter
All Implemented Interfaces:
org.eclipse.debug.ui.actions.IToggleBreakpointsTarget

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


Constructor Summary
OCLToggleBreakpointAdapter()
           
 
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.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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OCLToggleBreakpointAdapter

public OCLToggleBreakpointAdapter()
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

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