Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.debug.internal.ui.actions
Class TerminateActionDelegate  view TerminateActionDelegate download TerminateActionDelegate.java

java.lang.Object
  extended byorg.eclipse.debug.internal.ui.actions.AbstractDebugActionDelegate
      extended byorg.eclipse.debug.internal.ui.actions.AbstractListenerActionDelegate
          extended byorg.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


Field Summary
 
Fields inherited from class org.eclipse.debug.internal.ui.actions.AbstractDebugActionDelegate
fWindow
 
Constructor Summary
TerminateActionDelegate()
           
 
Method Summary
protected  void doAction(java.lang.Object element)
          Performs the specific action on this element.
protected  void doHandleDebugEvent(org.eclipse.debug.core.DebugEvent event)
          Default implementation to update on specific debug events.
protected  java.lang.String getErrorDialogMessage()
          Returns the String to use as an error dialog message for a failed action.
protected  java.lang.String getErrorDialogTitle()
          Returns the String to use as an error dialog title for a failed action.
protected  java.lang.String getStatusMessage()
          Returns the String to use as a status message for a failed action.
protected  boolean isEnabledFor(java.lang.Object element)
           
 
Methods inherited from class org.eclipse.debug.internal.ui.actions.AbstractListenerActionDelegate
dispose, handleDebugEvents, init, init, init, runWithEvent
 
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
 
Methods inherited from interface org.eclipse.ui.IActionDelegate
run, selectionChanged
 

Constructor Detail

TerminateActionDelegate

public TerminateActionDelegate()
Method Detail

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