|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.xtend2.ui.launching.JavaElementDelegateAdapterFactory
public class JavaElementDelegateAdapterFactory
Constructor Summary | |
---|---|
JavaElementDelegateAdapterFactory()
|
Method Summary | |
---|---|
java.lang.Object |
getAdapter(java.lang.Object adaptableObject,
java.lang.Class adapterType)
Returns an object which is an instance of the given class associated with the given object. |
java.lang.Class[] |
getAdapterList()
Returns the collection of adapter types handled by this factory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaElementDelegateAdapterFactory()
Method Detail |
---|
public java.lang.Object getAdapter(java.lang.Object adaptableObject, java.lang.Class adapterType)
org.eclipse.core.runtime.IAdapterFactory
null
if
no such object can be found.
getAdapter
in interface org.eclipse.core.runtime.IAdapterFactory
adaptableObject
- the adaptable object being queried
(usually an instance of IAdaptable
)adapterType
- the type of adapter to look up
null
if this adapter factory
does not have an adapter of the given type for the
given objectpublic java.lang.Class[] getAdapterList()
org.eclipse.core.runtime.IAdapterFactory
This method is generally used by an adapter manager
to discover which adapter types are supported, in advance
of dispatching any actual getAdapter
requests.
getAdapterList
in interface org.eclipse.core.runtime.IAdapterFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |