Package com.iizigo.term.capture
Class CaptureAdapterFactory
java.lang.Object
com.iizigo.term.capture.CaptureAdapterFactory
- All Implemented Interfaces:
IAdapterFactory
Factory for Designer Props for EE/EEM files.
- Author:
- Christopher Mindus
Field Summary
Fields inherited from interface org.eclipse.core.runtime.IAdapterFactory
SERVICE_PROPERTY_ADAPTABLE_CLASS, SERVICE_PROPERTY_ADAPTER_NAMESMethod Summary
Modifier and TypeMethodDescription<T> TgetAdapter(Object adaptableObject, Class<T> adapterType) Returns an object which is an instance of the given class associated with the given object.Class<?>[]Returns the collection of adapter types handled by this factory.static final voidInitializes the adapter factory.
Method Details
initialize
public static final void initialize()Initializes the adapter factory.getAdapterList
Returns the collection of adapter types handled by this factory.- Specified by:
getAdapterListin interfaceIAdapterFactory
getAdapter
Returns an object which is an instance of the given class associated with the given object. Returnsnullif no such object can be found.- Specified by:
getAdapterin interfaceIAdapterFactory- Parameters:
adaptableObject- The adaptable object being queried (usually an instance ofIAdaptable).adapterType- The type of adapter to look up.- Returns:
- A object castable to the given adapter type, or
nullif this adapter factory does not have an adapter of the given type for the given object.