public abstract class AbstractContainerAdapterFactory extends Object implements org.eclipse.core.runtime.IAdapterFactory
IAdapterFactory interface. Subclasses may be created as appropriate.| Constructor and Description |
|---|
AbstractContainerAdapterFactory() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAdapter(Object adaptableObject,
Class adapterType) |
abstract Class[] |
getAdapterList() |
protected abstract Object |
getContainerAdapter(IContainer container,
Class adapterType)
Method called by implementation of
getAdapter(Object, Class) if the
adaptableObject is an instance of IContainer. |
public Object getAdapter(Object adaptableObject, Class adapterType)
getAdapter in interface org.eclipse.core.runtime.IAdapterFactoryprotected abstract Object getContainerAdapter(IContainer container, Class adapterType)
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.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 nullnull.public abstract Class[] getAdapterList()
getAdapterList in interface org.eclipse.core.runtime.IAdapterFactoryCopyright © 2004–2020 Eclipse Foundation. All rights reserved.