| java.lang.Object net.refractions.udig.project.ui.internal.adapters.FeatureAdapterFactory
FeatureAdapterFactory | public class FeatureAdapterFactory implements IAdapterFactory(Code) | | Adapts Geotools objects to Eclipse objects, such as Adaptable objects, property sources, etc...
author: jeichar since: 0.3 |
Method Summary | |
public boolean | canAdapt(Object adaptableObject) Returns true if the adaptableObject can be adapted to one of the supported adapters. | public boolean | canAdaptTo(Class adapterType) Returns true if this factory can adapt to the adapterType class.
A convenience method that searches the array from getAdapterList()
Parameters: adapterType - the class to see if the factory can create an adapter for. | public Object | getAdapter(Object adaptableObject, Class adapterType) | public Class[] | getAdapterList() |
adaptableClasses | final static Class[] adaptableClasses(Code) | | |
canAdapt | public boolean canAdapt(Object adaptableObject)(Code) | | Returns true if the adaptableObject can be adapted to one of the supported adapters.
Parameters: adaptableObject - the object to adapt true if the adaptableObject can be adapted to one of the supported adapters. |
canAdaptTo | public boolean canAdaptTo(Class adapterType)(Code) | | Returns true if this factory can adapt to the adapterType class.
A convenience method that searches the array from getAdapterList()
Parameters: adapterType - the class to see if the factory can create an adapter for. true if an adapter can be made for the type. |
getAdapter | public Object getAdapter(Object adaptableObject, Class adapterType)(Code) | | See Also: org.eclipse.core.runtime.IAdapterFactory.getAdapter(java.lang.Objectjava.lang.Class) |
getAdapterList | public Class[] getAdapterList()(Code) | | See Also: org.eclipse.core.runtime.IAdapterFactory.getAdapterList |
|
|