| java.lang.Object org.eclipse.ui.internal.ide.model.WorkbenchAdapterFactory
WorkbenchAdapterFactory | class WorkbenchAdapterFactory implements IAdapterFactory(Code) | | Dispenses adapters for various core objects.
Returns IWorkbenchAdapter adapters, used for displaying,
navigating, and populating menus for core objects.
|
getActionFilter | protected Object getActionFilter(Object o)(Code) | | Returns the IActionFilter for an object.
|
getAdapter | public Object getAdapter(Object o, Class adapterType)(Code) | | Returns an object which is an instance of the given class
associated with the given object. Returns null if
no such object can be found.
Parameters: o - the adaptable object being queried(usually an instance of IAdaptable ) Parameters: adapterType - the type of adapter to look up a object castable to the given adapter type, or null if this adapter provider does not have an adapter of the given type for thegiven object |
getAdapterList | public Class[] getAdapterList()(Code) | | Returns the collection of adapter types handled by this
provider.
This method is generally used by an adapter manager
to discover which adapter types are supported, in advance
of dispatching any actual getAdapter requests.
the collection of adapter types |
getElementFactory | protected Object getElementFactory(Object o)(Code) | | Returns an object which is an instance of IElementFactory
associated with the given object. Returns null if
no such object can be found.
|
getPersistableElement | protected Object getPersistableElement(Object o)(Code) | | Returns an object which is an instance of IPersistableElement
associated with the given object. Returns null if
no such object can be found.
|
getUndoContext | protected Object getUndoContext(Object o)(Code) | | Returns the IUndoContext for an object.
|
getWorkbenchElement | protected Object getWorkbenchElement(Object o)(Code) | | Returns an object which is an instance of IWorkbenchAdapter
associated with the given object. Returns null if
no such object can be found.
|
|
|