| net.refractions.udig.core.IBlockingAdaptable
All known Subclasses: net.refractions.udig.catalog.internal.ui.IResolveAdaptable,
IBlockingAdaptable | public interface IBlockingAdaptable (Code) | | Objects that implement this interface can adapt to other objects but require that it be done is a
separate job because the adaptation may be blocking.
See Also: org.eclipse.core.runtime.IAdaptable author: jeichar |
Method Summary | |
public boolean | canAdaptTo(Class<T> adapter) Returns true if this class can adapt to an object of type Class
It does not guarantee that the object can adapt, just that it believes it can
Parameters: adapter - the adapter to adapt to. | public T | getAdapter(Class<T> adapter, IProgressMonitor monitor) The class will attempt to adapt into an object of the adapter class. |
canAdaptTo | public boolean canAdaptTo(Class<T> adapter)(Code) | | Returns true if this class can adapt to an object of type Class
It does not guarantee that the object can adapt, just that it believes it can
Parameters: adapter - the adapter to adapt to. true if the object believes that it can adapt to an object class T. |
getAdapter | public T getAdapter(Class<T> adapter, IProgressMonitor monitor) throws IOException(Code) | | The class will attempt to adapt into an object of the adapter class. This method may be
blocking.
Parameters: adapter - The class that the object will attempt to change into. Parameters: monitor - A monitor to track the progress of the adaptation. an object of type T or null if the adaptation is not possible. throws: IOException - may throw an IOException if the adaptation fails. |
|
|