|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IBlockingAdaptable
Objects that implement this interface can adapt to other objects but require that it be done is a seperate job because the adaptation may be blocking.
org.eclipse.core.runtime.IAdaptable| Method Summary | ||
|---|---|---|
|
canAdaptTo(java.lang.Class<T> adapter)
Returns true if this class can adapt to an object of type Class |
|
|
getAdapter(java.lang.Class<T> adapter,
IProgressMonitor monitor)
The class will attempt to adapt into an object of the adapter class. |
|
| Method Detail |
|---|
<T> T getAdapter(java.lang.Class<T> adapter,
IProgressMonitor monitor)
throws java.io.IOException
adapter - The class that the object will attempt to change into.monitor - A monitor to track the progress of the adaptation.
java.io.IOException - may throw an IOException if the adaptation fails.<T> boolean canAdaptTo(java.lang.Class<T> adapter)
Class
It does not guarantee that the object can adapt, just that it believes it can
adapter - the adapter to adapt to.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||