|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEObjectImpl
com.ibm.etools.systems.subsystems.impl.SubSystemFactoryImpl
com.ibm.etools.systems.subsystems.impl.RemoteCmdSubSystemFactoryImpl
An abstraction of subsystems, optimized for remote command execution
It is subclassed via use of a Rose model and MOF/EMF, or better yet
by subclassing DefaultCmdSubSystemFactoryImpl
.
Field Summary | |
---|---|
protected ImageDescriptor |
_activeShellImageDescriptor
|
protected IAction |
_exportShellHistoryAction
|
protected IAction |
_exportShellOutputAction
|
protected ImageDescriptor |
_inactiveShellImageDescriptor
|
static String |
copyright
|
protected String |
translatedType
|
Fields inherited from class com.ibm.etools.systems.subsystems.impl.SubSystemFactoryImpl |
---|
compileManager, currentlyProcessingConnection, currentlyProcessingSubSystemFactory, currentlySelected, currentlySelectedConnection, filterNamingPolicy, filterPoolManagerList, filterPoolManagers, filterPoolManagersPerProfile, imageTable, mofInitSS, mofInitSubclassSS, ssfactory, sspkg, subSystemList, udas |
Fields inherited from interface com.ibm.etools.systems.subsystems.SubSystemFactory |
---|
FORCE_INTO_MEMORY, LAZILY |
Fields inherited from interface com.ibm.etools.systems.subsystems.ISubSystemConstants |
---|
Copyright, DEFAULT_PORT, SAVEFILE_FILTERS, SAVEFILE_SUBSYSTEMS |
Constructor Summary | |
---|---|
RemoteCmdSubSystemFactoryImpl()
Default constructor. |
Method Summary | |
---|---|
protected SystemFilterPool |
createDefaultFilterPool(SystemFilterPoolManager mgr)
OVERRIDABLE METHOD FOR CHILD CLASSES TO ENABLE THEM TO CREATE A DEFAULT POOL WHENEVER A NEW FILTER POOL MANAGER IS CREATED (EG, WHEN PROFILE CREATED). |
protected SubSystem |
createSubSystemInternal(SystemConnection conn)
Instantiate and return an instance of OUR subystem. |
Object |
eGet(EStructuralFeature eFeature,
boolean resolve)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
|
boolean |
eIsSet(EStructuralFeature eFeature)
|
void |
eSet(EStructuralFeature eFeature,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(EStructuralFeature eFeature)
|
ImageDescriptor |
getActiveCommandShellImageDescriptor()
Return the active command shell icon for this subsystem |
protected Vector |
getAdditionalFilterActions(SystemFilter selectedFilter,
Shell shell)
Overridable entry for child classes to contribute filter actions beyond the default supplied actions. |
protected Vector |
getAdditionalFilterPoolActions(SystemFilterPool selectedPool,
Shell shell)
Overridable entry for child classes to contribute filter pool actions beyond the default supplied actions. |
protected Vector |
getAdditionalFilterPoolReferenceActions(SystemFilterPool selectedPool,
Shell shell)
Overridable entry for child classes to contribute filter pool reference actions beyond the default supplied actions. |
protected Vector |
getAdditionalSubSystemActions(SubSystem selectedSubSystem,
Shell shell)
Overridable entry for child classes to contribute subsystem actions beyond the default supplied actions. |
protected IAction |
getChangeFilterAction(SystemFilter selectedFilter,
Shell shell)
Overridable method to return the action for changing an existing filter. |
String |
getCommandSeparator()
Return in string format the character used to separate commands. |
IAction |
getCommandShellAction(RemoteCmdSubSystem selectedSubSystem,
Shell shell)
Return the command shell action for the subsystem. |
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 |
protected IAction |
getNewFilterPoolFilterAction(SystemFilterPool selectedPool,
Shell shell)
Overridable parent method to return the action for creating a new filter inside a filter pool Returns new SystemCmdNewFilterAction. |
protected IAction |
getNewNestedFilterAction(SystemFilter selectedFilter,
Shell shell)
Overridable parent method to return the action for creating a new filter inside another filter. |
String |
getTranslatedFilterTypeProperty(SystemFilter selectedFilter)
Return the translated string to show in the property sheet for the type property. |
protected void |
initSubSystemMOF()
Initialize our mof factory. |
boolean |
isCaseSensitive()
Tell us if filter strings are case sensitive. |
boolean |
isPortEditable()
We return true. |
boolean |
supportsCommands()
We return true. |
boolean |
supportsDuplicateFilterStrings()
Tell us if duplicate filter strings are supported. |
boolean |
supportsEnvironmentVariablesPropertyPage()
Return true if subsystems of this factory support the environment variables property. |
boolean |
supportsFilters()
We return true. |
boolean |
supportsFilterStringExport()
Return true if the subsystem supports the exporting of filter strings from it's filters |
boolean |
supportsMultiStringFilters()
Return true if the subsystem supports more than one filter string |
boolean |
supportsNestedFilters()
We return false |
boolean |
supportsProperties()
We return false. |
boolean |
supportsSubSystemConnect()
We return true. |
boolean |
supportsUserId()
We return true. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String copyright
protected String translatedType
protected IAction _exportShellHistoryAction
protected IAction _exportShellOutputAction
protected ImageDescriptor _activeShellImageDescriptor
protected ImageDescriptor _inactiveShellImageDescriptor
Constructor Detail |
public RemoteCmdSubSystemFactoryImpl()
Method Detail |
protected EClass eStaticClass()
eStaticClass
in class SubSystemFactoryImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
eInverseRemove
in class SubSystemFactoryImpl
public Object eGet(EStructuralFeature eFeature, boolean resolve)
eGet
in class SubSystemFactoryImpl
public void eSet(EStructuralFeature eFeature, Object newValue)
eSet
in class SubSystemFactoryImpl
public void eUnset(EStructuralFeature eFeature)
eUnset
in class SubSystemFactoryImpl
public boolean eIsSet(EStructuralFeature eFeature)
eIsSet
in class SubSystemFactoryImpl
public boolean supportsUserId()
supportsUserId
in interface SubSystemFactory
supportsUserId
in class SubSystemFactoryImpl
SubSystemFactoryImpl.supportsUserId()
public boolean supportsSubSystemConnect()
supportsSubSystemConnect
in interface SubSystemFactory
supportsSubSystemConnect
in class SubSystemFactoryImpl
SubSystemFactoryImpl.supportsSubSystemConnect()
public boolean supportsMultiStringFilters()
supportsMultiStringFilters
in interface SubSystemFactory
supportsMultiStringFilters
in class SubSystemFactoryImpl
public boolean supportsFilterStringExport()
supportsFilterStringExport
in interface SubSystemFactory
supportsFilterStringExport
in class SubSystemFactoryImpl
public boolean supportsEnvironmentVariablesPropertyPage()
supportsEnvironmentVariablesPropertyPage
in interface RemoteCmdSubSystemFactory
public boolean isPortEditable()
isPortEditable
in interface SubSystemFactory
isPortEditable
in class SubSystemFactoryImpl
SubSystemFactoryImpl.isPortEditable()
public boolean supportsCommands()
supportsCommands
in interface SubSystemFactory
supportsCommands
in class SubSystemFactoryImpl
SubSystemFactoryImpl.supportsCommands()
public boolean supportsProperties()
supportsProperties
in interface SubSystemFactory
supportsProperties
in class SubSystemFactoryImpl
SubSystemFactoryImpl.supportsProperties()
public boolean supportsFilters()
supportsFilters
in interface SubSystemFactory
supportsFilters
in class SubSystemFactoryImpl
SubSystemFactoryImpl.supportsFilters()
public boolean supportsNestedFilters()
supportsNestedFilters
in interface SubSystemFactory
supportsNestedFilters
in class SubSystemFactoryImpl
SubSystemFactoryImpl.supportsNestedFilters()
public boolean isCaseSensitive()
isCaseSensitive
in interface SubSystemFactory
isCaseSensitive
in class SubSystemFactoryImpl
public boolean supportsDuplicateFilterStrings()
supportsDuplicateFilterStrings
in class SubSystemFactoryImpl
protected SystemFilterPool createDefaultFilterPool(SystemFilterPoolManager mgr)
SubSystemFactoryImpl
You should only pre-populate your default filter pool if this new manager
(eg, its really a profile) is the user's private own. Call SubSystemFactoryImpl.isUserPrivateProfile(SystemFilterPoolManager)
to find out if it is.
createDefaultFilterPool
in class SubSystemFactoryImpl
SubSystemFactoryImpl.createDefaultFilterPool(SystemFilterPoolManager)
protected IAction getNewFilterPoolFilterAction(SystemFilterPool selectedPool, Shell shell)
getNewFilterPoolFilterAction
in class SubSystemFactoryImpl
shell
- parent shell of viewer where the popup menu is being constructedprotected IAction getNewNestedFilterAction(SystemFilter selectedFilter, Shell shell)
getNewNestedFilterAction
in class SubSystemFactoryImpl
shell
- parent shell of viewer where the popup menu is being constructedprotected IAction getChangeFilterAction(SystemFilter selectedFilter, Shell shell)
getChangeFilterAction
in class SubSystemFactoryImpl
selectedFilter
- the currently selected filtershell
- parent shell of viewer where the popup menu is being constructedprotected Vector getAdditionalFilterPoolActions(SystemFilterPool selectedPool, Shell shell)
SubSystemFactoryImpl
By default, this returns null.
getAdditionalFilterPoolActions
in class SubSystemFactoryImpl
shell
- parent shell of viewer where the popup menu is being constructed
SubSystemFactoryImpl.getAdditionalFilterPoolActions(SystemFilterPool,Shell)
protected Vector getAdditionalFilterPoolReferenceActions(SystemFilterPool selectedPool, Shell shell)
SubSystemFactoryImpl
By default, this returns null.
getAdditionalFilterPoolReferenceActions
in class SubSystemFactoryImpl
shell
- parent shell of viewer where the popup menu is being constructed
SubSystemFactoryImpl.getAdditionalFilterPoolReferenceActions(SystemFilterPool,Shell)
protected Vector getAdditionalFilterActions(SystemFilter selectedFilter, Shell shell)
SubSystemFactoryImpl
By default, this returns null.
getAdditionalFilterActions
in class SubSystemFactoryImpl
SubSystemFactoryImpl.getAdditionalFilterActions(SystemFilter,Shell)
public String getTranslatedFilterTypeProperty(SystemFilter selectedFilter)
getTranslatedFilterTypeProperty
in interface SubSystemFactory
getTranslatedFilterTypeProperty
in class SubSystemFactoryImpl
public String getCommandSeparator()
getCommandSeparator
in interface RemoteCmdSubSystemFactory
public IAction getCommandShellAction(RemoteCmdSubSystem selectedSubSystem, Shell shell)
RemoteCmdSubSystemFactory
getCommandShellAction
in interface RemoteCmdSubSystemFactory
public IAction getCommandShellHistoryExportAction(Shell shell)
getCommandShellHistoryExportAction
in interface RemoteCmdSubSystemFactory
public IAction getCommandShellOutputExportAction(Shell shell)
getCommandShellOutputExportAction
in interface RemoteCmdSubSystemFactory
public ImageDescriptor getActiveCommandShellImageDescriptor()
getActiveCommandShellImageDescriptor
in interface RemoteCmdSubSystemFactory
public ImageDescriptor getInactiveCommandShellImageDescriptor()
getInactiveCommandShellImageDescriptor
in interface RemoteCmdSubSystemFactory
protected Vector getAdditionalSubSystemActions(SubSystem selectedSubSystem, Shell shell)
SubSystemFactoryImpl
By default, returns null.
getAdditionalSubSystemActions
in class SubSystemFactoryImpl
SubSystemFactoryImpl.getAdditionalSubSystemActions(SubSystem,Shell)
protected SubSystem createSubSystemInternal(SystemConnection conn)
SubSystem subsys = ((AcmesubsysFactoryImpl)factory).createAcmeSubSystem();
return subsys;
noteThis method should be abstract but MOF doesn't allow abstract impl classes at this point
createSubSystemInternal
in class SubSystemFactoryImpl
conn
- The connection object this is being created for. Only passed for your interest.SubSystemFactoryImpl.createSubSystemInternal(SystemConnection)
protected void initSubSystemMOF()
if (!initOurMOF)
{
Init.init();
factory = new AcmesubsysFactoryImpl();
pkg = new AcmefilesubsysPackageImpl(((AcmesubsysFactoryImpl))factory);
initOurMOF = true;
}
noteThis method should be abstract but MOF doesn't allow abstract impl classes at this point
initSubSystemMOF
in class SubSystemFactoryImpl
SubSystemFactoryImpl.initSubSystemMOF()
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |