public class MultiProtocolFileSystemBrowserAdapterFactory extends AbstractContainerAdapterFactory
Constructor and Description |
---|
MultiProtocolFileSystemBrowserAdapterFactory() |
Modifier and Type | Method and Description |
---|---|
Class[] |
getAdapterList() |
protected Object |
getContainerAdapter(IContainer container,
Class adapterType)
Method called by implementation of
AbstractContainerAdapterFactory.getAdapter(Object, Class) if the
adaptableObject is an instance of IContainer . |
getAdapter
public MultiProtocolFileSystemBrowserAdapterFactory()
public Class[] getAdapterList()
getAdapterList
in interface org.eclipse.core.runtime.IAdapterFactory
getAdapterList
in class AbstractContainerAdapterFactory
protected Object getContainerAdapter(IContainer container, Class adapterType)
AbstractContainerAdapterFactory
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.getContainerAdapter
in class AbstractContainerAdapterFactory
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
null
.Copyright © 2017. All rights reserved.