Class MultiProtocolFileSystemBrowserAdapterFactory
java.lang.Object
org.eclipse.ecf.core.AbstractContainerAdapterFactory
org.eclipse.ecf.provider.filetransfer.browse.MultiProtocolFileSystemBrowserAdapterFactory
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdapterFactory
Adapter factory for handling multiple protocols.
-
Field Summary
Fields inherited from interface org.eclipse.core.runtime.IAdapterFactory
SERVICE_PROPERTY_ADAPTABLE_CLASS, SERVICE_PROPERTY_ADAPTER_NAMES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>[]protected ObjectgetContainerAdapter(IContainer container, Class adapterType) Method called by implementation ofAbstractContainerAdapterFactory.getAdapter(Object, Class)if the adaptableObject is an instance ofIContainer.Methods inherited from class org.eclipse.ecf.core.AbstractContainerAdapterFactory
getAdapter
-
Constructor Details
-
MultiProtocolFileSystemBrowserAdapterFactory
public MultiProtocolFileSystemBrowserAdapterFactory()
-
-
Method Details
-
getAdapterList
- Specified by:
getAdapterListin interfaceorg.eclipse.core.runtime.IAdapterFactory- Specified by:
getAdapterListin classAbstractContainerAdapterFactory
-
getContainerAdapter
Description copied from class:AbstractContainerAdapterFactoryMethod called by implementation ofAbstractContainerAdapterFactory.getAdapter(Object, Class)if the adaptableObject is an instance ofIContainer. Subclasses should implement to return the proper container adapter object based upon the given adapterType.- Specified by:
getContainerAdapterin classAbstractContainerAdapterFactory- Parameters:
container- the IContainer adaptable object provided to the adapter. Will not benull.adapterType- the type (interface) of the adapter on the given container. Will not benull- Returns:
- Object the container adapter instance. May be
null.
-