public class DefaultNewLayerManager extends java.lang.Object implements NewLayerManager
NewLayerManager
implementation.NewLayerManager.STORETYPE
Constructor and Description |
---|
DefaultNewLayerManager()
Empty constructor.
|
Modifier and Type | Method and Description |
---|---|
NewLayerPreferencesComponent |
createNewLayerProvidersPreferences()
Creates a preferences component to manage the export to properties.
|
NewLayerService |
createNewLayerService()
Create an instance of a
NewLayerService . |
NewLayerWizard |
createNewLayerWizard(NewLayerService service) |
void |
enableProvider(NewLayerProviderFactory factory,
java.lang.Boolean value)
Enables or disables a new layer provider.
|
NewLayerProviderFactory |
getNewLayerProviderFactory(java.lang.String providerName)
Returns the provider factory with the given name.
|
java.util.List<NewLayerProviderFactory> |
getProviders() |
java.util.List<NewLayerProviderFactory> |
getProviders(NewLayerManager.STORETYPE filter) |
boolean |
isProviderEnabled(NewLayerProviderFactory factory)
Returns if the provider whose factory is provided is enabled.
|
void |
registerProvider(NewLayerProviderFactory factory) |
public NewLayerService createNewLayerService()
NewLayerManager
NewLayerService
.createNewLayerService
in interface NewLayerManager
NewLayerService
public void registerProvider(NewLayerProviderFactory factory)
registerProvider
in interface NewLayerManager
public NewLayerWizard createNewLayerWizard(NewLayerService service)
createNewLayerWizard
in interface NewLayerManager
public NewLayerProviderFactory getNewLayerProviderFactory(java.lang.String providerName) throws ServiceException
NewLayerManager
getNewLayerProviderFactory
in interface NewLayerManager
ServiceException
- if there is an error getting the provider factorypublic void enableProvider(NewLayerProviderFactory factory, java.lang.Boolean value)
NewLayerManager
enableProvider
in interface NewLayerManager
factory
- of the provider to enable or disablepublic NewLayerPreferencesComponent createNewLayerProvidersPreferences()
NewLayerManager
createNewLayerProvidersPreferences
in interface NewLayerManager
public java.util.List<NewLayerProviderFactory> getProviders()
getProviders
in interface NewLayerManager
public java.util.List<NewLayerProviderFactory> getProviders(NewLayerManager.STORETYPE filter)
getProviders
in interface NewLayerManager
public boolean isProviderEnabled(NewLayerProviderFactory factory)
NewLayerManager
isProviderEnabled
in interface NewLayerManager
factory
- of the provider to check