org.eclipse.cdt.debug.internal.ui.actions
Class ToggleInstructionStepModeActionDelegate

java.lang.Object
  extended by org.eclipse.ui.actions.ActionDelegate
      extended by org.eclipse.cdt.debug.internal.ui.actions.ToggleInstructionStepModeActionDelegate
All Implemented Interfaces:
java.util.EventListener, org.eclipse.core.runtime.Preferences.IPropertyChangeListener, org.eclipse.ui.IActionDelegate, org.eclipse.ui.IActionDelegate2, org.eclipse.ui.IViewActionDelegate

public class ToggleInstructionStepModeActionDelegate
extends org.eclipse.ui.actions.ActionDelegate
implements org.eclipse.ui.IViewActionDelegate, org.eclipse.core.runtime.Preferences.IPropertyChangeListener

Turns instruction step mode on/off for selected target.


Constructor Summary
ToggleInstructionStepModeActionDelegate()
           
 
Method Summary
 void dispose()
           
 void init(org.eclipse.jface.action.IAction action)
           
 void init(org.eclipse.ui.IViewPart view)
           
 void propertyChange(org.eclipse.core.runtime.Preferences.PropertyChangeEvent event)
           
 void run(org.eclipse.jface.action.IAction action)
           
 void runWithEvent(org.eclipse.jface.action.IAction action, org.eclipse.swt.widgets.Event event)
           
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToggleInstructionStepModeActionDelegate

public ToggleInstructionStepModeActionDelegate()
Method Detail

propertyChange

public void propertyChange(org.eclipse.core.runtime.Preferences.PropertyChangeEvent event)
Specified by:
propertyChange in interface org.eclipse.core.runtime.Preferences.IPropertyChangeListener

init

public void init(org.eclipse.ui.IViewPart view)
Specified by:
init in interface org.eclipse.ui.IViewActionDelegate

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.ui.IActionDelegate2
Overrides:
dispose in class org.eclipse.ui.actions.ActionDelegate

init

public void init(org.eclipse.jface.action.IAction action)
Specified by:
init in interface org.eclipse.ui.IActionDelegate2
Overrides:
init in class org.eclipse.ui.actions.ActionDelegate

run

public void run(org.eclipse.jface.action.IAction action)
Specified by:
run in interface org.eclipse.ui.IActionDelegate
Overrides:
run in class org.eclipse.ui.actions.ActionDelegate

runWithEvent

public void runWithEvent(org.eclipse.jface.action.IAction action,
                         org.eclipse.swt.widgets.Event event)
Specified by:
runWithEvent in interface org.eclipse.ui.IActionDelegate2
Overrides:
runWithEvent in class org.eclipse.ui.actions.ActionDelegate

selectionChanged

public void selectionChanged(org.eclipse.jface.action.IAction action,
                             org.eclipse.jface.viewers.ISelection selection)
Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate
Overrides:
selectionChanged in class org.eclipse.ui.actions.ActionDelegate