RSE
Release 1.0

org.eclipse.rse.shells.ui.view
Class ShellServiceSubSystemConfigurationAdapter

java.lang.Object
  extended byorg.eclipse.rse.ui.view.SubSystemConfigurationAdapter
      extended byorg.eclipse.rse.shells.ui.view.ShellServiceSubSystemConfigurationAdapter
All Implemented Interfaces:
ISubSystemConfigurationAdapter, ISystemNewFilterActionConfigurator

public class ShellServiceSubSystemConfigurationAdapter
extends SubSystemConfigurationAdapter


Field Summary
protected  ImageDescriptor _activeShellImageDescriptor
           
protected  SystemCommandAction _commandAction
           
protected  IAction _exportShellHistoryAction
           
protected  IAction _exportShellOutputAction
           
protected  ImageDescriptor _inactiveShellImageDescriptor
           
 
Fields inherited from class org.eclipse.rse.ui.view.SubSystemConfigurationAdapter
imageTable
 
Constructor Summary
ShellServiceSubSystemConfigurationAdapter()
           
 
Method Summary
 ImageDescriptor getActiveCommandShellImageDescriptor()
          Return the active command shell icon for this subsystem
 IAction getCommandShellAction(IRemoteCmdSubSystem selectedSubSystem, Shell shell)
           
 IAction getCommandShellHistoryExportAction(Shell shell)
          Return the command shell history export action for the subsystem.
 IAction getCommandShellOutputExportAction(Shell shell)
          Return the command shell output export action for the subsystem.
 ImageDescriptor getInactiveCommandShellImageDescriptor()
          Return the inactive command shell icon for this subsystem
 IAction[] getSubSystemActions(ISubSystemConfiguration factory, ISubSystem selectedSubSystem, Shell shell)
          Returns a list of actions for the popup menu when user right clicks on a subsystem object from this factory.
 
Methods inherited from class org.eclipse.rse.ui.view.SubSystemConfigurationAdapter
addCommonRemoteActions, configureNewFilterAction, createFilterByPrompting, customizeChangeFilterPropertyPage, customizeFilterStringPropertyPage, getAdditionalFilterActions, getAdditionalFilterPoolActions, getAdditionalFilterPoolReferenceActions, getAdditionalFilterReferenceActions, getAdditionalSubSystemActions, getChangeFilterAction, getDefaultSystemFilterPool, getFilterActions, getFilterPoolActions, getFilterPoolReferenceActions, getFilterReferenceActions, getGraphicsImage, getGraphicsLiveImage, getImage, getLiveImage, getNewConnectionWizardPages, getNewFilterPoolFilterAction, getNewFilterPoolFilterActions, getNewFilterWizardPoolWrapperInformation, getNewNestedFilterAction, getPasswordValidator, getPortValidator, getPropertyPage, getRemoveFilterPoolReferenceAction, getServerLauncherForm, getSubSystemNewFilterPoolActions, getSubSystemPropertyPageCoreFrom, getSubSystemPropertyPages, getSystemFilterImage, getSystemFilterPoolImage, getSystemFilterPoolManagerImage, getSystemFilterStringImage, getSystemFilterStringImage, getUserIdValidator, renameSubSystemProfile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_exportShellHistoryAction

protected IAction _exportShellHistoryAction

_exportShellOutputAction

protected IAction _exportShellOutputAction

_commandAction

protected SystemCommandAction _commandAction

_activeShellImageDescriptor

protected ImageDescriptor _activeShellImageDescriptor

_inactiveShellImageDescriptor

protected ImageDescriptor _inactiveShellImageDescriptor
Constructor Detail

ShellServiceSubSystemConfigurationAdapter

public ShellServiceSubSystemConfigurationAdapter()
Method Detail

getSubSystemActions

public IAction[] getSubSystemActions(ISubSystemConfiguration factory,
                                     ISubSystem selectedSubSystem,
                                     Shell shell)
Description copied from class: SubSystemConfigurationAdapter
Returns a list of actions for the popup menu when user right clicks on a subsystem object from this factory. By default returns a single item array with a SystemNewFilterPoolAction object and calls overridable method getAdditionalSubSystemActions.

If you wish to support more actions, override getAdditionalSubSystemActions to return a Vector of IAction objects.

Specified by:
getSubSystemActions in interface ISubSystemConfigurationAdapter
Overrides:
getSubSystemActions in class SubSystemConfigurationAdapter
Parameters:
selectedSubSystem - the currently selected subsystem
shell - The Shell of the view where this action was launched from
Returns:
array of IAction objects to contribute to the popup menu
See Also:
#getSubSystemNewFilterPoolActions(ISubSystem, Shell), #getAdditionalSubSystemActions(ISubSystem, Shell)

getCommandShellAction

public IAction getCommandShellAction(IRemoteCmdSubSystem selectedSubSystem,
                                     Shell shell)

getCommandShellHistoryExportAction

public IAction getCommandShellHistoryExportAction(Shell shell)
Return the command shell history export action for the subsystem. If there is none, return null


getCommandShellOutputExportAction

public IAction getCommandShellOutputExportAction(Shell shell)
Return the command shell output export action for the subsystem. If there is none, return null


getActiveCommandShellImageDescriptor

public ImageDescriptor getActiveCommandShellImageDescriptor()
Return the active command shell icon for this subsystem


getInactiveCommandShellImageDescriptor

public ImageDescriptor getInactiveCommandShellImageDescriptor()
Return the inactive command shell icon for this subsystem


RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.