|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IResolveManager
An IResolverFactoryManager processes the net.refractions.udig.resolvers extension point and allows client
code to resolve IResolve
objects to other objects.
This class is similar in functionality to the IAdapterManager in eclipse.
Method Summary | ||
---|---|---|
boolean |
canResolve(IResolve resolve,
java.lang.Class targetClass)
Returns true if the resolve can be resolved to the targetClass. |
|
void |
registerResolves(IResolveAdapterFactory factory)
Registers a factory with the ResolveManager |
|
|
resolve(IResolve resolve,
java.lang.Class<T> targetType,
IProgressMonitor monitor)
Resolves an IResolve to another object or throws a IllegalArgumentException if the resolve
cannot be resolved to the targetType |
|
void |
unregisterResolves(IResolveAdapterFactory factory)
Unregisters a factory from the ResolveManager. |
|
void |
unregisterResolves(IResolveAdapterFactory factory,
java.lang.Class resolveType)
Excludes a type from being resolved for a given factory. |
Method Detail |
---|
<T> T resolve(IResolve resolve, java.lang.Class<T> targetType, IProgressMonitor monitor) throws java.io.IOException
IResolve
to another object or throws a IllegalArgumentException
if the resolve
cannot be resolved to the targetType
resolve
- the IResolve
to resolve.targetType
- the desired type to resolve tomonitor
- A monitor for providing feedback about the current progress.
java.io.IOException
boolean canResolve(IResolve resolve, java.lang.Class targetClass)
resolve
- resolve to resolve to another classtargetClass
- desired type to resolve to
void registerResolves(IResolveAdapterFactory factory)
factory
- new factory to use for resolving IResolvesvoid unregisterResolves(IResolveAdapterFactory factory)
factory
- factory to unregister.void unregisterResolves(IResolveAdapterFactory factory, java.lang.Class resolveType)
factory
- resolveType
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |