Package org.gvsig.newlayer
Interface NewLayerManager
public interface NewLayerManager
This class is responsible of the management of the library's business logic.
It is the library's main entry point, and provides all the services to manage
NewLayerServices.- Version:
- $Id$
- Author:
- gvSIG team
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionCreates a preferences component to manage the export to properties.Create an instance of aNewLayerService.createNewLayerWizard(NewLayerService service) voidenableProvider(NewLayerProviderFactory factory, Boolean false1) Enables or disables a new layer provider.getNewLayerProviderFactory(String providerName) Returns the provider factory with the given name.booleanisProviderEnabled(NewLayerProviderFactory factory) Returns if the provider whose factory is provided is enabled.voidregisterProvider(NewLayerProviderFactory factory)
-
Method Details
-
createNewLayerService
NewLayerService createNewLayerService()Create an instance of aNewLayerService.- Parameters:
mapContext-- Returns:
NewLayerService
-
registerProvider
-
getProviders
-
getProviders
List<NewLayerProviderFactory> getProviders() -
createNewLayerWizard
-
getNewLayerProviderFactory
NewLayerProviderFactory getNewLayerProviderFactory(String providerName) throws org.gvsig.tools.service.ServiceException Returns the provider factory with the given name.- Parameters:
providerName-- Returns:
- the provider factory
- Throws:
org.gvsig.tools.service.ServiceException- if there is an error getting the provider factory
-
enableProvider
Enables or disables a new layer provider.- Parameters:
factory- of the provider to enable or disablefalse1-
-
createNewLayerProvidersPreferences
NewLayerPreferencesComponent createNewLayerProvidersPreferences()Creates a preferences component to manage the export to properties.- Returns:
- a preferences component
-
isProviderEnabled
Returns if the provider whose factory is provided is enabled.- Parameters:
factory- of the provider to check- Returns:
- if the provider whose factory is provided is enabled
-