Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.actions
Class SystemTerminateShellAction

java.lang.Object
  extended byAction
      extended bycom.ibm.etools.systems.core.ui.actions.SystemBaseAction
          extended bycom.ibm.etools.systems.core.ui.actions.SystemBaseShellAction
              extended bycom.ibm.etools.systems.core.ui.actions.SystemTerminateShellAction
All Implemented Interfaces:
ISystemAction
Direct Known Subclasses:
SystemTerminateRemoveShellAction

public class SystemTerminateShellAction
extends SystemBaseShellAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseShellAction
_selected
 
Fields inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseAction
allowOnMultipleSelection, arrowCursor, copyright, helpId, selectionSensitive, shell, sSelection, traceSelections, traceTarget, viewer, waitCursor
 
Constructor Summary
SystemTerminateShellAction(Shell parent)
           
SystemTerminateShellAction(String label, String tooltip, ImageDescriptor image, Shell parent)
           
 
Method Summary
 void cancel(IRemoteCommandShell command)
           
protected  boolean isApplicable(IRemoteCommandShell cmdShell)
           
 void run()
          This is the method called when the user selects this action.
protected  void terminateShell(IRemoteCommandShell command)
           
 
Methods inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseShellAction
updateSelection
 
Methods inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseAction
allowOnMultipleSelection, checkObjectType, getAdapter, getContextMenuGroup, getCurrentTreeView, getDescription, getFirstSelection, getHelpContextId, getLabel, getNextSelection, getRemoteAdapter, getSelection, getSelectionProvider, getShell, getShell, getString, getStringOrNull, getSystemConnection, getToolTip, getViewer, isDummy, isEnabled, isSelectionSensitive, issueTraceMessage, selectionChanged, setAvailableOffline, setBusyCursor, setContextMenuGroup, setDisplayCursor, setDisplayCursor, setHelp, setInputs, setSelection, setSelectionProvider, setSelectionSensitive, setShell, setSystemConnection, setTracing, setTracing, setViewer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemTerminateShellAction

public SystemTerminateShellAction(Shell parent)

SystemTerminateShellAction

public SystemTerminateShellAction(String label,
                                  String tooltip,
                                  ImageDescriptor image,
                                  Shell parent)
Method Detail

run

public void run()
Description copied from class: SystemBaseAction
This is the method called when the user selects this action. Child classes need to override this. If you need the parent shell, call getShell. If you need to know the current selection, call getSelection(), or getFirstSelection() followed by getNextSelection() until null is returned.

Overrides:
run in class SystemBaseAction
See Also:
Action#run()

isApplicable

protected boolean isApplicable(IRemoteCommandShell cmdShell)
Overrides:
isApplicable in class SystemBaseShellAction

terminateShell

protected void terminateShell(IRemoteCommandShell command)

cancel

public void cancel(IRemoteCommandShell command)

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.