java.lang.Object
org.eclipse.debug.internal.ui.actions.AbstractDebugActionDelegate
org.eclipse.debug.internal.ui.actions.AbstractListenerActionDelegate
org.eclipse.debug.internal.ui.actions.TerminateActionDelegate
- All Implemented Interfaces:
- org.eclipse.ui.IActionDelegate, org.eclipse.ui.IActionDelegate2, org.eclipse.debug.core.IDebugEventSetListener, org.eclipse.ui.INullSelectionListener, org.eclipse.ui.ISelectionListener, org.eclipse.ui.IViewActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate
- public class TerminateActionDelegate
- extends AbstractListenerActionDelegate
| Methods inherited from class org.eclipse.debug.internal.ui.actions.AbstractDebugActionDelegate |
getAction, getEnableStateForSelection, getSelection, getView, getWindow, initialize, isInitialized, run, selectionChanged, selectionChanged, setAction, setInitialized, setView, setWindow, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TerminateActionDelegate
public TerminateActionDelegate()
doAction
protected void doAction(java.lang.Object element)
throws org.eclipse.debug.core.DebugException
- Description copied from class:
AbstractDebugActionDelegate
- Performs the specific action on this element.
- Specified by:
doAction in class AbstractDebugActionDelegate
isEnabledFor
protected boolean isEnabledFor(java.lang.Object element)
- Overrides:
isEnabledFor in class AbstractDebugActionDelegate
getStatusMessage
protected java.lang.String getStatusMessage()
- Description copied from class:
AbstractDebugActionDelegate
- Returns the String to use as a status message for
a failed action. This message appears as the "Reason:"
in the error dialog for this action.
Default is to return the empty String.
- Overrides:
getStatusMessage in class AbstractDebugActionDelegate
getErrorDialogMessage
protected java.lang.String getErrorDialogMessage()
- Description copied from class:
AbstractDebugActionDelegate
- Returns the String to use as an error dialog message for
a failed action. This message appears as the "Message:" in
the error dialog for this action.
Default is to return null.
- Overrides:
getErrorDialogMessage in class AbstractDebugActionDelegate
getErrorDialogTitle
protected java.lang.String getErrorDialogTitle()
- Description copied from class:
AbstractDebugActionDelegate
- Returns the String to use as an error dialog title for
a failed action. Default is to return null.
- Overrides:
getErrorDialogTitle in class AbstractDebugActionDelegate
doHandleDebugEvent
protected void doHandleDebugEvent(org.eclipse.debug.core.DebugEvent event)
- Description copied from class:
AbstractListenerActionDelegate
- Default implementation to update on specific debug events.
Subclasses should override to handle events differently.
- Overrides:
doHandleDebugEvent in class AbstractListenerActionDelegate