public interface EditingProviderManager extends ProviderManager
EditingProviderFactory
objects and the
creation of Providers. Moreover, offers service info about services and
utility methods.Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getDefaultValues(java.lang.String name) |
java.util.List<EditableFeature> |
getFeaturesFromClipboard(EditingProviderServices providerServices,
FeatureStore store) |
java.util.List<Geometry> |
getGeometriesFromClipboard() |
EditingServiceInfo |
getServiceInfo(java.lang.String name)
Gets read only information about a service such as if creates new
geometries, name, description, supported types, mouse icon, parameters
and
information about its parameters.
|
ISymbol |
getSymbol(java.lang.String name) |
void |
registerDefaultValues(java.lang.String name,
java.lang.ClassLoader loader) |
void |
registerDefaultValues(java.lang.String provider,
java.util.Map values) |
void |
registerIcon(java.lang.String group,
java.lang.String name,
java.lang.ClassLoader loader,
java.lang.String provider)
Utility method used by providers to register icons.
|
void |
registerSymbol(java.lang.String name,
ISymbol symbol)
Register a symbol in a symbol's map with name as key
|
addProviderFactory, createProvider, createProviderServices, createServiceParameters
EditingServiceInfo getServiceInfo(java.lang.String name) throws ServiceInformationException
name
- service name to get the service informationEditingServiceInfo
object that contains the
information. EditingServiceInfo
.ServiceInformationException
- if there is an error getting
information of service.void registerIcon(java.lang.String group, java.lang.String name, java.lang.ClassLoader loader, java.lang.String provider)
group
- of icon. Use vectorediting-tools.name
- of icon.loader
- classloader of provider.provider
- of iconvoid registerSymbol(java.lang.String name, ISymbol symbol)
name
- symbol
- ISymbol getSymbol(java.lang.String name)
name
- void registerDefaultValues(java.lang.String provider, java.util.Map values)
provider
- values
- void registerDefaultValues(java.lang.String name, java.lang.ClassLoader loader)
name
- loader
- java.util.Map<java.lang.String,java.lang.String> getDefaultValues(java.lang.String name)
name
- java.util.List<Geometry> getGeometriesFromClipboard()
java.util.List<EditableFeature> getFeaturesFromClipboard(EditingProviderServices providerServices, FeatureStore store)