Remote Systems
v6.4.1

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

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

public abstract class SystemViewExpandToBaseAction
extends SystemBaseAction

Base class for Expand To actions on a container

See Also:
Serialized Form

Field Summary
static String Copyright
           
 
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
SystemViewExpandToBaseAction(ResourceBundle rb, String prefix, ImageDescriptor image, Shell parent)
          Constructor.
 
Method Summary
 boolean checkObjectType(Object selectedObject)
          Second and easiest opportunity to decide if the action should be enabled or not based on the current selection.
protected abstract  String getFilterString(Object selectedObject)
          Overridable extension point to get the fully resolved filter string at the time action is run.
protected  SystemView getSystemView()
          Return the current SystemView or null if the current viewer is not a system view
 void run()
          Actually do the work
 
Methods inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseAction
allowOnMultipleSelection, 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, updateSelection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

SystemViewExpandToBaseAction

public SystemViewExpandToBaseAction(ResourceBundle rb,
                                    String prefix,
                                    ImageDescriptor image,
                                    Shell parent)
Constructor.

Method Detail

checkObjectType

public boolean checkObjectType(Object selectedObject)
Second and easiest opportunity to decide if the action should be enabled or not based on the current selection. Called by default implementation of updateSelection, once for each item in the selection. If any call to this returns false, the action is disabled. The default implementation returns true.

Overrides:
checkObjectType in class SystemBaseAction

run

public void run()
Actually do the work

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

getFilterString

protected abstract String getFilterString(Object selectedObject)
Overridable extension point to get the fully resolved filter string at the time action is run.


getSystemView

protected SystemView getSystemView()
Return the current SystemView or null if the current viewer is not a system view


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.