Class ECPProjectAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.ecp.cdo.internal.core.ECPProjectAdapterFactory
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdapterFactory
public class ECPProjectAdapterFactory extends java.lang.Object implements org.eclipse.core.runtime.IAdapterFactory
- Author:
- Eike Stepper
-
-
Constructor Summary
Constructors Constructor Description ECPProjectAdapterFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> T
adapt(java.lang.Object adaptable, java.lang.Class<T> adapterType)
Adapt the given adaptable to the given type.java.lang.Object
getAdapter(java.lang.Object adaptable, java.lang.Class adapterType)
java.lang.Class[]
getAdapterList()
-
-
-
Method Detail
-
getAdapterList
public java.lang.Class[] getAdapterList()
- Specified by:
getAdapterList
in interfaceorg.eclipse.core.runtime.IAdapterFactory
- See Also:
IAdapterFactory.getAdapterList()
-
getAdapter
public java.lang.Object getAdapter(java.lang.Object adaptable, java.lang.Class adapterType)
- Specified by:
getAdapter
in interfaceorg.eclipse.core.runtime.IAdapterFactory
- See Also:
IAdapterFactory.getAdapter(java.lang.Object, java.lang.Class)
-
adapt
public static <T> T adapt(java.lang.Object adaptable, java.lang.Class<T> adapterType)
Adapt the given adaptable to the given type.- Type Parameters:
T
- the type of the adapter- Parameters:
adaptable
- an adaptableadapterType
- the target type- Returns:
- an object of type
if supported or null
-
-