org.eclipse.ecf.provider.filetransfer.retrieve
Class MultiProtocolRetrieveAdapterFactory

java.lang.Object
  extended by org.eclipse.ecf.core.AbstractContainerAdapterFactory
      extended by org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapterFactory
All Implemented Interfaces:
org.eclipse.core.runtime.IAdapterFactory

public class MultiProtocolRetrieveAdapterFactory
extends AbstractContainerAdapterFactory


Constructor Summary
MultiProtocolRetrieveAdapterFactory()
           
 
Method Summary
 java.lang.Class[] getAdapterList()
           
protected  java.lang.Object getContainerAdapter(IContainer container, java.lang.Class adapterType)
          Method called by implementation of AbstractContainerAdapterFactory.getAdapter(Object, Class) if the adaptableObject is an instance of IContainer.
 
Methods inherited from class org.eclipse.ecf.core.AbstractContainerAdapterFactory
getAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiProtocolRetrieveAdapterFactory

public MultiProtocolRetrieveAdapterFactory()
Method Detail

getAdapterList

public java.lang.Class[] getAdapterList()
Specified by:
getAdapterList in interface org.eclipse.core.runtime.IAdapterFactory
Specified by:
getAdapterList in class AbstractContainerAdapterFactory

getContainerAdapter

protected java.lang.Object getContainerAdapter(IContainer container,
                                               java.lang.Class adapterType)
Description copied from class: AbstractContainerAdapterFactory
Method called by implementation of AbstractContainerAdapterFactory.getAdapter(Object, Class) if the adaptableObject is an instance of IContainer. Subclasses should implement to return the proper container adapter object based upon the given adapterType.

Specified by:
getContainerAdapter in class AbstractContainerAdapterFactory
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.