iSeries Remote Systems
v6.0.0

com.ibm.etools.systems.as400ifsfilesubsys.impl
Class AS400ifsFileSubSystemFactoryImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended bycom.ibm.etools.systems.subsystems.impl.SubSystemFactoryImpl
                  extended bycom.ibm.etools.systems.subsystems.impl.RemoteFileSubSystemFactoryImpl
                      extended bycom.ibm.etools.systems.universalfilesubsys.impl.UniversalFileSubSystemFactoryImpl
                          extended bycom.ibm.etools.systems.as400ifsfilesubsys.impl.AS400ifsFileSubSystemFactoryImpl
All Implemented Interfaces:
AS400ifsFileSubSystemFactory, org.eclipse.emf.ecore.EObject, IISeriesSubSystemFactory, org.eclipse.emf.ecore.InternalEObject, com.ibm.etools.systems.subsystems.ISubSystemConstants, com.ibm.etools.systems.filters.ui.actions.ISystemNewFilterActionConfigurator, org.eclipse.emf.common.notify.Notifier, com.ibm.etools.systems.subsystems.RemoteFileSubSystemFactory, com.ibm.etools.systems.subsystems.SubSystemFactory, com.ibm.etools.systems.filters.SystemFilterPoolManagerProvider, com.ibm.etools.systems.universalfilesubsys.UniversalFileSubSystemFactory

public class AS400ifsFileSubSystemFactoryImpl
extends com.ibm.etools.systems.universalfilesubsys.impl.UniversalFileSubSystemFactoryImpl
implements IISeriesSubSystemFactory, AS400ifsFileSubSystemFactory


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
static String copyright
           
static boolean initAS400MOF
           
protected static String ISERIES_RESERVED_EDEFAULT
          The default value of the 'ISeries Reserved' attribute.
protected  String iSeriesReserved
          The cached value of the 'ISeries Reserved' attribute.
 
Fields inherited from class com.ibm.etools.systems.universalfilesubsys.impl.UniversalFileSubSystemFactoryImpl
factory, initOurMOF, osName, pkg
 
Fields inherited from class com.ibm.etools.systems.subsystems.impl.RemoteFileSubSystemFactoryImpl
translatedType, unixStyle
 
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 class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from interface com.ibm.etools.iseries.core.IISeriesSubSystemFactory
Copyright
 
Fields inherited from interface com.ibm.etools.systems.as400ifsfilesubsys.AS400ifsFileSubSystemFactory
factoryId
 
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
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
AS400ifsFileSubSystemFactoryImpl()
          Constructor.
 
Method Summary
protected  com.ibm.etools.systems.core.ui.uda.SystemUDActionSubsystem createActionSubSystem()
          Overridable method to instantiate the SystemUDActionSubsystem.
protected  com.ibm.etools.systems.core.ui.compile.SystemCompileManager createCompileManager()
          Overridable method to instantiate the SystemCompileManager for this factory.
protected  com.ibm.etools.systems.filters.SystemFilterPool createDefaultFilterPool(com.ibm.etools.systems.filters.SystemFilterPoolManager mgr)
          Create defautl filter pool with default filters.
protected  com.ibm.etools.systems.subsystems.SubSystem createSubSystemInternal(com.ibm.etools.systems.model.SystemConnection conn)
          Instantiate and return an instance of OUR subystem.
 Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
protected  Vector getAdditionalSubSystemActions(com.ibm.etools.systems.subsystems.SubSystem selectedSubSystem, Shell shell)
           
 String getEditorProfileID()
          Return the default remote systems editor profile ID for files on this subsystem
 com.ibm.etools.systems.core.ui.validators.ValidatorFileName getFileNameValidator()
          Return validator used when creating or renaming files
 com.ibm.etools.systems.core.ui.validators.ValidatorFolderName getFolderNameValidator()
          Return validator used when creating or renaming folders
 String getISeriesReserved()
           
 com.ibm.etools.systems.core.ui.wizards.ISystemNewConnectionWizardPage[] getNewConnectionWizardPages(IWizard wizard)
          Optionally return one or more wizard pages to append to the New Wizard connection if the user selects a system type that this subsystem factory supports.
protected  void initSubSystemMOF()
          Initialize our mof factory.
 boolean isCaseSensitive()
          Tell us if this file system is case sensitive.
 void setISeriesReserved(String newISeriesReserved)
           
static As400ifsfilesubsysFactory staticInitSubSystemMOF()
          Private
 boolean supportsServerLaunchProperties()
          Tell us if this subsystem factory supports server launch properties, which allow the user to configure how the server-side code for these subsystems are started.
 String toString()
           
 
Methods inherited from class com.ibm.etools.systems.universalfilesubsys.impl.UniversalFileSubSystemFactoryImpl
getAdditionalFilterActions, getAdditionalFilterPoolActions, getAdditionalFilterPoolReferenceActions, getChangeFilterAction, getNewFilterPoolFilterAction, getNewNestedFilterAction, getPortValidator, getTranslatedFilterTypeProperty, isPortEditable, supportsCommands, supportsCompileActions, supportsFilters, supportsNestedFilters, supportsProperties, supportsSubSystemConnect, supportsUserId
 
Methods inherited from class com.ibm.etools.systems.subsystems.impl.RemoteFileSubSystemFactoryImpl
getFileFilterStringValidator, getLineSeparator, getPathSeparator, getPathSeparatorChar, getPathValidator, getSeparator, getSeparatorChar, initializeSubSystem, isFactoryFor, isUnixStyle, recursivelyUpdateIFileProperties, renameSubSystemProfile, setIsUnixStyle, supportsDropInFilters, supportsEnvironmentVariablesPropertyPage, supportsFileTypes, supportsTargets, supportsUserDefinedActions
 
Methods inherited from class com.ibm.etools.systems.subsystems.impl.SubSystemFactoryImpl
addCommonRemoteActions, addFilterPoolManager, addSubSystem, addUserDefinedActions, changingSystemProfileActiveStatus, cloneSubSystem, configureNewFilterAction, copyFilterPoolManager, copySubSystemData, createEvent, createEvent, createEvent, createFilterByPrompting, createServerLauncher, createSubSystem, customizeChangeFilterPropertyPage, customizeFilterStringPropertyPage, deleteFilterPoolManager, deleteSubSystem, deleteSubSystemsByConnection, deletingSystemProfile, disconnectAllSubSystems, doPostRestoreProcessing, filterEventFilterCreated, filterEventFilterDeleted, filterEventFilterPoolCreated, filterEventFilterPoolDeleted, filterEventFilterPoolRenamed, filterEventFilterPoolsRePositioned, filterEventFilterRenamed, filterEventFiltersRePositioned, filterEventFilterStringCreated, filterEventFilterStringDeleted, filterEventFilterStringsRePositioned, filterEventFilterStringUpdated, filterEventFilterUpdated, fireEvent, fireEvent, fireEvent, fireSubSystemEvent, fireSubSystemEvent, fireSubSystemEvent, fireSubSystemFilterEvent, fireSubSystemFilterEvent, fireSubSystemFilterEvent, fireSubSystemFilterEvent, fireSubSystemFilterEvent, fireSubSystemFilterEvent, getActionSubSystem, getActiveFilterPoolManagers, getAdditionalFilterReferenceActions, getCategory, getCompileManager, getConnectingMessage, getDefaultFilterPoolName, getDefaultSystemFilterPool, getDefaultSystemFilterPool, getDisconnectingMessage, getFilterActions, getFilterPool, getFilterPoolActions, getFilterPoolManager, getFilterPoolManager, getFilterPoolManager, getFilterPoolManager, getFilterPoolManager, getFilterPoolManagerList, getFilterPoolManagerName, getFilterPoolManagers, getFilterPoolReferenceActions, getFilterPools, getFilterReferenceActions, getGraphicsImage, getGraphicsLiveImage, getId, getImage, getLiveImage, getMOFHelpers, getName, getNewFilterPoolFilterActions, getNewFilterWizardPoolWrapperInformation, getPasswordValidator, getReferencableSystemFilterPoolManagers, getRemoveFilterPoolReferenceAction, getServerLauncherForm, getSSMOFfactory, getSubSystemActions, getSubSystemFactoryProxy, getSubSystemList, getSubSystemNewFilterPoolActions, getSubSystemPropertyPageCoreFrom, getSubSystemPropertyPages, getSubSystems, getSubSystems, getSubSystems, getSubSystems, getSubSystemsFolder, getSystemFilterImage, getSystemFilterPoolForBrokenReference, getSystemFilterPoolImage, getSystemFilterPoolManager, getSystemFilterPoolManagerImage, getSystemFilterPoolManagers, getSystemFilterStringImage, getSystemFilterStringImage, getSystemProfile, getSystemProfile, getSystemProfile, getSystemProfile, getSystemProfileName, getSystemTypes, getTypeFiltersFolder, getUserIdValidator, getVendor, handleException, initMOF, internalGetSubSystemName, internalGetSubSystems, invalidateFilterCache, invalidateSubSystemCache, isSubSystemsDeletable, isUserPrivateProfile, needsUpdate, preTestRenameSubSystemProfile, removeSubSystem, renameFilterPoolManager, renameSubSystem, renameSubSystemProfile, renameSubSystemsByConnection, reset, restore, restoreAllFilterPoolManagersForAllProfiles, restoreSubSystem, restoreSubSystems, save, saveFilterPools, saveFilterPools, saveSubSystem, saveSubSystems, saveSubSystems, setConnection, setCurrentSelection, setShowFilterPools, setSubSystemFactoryProxy, setSubSystemPort, setSubSystemUserId, showChangeFilterStringsPropertyPage, showFilterPools, showGenericShowInTableOnFilter, showRefreshOnFilter, subSystemsHaveBeenRestored, supportsDuplicateFilterStrings, supportsFilterCaching, supportsFilterStringExport, supportsMultipleFilterStrings, supportsMultiStringFilters, supportsQuickFilters, supportsServerLaunchType, supportsUserDefinedActions, testForActiveReferences, updateSubSystem
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eInverseAdd, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, eURIFragmentSegment
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.etools.systems.subsystems.RemoteFileSubSystemFactory
getFileFilterStringValidator, getLineSeparator, getPathSeparator, getPathSeparatorChar, getPathValidator, getSeparator, getSeparatorChar, isUnixStyle, supportsEnvironmentVariablesPropertyPage
 
Methods inherited from interface com.ibm.etools.systems.subsystems.SubSystemFactory
addCommonRemoteActions, changingSystemProfileActiveStatus, cloneSubSystem, copyFilterPoolManager, createFilterByPrompting, createSubSystem, customizeChangeFilterPropertyPage, customizeFilterStringPropertyPage, deleteSubSystem, deleteSubSystemsByConnection, deletingSystemProfile, disconnectAllSubSystems, getActionSubSystem, getCategory, getCompileManager, getDefaultSystemFilterPool, getFilterActions, getFilterPoolActions, getFilterPoolManager, getFilterPoolManagerList, getFilterPoolReferenceActions, getFilterReferenceActions, getGraphicsImage, getGraphicsLiveImage, getId, getImage, getLiveImage, getName, getPasswordValidator, getPortValidator, getServerLauncherForm, getSubSystemActions, getSubSystemFactoryProxy, getSubSystemList, getSubSystemPropertyPageCoreFrom, getSubSystems, getSubSystems, getSystemProfile, getSystemTypes, getTranslatedFilterTypeProperty, getUserIdValidator, getVendor, isPortEditable, isSubSystemsDeletable, preTestRenameSubSystemProfile, renameSubSystem, renameSubSystemProfile, renameSubSystemProfile, renameSubSystemsByConnection, reset, save, saveSubSystem, setConnection, setCurrentSelection, setShowFilterPools, setSubSystemFactoryProxy, setSubSystemPort, setSubSystemUserId, showChangeFilterStringsPropertyPage, showFilterPools, showGenericShowInTableOnFilter, showRefreshOnFilter, supportsCommands, supportsCompileActions, supportsDropInFilters, supportsFileTypes, supportsFilterCaching, supportsFilters, supportsFilterStringExport, supportsMultipleFilterStrings, supportsMultiStringFilters, supportsNestedFilters, supportsProperties, supportsQuickFilters, supportsServerLaunchType, supportsSubSystemConnect, supportsTargets, supportsUserDefinedActions, supportsUserDefinedActions, supportsUserId, testForActiveReferences, updateSubSystem
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface com.ibm.etools.systems.filters.SystemFilterPoolManagerProvider
filterEventFilterCreated, filterEventFilterDeleted, filterEventFilterPoolCreated, filterEventFilterPoolDeleted, filterEventFilterPoolRenamed, filterEventFilterPoolsRePositioned, filterEventFilterRenamed, filterEventFiltersRePositioned, filterEventFilterStringCreated, filterEventFilterStringDeleted, filterEventFilterStringsRePositioned, filterEventFilterStringUpdated, filterEventFilterUpdated, getReferencableSystemFilterPoolManagers, getSystemFilterImage, getSystemFilterPoolForBrokenReference, getSystemFilterPoolImage, getSystemFilterPoolManager, getSystemFilterPoolManagerImage, getSystemFilterPoolManagers, getSystemFilterStringImage, getSystemFilterStringImage
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

ISERIES_RESERVED_EDEFAULT

protected static final String ISERIES_RESERVED_EDEFAULT
The default value of the 'ISeries Reserved' attribute.

See Also:
getISeriesReserved()

iSeriesReserved

protected String iSeriesReserved
The cached value of the 'ISeries Reserved' attribute.

See Also:
getISeriesReserved()

initAS400MOF

public static boolean initAS400MOF
Constructor Detail

AS400ifsFileSubSystemFactoryImpl

public AS400ifsFileSubSystemFactoryImpl()
Constructor. Called via xml extension point.

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()


getISeriesReserved

public String getISeriesReserved()

Specified by:
getISeriesReserved in interface AS400ifsFileSubSystemFactory
Returns:
the value of the 'ISeries Reserved' attribute.
See Also:
AS400ifsFileSubSystemFactory.setISeriesReserved(String), As400ifsfilesubsysPackage.getAS400ifsFileSubSystemFactory_ISeriesReserved()

setISeriesReserved

public void setISeriesReserved(String newISeriesReserved)

Specified by:
setISeriesReserved in interface AS400ifsFileSubSystemFactory
Parameters:
newISeriesReserved - the new value of the 'ISeries Reserved' attribute.
See Also:
AS400ifsFileSubSystemFactory.getISeriesReserved()

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      Class baseClass,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Specified by:
eInverseRemove in interface org.eclipse.emf.ecore.InternalEObject

eGet

public Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                   boolean resolve)

Specified by:
eGet in interface org.eclipse.emf.ecore.EObject

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.EObject

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject

toString

public String toString()


supportsServerLaunchProperties

public boolean supportsServerLaunchProperties()
Tell us if this subsystem factory supports server launch properties, which allow the user to configure how the server-side code for these subsystems are started. There is a Server Launch Setting property page, with a pluggable composite, where users can configure these properties.
We return false for iSeries.

Specified by:
supportsServerLaunchProperties in interface com.ibm.etools.systems.subsystems.SubSystemFactory

getNewConnectionWizardPages

public com.ibm.etools.systems.core.ui.wizards.ISystemNewConnectionWizardPage[] getNewConnectionWizardPages(IWizard wizard)
Optionally return one or more wizard pages to append to the New Wizard connection if the user selects a system type that this subsystem factory supports.

We override from Universal parent to return null as we use the iSeries pages

Specified by:
getNewConnectionWizardPages in interface com.ibm.etools.systems.subsystems.SubSystemFactory

isCaseSensitive

public boolean isCaseSensitive()
Tell us if this file system is case sensitive. For IFS, even though it is unix style, it is not case sensitive. Well, at least the root file system, but we can only give one answer!

Specified by:
isCaseSensitive in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystemFactory

getFileNameValidator

public com.ibm.etools.systems.core.ui.validators.ValidatorFileName getFileNameValidator()
Return validator used when creating or renaming files

Specified by:
getFileNameValidator in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystemFactory

getFolderNameValidator

public com.ibm.etools.systems.core.ui.validators.ValidatorFolderName getFolderNameValidator()
Return validator used when creating or renaming folders

Specified by:
getFolderNameValidator in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystemFactory

createActionSubSystem

protected com.ibm.etools.systems.core.ui.uda.SystemUDActionSubsystem createActionSubSystem()
Overridable method to instantiate the SystemUDActionSubsystem. For support of User Actions.


createCompileManager

protected com.ibm.etools.systems.core.ui.compile.SystemCompileManager createCompileManager()
Overridable method to instantiate the SystemCompileManager for this factory. This is typically your unique subclass of SystemCompileManager. Called once only by getCompileManager (it is only instantiated once).

We return an instance of ISeriesCompileManagerIFS()


createDefaultFilterPool

protected com.ibm.etools.systems.filters.SystemFilterPool createDefaultFilterPool(com.ibm.etools.systems.filters.SystemFilterPoolManager mgr)
Create defautl filter pool with default filters. We do something unique for IFS vs other Unix/Linux file systems. Override of parent parent.

See Also:
SubSystemFactoryImpl.createDefaultFilterPool(SystemFilterPoolManager)

getAdditionalSubSystemActions

protected Vector getAdditionalSubSystemActions(com.ibm.etools.systems.subsystems.SubSystem selectedSubSystem,
                                               Shell shell)
See Also:
com.ibm.etools.systems.subsystems.impl.SubSystemFactoryImpl#getAdditionalSubSystemActions(Shell)

createSubSystemInternal

protected com.ibm.etools.systems.subsystems.SubSystem createSubSystemInternal(com.ibm.etools.systems.model.SystemConnection conn)
Instantiate and return an instance of OUR subystem. Do not populate it yet though!

See Also:
SubSystemFactoryImpl.createSubSystemInternal(SystemConnection)

getEditorProfileID

public String getEditorProfileID()
Return the default remote systems editor profile ID for files on this subsystem

Specified by:
getEditorProfileID in interface com.ibm.etools.systems.subsystems.RemoteFileSubSystemFactory

initSubSystemMOF

protected void initSubSystemMOF()
Initialize our mof factory.

See Also:
com.ibm.etools.systems.subsystems.impl.SubSystemFactoryImpl#initSubSystemMOF(initSubSystemMOF)

staticInitSubSystemMOF

public static As400ifsfilesubsysFactory staticInitSubSystemMOF()
Private


iSeries Remote Systems
v6.0.0

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.