Package org.eclipse.ecf.core
Class AbstractContainerAdapterFactory
- java.lang.Object
- 
- org.eclipse.ecf.core.AbstractContainerAdapterFactory
 
- 
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdapterFactory
 - Direct Known Subclasses:
- AbstractSharedObjectContainerAdapterFactory,- MultiProtocolFileSystemBrowserAdapterFactory,- MultiProtocolOutgoingAdapterFactory,- MultiProtocolRetrieveAdapterFactory
 
 public abstract class AbstractContainerAdapterFactory extends Object implements org.eclipse.core.runtime.IAdapterFactory Abstract container adapter factory. This is an abstract implementation of theIAdapterFactoryinterface. Subclasses may be created as appropriate.
- 
- 
Constructor SummaryConstructors Constructor Description AbstractContainerAdapterFactory()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description <T> TgetAdapter(Object adaptableObject, Class<T> adapterType)abstract Class<?>[]getAdapterList()protected abstract ObjectgetContainerAdapter(IContainer container, Class adapterType)Method called by implementation ofgetAdapter(Object, Class)if the adaptableObject is an instance ofIContainer.
 
- 
- 
- 
Method Detail- 
getAdapterpublic <T> T getAdapter(Object adaptableObject, Class<T> adapterType) - Specified by:
- getAdapterin interface- org.eclipse.core.runtime.IAdapterFactory
 
 - 
getContainerAdapterprotected abstract Object getContainerAdapter(IContainer container, Class adapterType) Method called by implementation ofgetAdapter(Object, Class)if the adaptableObject is an instance ofIContainer. Subclasses should implement to return the proper container adapter object based upon the given adapterType.- Parameters:
- container- the IContainer adaptable object provided to the adapter. Will not be- null.
- adapterType- the type (interface) of the adapter on the given container. Will not be- null
- Returns:
- Object the container adapter instance.  May be null.
 
 - 
getAdapterListpublic abstract Class<?>[] getAdapterList() - Specified by:
- getAdapterListin interface- org.eclipse.core.runtime.IAdapterFactory
 
 
- 
 
-