|
RSE Release 3.4 |
|||||||||
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
public class 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. This default implementation returns null . |
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. This default implementation returns null . |
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. This default implementation does nothing. |
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 We return true |
boolean |
supportsFilters()
Return true if you support filters, false otherwise. |
boolean |
supportsSearch()
By default this returns true. |
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)
RemoteFileSubSystemConfiguration
isFactoryFor
in interface ISubSystemConfiguration
isFactoryFor
in class RemoteFileSubSystemConfiguration
subSystemType
- 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 RemoteFileSubSystemConfiguration
public ISubSystem createSubSystemInternal(IHost host)
createSubSystemInternal
in interface ISubSystemConfiguration
createSubSystemInternal
in class RemoteFileSubSystemConfiguration
SubSystemConfiguration.createSubSystemInternal(IHost)
public boolean supportsFileTypes()
RemoteFileSubSystemConfiguration
We return true
supportsFileTypes
in interface ISubSystemConfiguration
supportsFileTypes
in class RemoteFileSubSystemConfiguration
public boolean supportsSearch()
RemoteFileSubSystemConfiguration
supportsSearch
in interface IRemoteFileSubSystemConfiguration
supportsSearch
in class RemoteFileSubSystemConfiguration
public boolean supportsEnvironmentVariablesPropertyPage()
RemoteFileSubSystemConfiguration
supportsEnvironmentVariablesPropertyPage
in interface IRemoteFileSubSystemConfiguration
supportsEnvironmentVariablesPropertyPage
in class RemoteFileSubSystemConfiguration
public boolean supportsFilters()
SubSystemConfiguration
supportsFilters
in interface ISubSystemConfiguration
supportsFilters
in class SubSystemConfiguration
true
to indicate that Filters are supported by default.public boolean supportsSubSystemConnect()
false
.
supportsSubSystemConnect
in interface ISubSystemConfiguration
supportsSubSystemConnect
in class SubSystemConfiguration
SubSystemConfiguration.supportsSubSystemConnect()
public boolean supportsDeferredQueries()
SubSystemConfiguration
supportsDeferredQueries
in interface ISubSystemConfiguration
supportsDeferredQueries
in class SubSystemConfiguration
true
if deferred queries are supported.ISubSystemConfiguration.supportsDeferredQueries()
public IConnectorService getConnectorService(IHost host)
SubSystemConfiguration
ISubSystemConfiguration.setConnectorService(IHost, IConnectorService)
.
This default implementation returns null
. Service subsystem
configurations must override as defined in the interface.
getConnectorService
in interface ISubSystemConfiguration
getConnectorService
in class SubSystemConfiguration
host
- the host for which to create or retrieve the connector service
ISubSystemConfiguration.supportsSubSystemConnect()
is true.ISubSystemConfiguration.getConnectorService(IHost)
public void setConnectorService(IHost host, IConnectorService connectorService)
SubSystemConfiguration
This default implementation does nothing. Service subsystems must override as defined in the interface.
setConnectorService
in interface ISubSystemConfiguration
setConnectorService
in class SubSystemConfiguration
host
- the host for which to set this connector service.connectorService
- the connector service associated with this host.ISubSystemConfiguration.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()
SubSystemConfiguration
null
, otherwise it
must return the class that implements the interface specified in
ISubSystemConfiguration.getServiceType()
.
This default implementation returns null
. Service subsystem
configurations must override as defined in the interface.
getServiceImplType
in interface ISubSystemConfiguration
getServiceImplType
in class SubSystemConfiguration
ISubSystemConfiguration.getServiceType()
, or null
if this is
not a service subsystem configuration.ISubSystemConfiguration.getServiceImplType()
public String getEditorProfileID()
RemoteFileSubSystemConfiguration
getEditorProfileID
in interface IRemoteFileSubSystemConfiguration
getEditorProfileID
in class RemoteFileSubSystemConfiguration
|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |