Remote Systems
v6.4.1

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

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

public abstract class SystemBaseShellAction
extends SystemBaseAction

See Also:
Serialized Form

Field Summary
protected  List _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
SystemBaseShellAction(String name, String tooltip, ImageDescriptor image, Shell parent)
           
 
Method Summary
protected  boolean isApplicable(IRemoteCommandShell cmdShell)
           
 boolean updateSelection(IStructuredSelection selection)
          Called when the selection changes.
 
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, run, 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
 

Field Detail

_selected

protected List _selected
Constructor Detail

SystemBaseShellAction

public SystemBaseShellAction(String name,
                             String tooltip,
                             ImageDescriptor image,
                             Shell parent)
Method Detail

updateSelection

public boolean updateSelection(IStructuredSelection selection)
Called when the selection changes. The selection is checked to make sure this action can be performed on the selected object.

Overrides:
updateSelection in class SystemBaseAction

isApplicable

protected boolean isApplicable(IRemoteCommandShell cmdShell)

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.