|
EGF Engine Release 0.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.egf.common.adapter.AbstractAdapterFactory
public abstract class AbstractAdapterFactory
Base class to implement IAdapterFactory class.
| Constructor Summary | |
|---|---|
AbstractAdapterFactory()
|
|
| Method Summary | |
|---|---|
Object |
getAdapter(Object adaptableObject_p,
Class adapterType_p)
|
protected abstract Map<Class<?>,AdapterDescriptor> |
getAdapters()
Return the map |
static Object |
getPlatformAdapter(Object adaptable_p,
Class<?> adapterType_p)
Returns an object which is an instance of the given class associated with the given object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractAdapterFactory()
| Method Detail |
|---|
public Object getAdapter(Object adaptableObject_p,
Class adapterType_p)
org.eclipse.core.runtime.IAdapterFactory#getAdapter(java.lang.Object, java.lang.Class)protected abstract Map<Class<?>,AdapterDescriptor> getAdapters()
public static Object getPlatformAdapter(Object adaptable_p,
Class<?> adapterType_p)
null if no such object can be found.
Note that this method will never cause plug-ins to be loaded. If the only suitable factory is not yet loaded, this method will return null.
adaptable_p - the adaptable object being queried (usually an instance of IAdaptable)adapterType_p - the type of adapter to look up
null if the given adaptable object does not have an available adapter of the given
type
|
EGF Engine Release 0.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.