public interface ExporttoSwingProviderManager extends ProviderManager
ExporttoSwingProvider
Modifier and Type | Method and Description |
---|---|
ExporttoSwingProvider |
createExporttoSwingProvider(String providerName,
FeatureStore featureStore,
IProjection projection)
Creates a
ExporttoSwingProvider that is used to export a
FeatureSet . |
ExporttoSwingProvider |
createExporttoSwingProvider(String providerName,
FLyrVect vlayer)
Creates a
ExporttoSwingProvider that is used to export a
FeatureSet . |
ExporttoSwingPreferencesComponent |
createExporttoSwingProvidersPreferences()
Creates a preferences component to manage the export to properties.
|
void |
enableProvider(ExporttoSwingProviderFactory factory,
boolean value)
Enables or disables an exportto provider.
|
String |
getDescription(String providerName)
Returns the description for a concrete provider
|
ExporttoSwingProviderFactory |
getExporttoSwingProviderFactory(String name)
Returns the provider factory with the given name.
|
List<ExporttoSwingProviderFactory> |
getProviderFactories()
Returns all the available
ExporttoSwingProviderFactory s. |
List<ExporttoSwingProviderFactory> |
getProviderFactories(int[] providerTypes)
Returns the
ExporttoSwingProviderFactory s that support the
given factory types. |
List<String> |
getProviderNames()
Deprecated.
use
getProviderFactories() instead. |
List<String> |
getProviderNames(int[] providerTypes)
Deprecated.
use
getProviderFactories(int[]) instead. |
boolean |
isProviderEnabled(ExporttoSwingProviderFactory factory)
Returns if the provider whose factory is provided is enabled.
|
boolean |
support(String providerName,
int providerType)
Return if a provider supports a data type.
|
addProviderFactory, createProvider, createProviderServices, createServiceParameters
List<String> getProviderNames()
getProviderFactories()
instead.List<String> getProviderNames(int[] providerTypes)
getProviderFactories(int[])
instead.a
- list of provider types, that are constants
defined in the ExporttoSwingManager
.List<ExporttoSwingProviderFactory> getProviderFactories()
ExporttoSwingProviderFactory
s.ExporttoSwingProviderFactory
sList<ExporttoSwingProviderFactory> getProviderFactories(int[] providerTypes)
ExporttoSwingProviderFactory
s that support the
given factory types.providerTypes
- the types of factoriesExporttoSwingManager.VECTORIAL_TABLE_WITH_GEOMETRY
,
ExporttoSwingManager.VECTORIAL_TABLE_WITHOUT_GEOMETRY
String getDescription(String providerName)
providerName
- the exportto provider.boolean support(String providerName, int providerType) throws ServiceException
providerName
- the provider name.providerType
- the provider type. One of the constants defined in the
ExporttoSwingManager
.ServiceException
ExporttoSwingProvider createExporttoSwingProvider(String providerName, FeatureStore featureStore, IProjection projection) throws ServiceException
ExporttoSwingProvider
that is used to export a
FeatureSet
.providerName
- the name of the provider that has to be created.featureStore
- the source feature store. It can be used to fix some
parameters like the FeatureType
of the destination
FeatureStore
.projection
- the projection of the OutputDeviceAssigned
store.FeatureSet
.ServiceException
ExporttoSwingProvider createExporttoSwingProvider(String providerName, FLyrVect vlayer) throws ServiceException
ExporttoSwingProvider
that is used to export a
FeatureSet
.providerName
- the name of the provider that has to be created.vlayer
- the source vector layerFeatureSet
.ServiceException
boolean isProviderEnabled(ExporttoSwingProviderFactory factory)
factory
- of the provider to checkvoid enableProvider(ExporttoSwingProviderFactory factory, boolean value)
factory
- of the provider to enable or disablevalue
- if the provider must be enabled or disabledExporttoSwingProviderFactory getExporttoSwingProviderFactory(String name) throws ServiceException
name
- of the providerServiceException
- if there is an error getting the provider factoryExporttoSwingPreferencesComponent createExporttoSwingProvidersPreferences()