|
RSE Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.rse.core.subsystems.SubSystemConfiguration
org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileSubSystemConfiguration
org.eclipse.rse.subsystems.files.core.servicesubsystem.FileServiceSubSystemConfiguration
org.eclipse.rse.subsystems.files.local.LocalFileSubSystemConfiguration
Provides a factory for generating instances of the class SampleFileSubSystem.
| Field Summary | |
protected IHostFileToRemoteFileAdapter |
_hostFileAdapter
|
protected boolean |
_isWindows
|
| Fields inherited from class org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileSubSystemConfiguration |
translatedType, unixStyle |
| Fields inherited from class org.eclipse.rse.core.subsystems.SubSystemConfiguration |
currentlyProcessingConnection, currentlyProcessingSubSystemConfiguration, currentlySelected, currentlySelectedConnection, filterPoolManagerList, filterPoolManagers, filterPoolManagersPerProfile, subSystemList |
| Fields inherited from interface org.eclipse.rse.core.subsystems.ISubSystemConfiguration |
FORCE_INTO_MEMORY, LAZILY |
| Fields inherited from interface org.eclipse.rse.core.model.IRSEPersistableContainer |
NO_CHILDREN |
| Constructor Summary | |
LocalFileSubSystemConfiguration()
|
|
| Method Summary | |
protected ISystemFilterPool |
createDefaultFilterPool(ISystemFilterPoolManager mgr)
Override from parent. |
IFileService |
createFileService(IHost host)
|
IHostSearchResultConfiguration |
createSearchConfiguration(IHost host,
IHostSearchResultSet resultSet,
Object searchTarget,
SystemSearchString searchString)
Creates a config and adds it to the result set. |
ISearchService |
createSearchService(IHost host)
|
ISubSystem |
createSubSystemInternal(IHost host)
Instantiate and return an instance of OUR subystem. |
IConnectorService |
getConnectorService(IHost host)
Get the connector service for a particular host. |
String |
getEditorProfileID()
Return the default remote systems editor profile ID for files on this subsystem |
IHostFileToRemoteFileAdapter |
getHostFileAdapter()
|
ILanguageUtilityFactory |
getLanguageUtilityFactory(IRemoteFileSubSystem ss)
|
Class |
getServiceImplType()
Get the implementation type of the service associated with this subsystem configuration. |
boolean |
isFactoryFor(Class subSystemType)
Determines whether this factory is responsible for the creation of subsytems of the specified type Subsystem factories should override this to indicate which subsystems they support. |
void |
setConnectorService(IHost host,
IConnectorService connectorService)
Set the connector service for a particular host. |
boolean |
supportsArchiveManagement()
Return true if subsystems for this configuration support archive management. |
boolean |
supportsDeferredQueries()
Return true if deferred queries are supported. |
boolean |
supportsEnvironmentVariablesPropertyPage()
Return true if subsystems of this factory support the environment variables property. |
boolean |
supportsFileTypes()
Return true if you support user-defined/managed named file types Returns false in default implementation. |
boolean |
supportsFilters()
Required method for subsystem factory child classes. |
boolean |
supportsSearch()
Return true if subsystems for this configuration support search functionality. |
boolean |
supportsSubSystemConnect()
Returns false. |
| Methods inherited from class org.eclipse.rse.subsystems.files.core.servicesubsystem.FileServiceSubSystemConfiguration |
getFileService, getSearchService, getService, getServiceType, supportsServerLaunchProperties |
| Methods inherited from class org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileSubSystemConfiguration |
getFileFilterStringValidator, getFileNameValidator, getFolderNameValidator, getLineSeparator, getPathSeparator, getPathSeparatorChar, getPathValidator, getSeparator, getSeparatorChar, getTranslatedFilterTypeProperty, initializeSubSystem, isCaseSensitive, isUnixStyle, providesCustomDropInFilters, recursivelyUpdateIFileProperties, renameSubSystemProfile, setIsUnixStyle, supportsDropInFilters, supportsTargets |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.rse.subsystems.files.core.subsystems.IRemoteFileSubSystemConfiguration |
getFileFilterStringValidator, getFileNameValidator, getFolderNameValidator, getLineSeparator, getPathSeparator, getPathSeparatorChar, getPathValidator, getSeparator, getSeparatorChar, isCaseSensitive, isUnixStyle |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
| Methods inherited from interface org.eclipse.rse.core.model.IRSEPersistableContainer |
getPersistableChildren, getPersistableParent, isDirty, isTainted, setDirty, setTainted, setWasRestored, wasRestored |
| Field Detail |
protected boolean _isWindows
protected IHostFileToRemoteFileAdapter _hostFileAdapter
| Constructor Detail |
public LocalFileSubSystemConfiguration()
| Method Detail |
public boolean isFactoryFor(Class subSystemType)
ISubSystemConfiguration
isFactoryFor in interface ISubSystemConfigurationisFactoryFor in class RemoteFileSubSystemConfigurationsubSystemType - type of subsystem
public boolean supportsArchiveManagement()
IRemoteFileSubSystemConfiguration
protected ISystemFilterPool createDefaultFilterPool(ISystemFilterPoolManager mgr)
For local, what default filters we create we depends on the local operating system:
createDefaultFilterPool in class RemoteFileSubSystemConfigurationpublic ISubSystem createSubSystemInternal(IHost host)
createSubSystemInternal in interface ISubSystemConfigurationcreateSubSystemInternal in class RemoteFileSubSystemConfigurationSubSystemConfiguration.createSubSystemInternal(IHost)public boolean supportsFileTypes()
ISubSystemConfigurationReturns false in default implementation.
supportsFileTypes in interface ISubSystemConfigurationsupportsFileTypes in class RemoteFileSubSystemConfigurationpublic boolean supportsSearch()
IRemoteFileSubSystemConfiguration
supportsSearch in interface IRemoteFileSubSystemConfigurationsupportsSearch in class RemoteFileSubSystemConfigurationpublic boolean supportsEnvironmentVariablesPropertyPage()
IRemoteFileSubSystemConfiguration
supportsEnvironmentVariablesPropertyPage in interface IRemoteFileSubSystemConfigurationsupportsEnvironmentVariablesPropertyPage in class RemoteFileSubSystemConfigurationpublic boolean supportsFilters()
ISubSystemConfigurationReturns true in default implementation.
supportsFilters in interface ISubSystemConfigurationsupportsFilters in class SubSystemConfigurationtrue to indicate that Filters are supported by default.public boolean supportsSubSystemConnect()
false.
supportsSubSystemConnect in interface ISubSystemConfigurationsupportsSubSystemConnect in class SubSystemConfigurationSubSystemConfiguration.supportsSubSystemConnect()public boolean supportsDeferredQueries()
ISubSystemConfigurationfalse here.
The default implementation returns true, indicating
that deferred queries are supported for filters, and delegates
the check for model elements to the ISystemViewElementAdapter.
supportsDeferredQueries in interface ISubSystemConfigurationsupportsDeferredQueries in class SubSystemConfigurationtrue if deferred queries are supported.ISubSystemConfiguration.supportsDeferredQueries()public IConnectorService getConnectorService(IHost host)
ISubSystemConfigurationISubSystemConfiguration.setConnectorService(IHost, IConnectorService).
getConnectorService in interface ISubSystemConfigurationgetConnectorService in class SubSystemConfigurationISubSystemConfiguration.getConnectorService(IHost)
public void setConnectorService(IHost host,
IConnectorService connectorService)
ISubSystemConfiguration
setConnectorService in interface ISubSystemConfigurationsetConnectorService in class SubSystemConfigurationISubSystemConfiguration.setConnectorService(IHost,
IConnectorService)public IFileService createFileService(IHost host)
public ISearchService createSearchService(IHost host)
public IHostSearchResultConfiguration createSearchConfiguration(IHost host,
IHostSearchResultSet resultSet,
Object searchTarget,
SystemSearchString searchString)
IHostSearchResultConfigurationFactory.createSearchConfiguration(org.eclipse.rse.services.search.IHostSearchResultSet, java.lang.Object, org.eclipse.rse.services.clientserver.SystemSearchString)public IHostFileToRemoteFileAdapter getHostFileAdapter()
public ILanguageUtilityFactory getLanguageUtilityFactory(IRemoteFileSubSystem ss)
public Class getServiceImplType()
ISubSystemConfigurationnull, otherwise it
must return the class that implements the interface specified in
ISubSystemConfiguration.getServiceType().
getServiceImplType in interface ISubSystemConfigurationgetServiceImplType in class SubSystemConfigurationISubSystemConfiguration.getServiceImplType()public String getEditorProfileID()
IRemoteFileSubSystemConfiguration
getEditorProfileID in interface IRemoteFileSubSystemConfigurationgetEditorProfileID in class RemoteFileSubSystemConfiguration
|
RSE Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||