|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IResolveAdapterFactory
Adapts a resolve handle into another type of object.
This API differs from the generic eclipse adaptable api:
Method Summary | |
---|---|
java.lang.Object |
adapt(IResolve resolve,
java.lang.Class<? extends java.lang.Object> adapter,
IProgressMonitor monitor)
Performs an adaptation to a particular adapter. |
boolean |
canAdapt(IResolve resolve,
java.lang.Class<? extends java.lang.Object> adapter)
Determines if a particular adaptation is supported. |
Method Detail |
---|
boolean canAdapt(IResolve resolve, java.lang.Class<? extends java.lang.Object> adapter)
NOTE If this factory is declared in an extension point
and the ResolveManager
is responsible for canResolve then this method
will not be called because the information from the xml will be used instead.
resolve
- The handle being adapted.adapter
- The adapting class.
java.lang.Object adapt(IResolve resolve, java.lang.Class<? extends java.lang.Object> adapter, IProgressMonitor monitor) throws java.io.IOException
resolve
- The handle being adapted.adapter
- The adapting class.monitor
- Progress monitor for blocking class.
java.io.IOException
- Any I/O errors that occur.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |