| net.refractions.udig.catalog.IResolveManager
All known Subclasses: net.refractions.udig.catalog.internal.ResolveManager,
IResolveManager | public interface IResolveManager (Code) | | 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.
author: Jesse since: 1.1.0 |
canResolve | public boolean canResolve(IResolve resolve, Class targetClass)(Code) | | Returns true if the resolve can be resolved to the targetClass.
Parameters: resolve - resolve to resolve to another class Parameters: targetClass - desired type to resolve to true if the resolve can be resolved to the targetClass. |
registerResolves | public void registerResolves(IResolveAdapterFactory factory)(Code) | | Registers a factory with the ResolveManager
Parameters: factory - new factory to use for resolving IResolves |
resolve | public T resolve(IResolve resolve, Class<T> targetType, IProgressMonitor monitor) throws IOException(Code) | | Resolves an
IResolve to another object or throws a
IllegalArgumentException if the resolve
cannot be resolved to the targetType
Parameters: resolve - the IResolve to resolve. Parameters: targetType - the desired type to resolve to Parameters: monitor - A monitor for providing feedback about the current progress. an object of targetType. |
unregisterResolves | public void unregisterResolves(IResolveAdapterFactory factory)(Code) | | Unregisters a factory from the ResolveManager.
Parameters: factory - factory to unregister. |
unregisterResolves | public void unregisterResolves(IResolveAdapterFactory factory, Class resolveType)(Code) | | Excludes a type from being resolved for a given factory. IE ResolveManager will not use the provided factory to
resolve to the resolveType
Parameters: factory - Parameters: resolveType - |
|
|