public class DefaultExporttoSwingManager extends Object implements ExporttoSwingManager
ExporttoSwingManager
.VECTORIAL_TABLE_WITH_GEOMETRY, VECTORIAL_TABLE_WITHOUT_GEOMETRY
Constructor and Description |
---|
DefaultExporttoSwingManager() |
Modifier and Type | Method and Description |
---|---|
JExporttoServicePanel |
createExportto(FeatureStore featureStore,
IProjection projection)
Returns the panel associated to a
ExporttoService . |
JExporttoServicePanel |
createExportto(FeatureStore featureStore,
IProjection projection,
ExporttoServiceFinishAction exporttoServiceFinishAction)
Returns the panel associated to a
ExporttoService . |
JExporttoServicePanel |
createExportto(FeatureStore featureStore,
IProjection projection,
ExporttoServiceFinishAction exporttoServiceFinishAction,
int[] providerTypes)
Returns the panel associated to a
ExporttoService . |
JExporttoServicePanel |
createExportto(FLyrVect vlayer,
ExporttoServiceFinishAction exporttoServiceFinishAction,
int[] providerTypes)
Returns the panel associated to a
ExporttoService . |
ExporttoManager |
getManager()
Returns the
ExporttoManager . |
String |
getTranslation(String key)
Returns the translation of a string.
|
ExporttoWindowManager |
getWindowManager()
Returns the
ExporttoWindowManager . |
void |
registerWindowManager(ExporttoWindowManager manager)
Registers a new instance of a WindowManager which provides services to
the management of the application windows.
|
void |
showMessage(String title,
String header,
Exception ex,
Feature feature)
Show a error message dialog associated to the exception.
|
void |
showMessage(String title,
String header,
String html,
Feature feature)
Show a message dialog.
|
public JExporttoServicePanel createExportto(FeatureStore featureStore, IProjection projection)
ExporttoSwingManager
ExporttoService
.createExportto
in interface ExporttoSwingManager
featureStore
- the source feature store that is going to be copied.projection
- the destination projection for the output.JExporttoServicePanel
with the panel of the
ExporttoService
.JExporttoServicePanel
,
ExporttoService
public JExporttoServicePanel createExportto(FeatureStore featureStore, IProjection projection, ExporttoServiceFinishAction exporttoServiceFinishAction)
ExporttoSwingManager
ExporttoService
.createExportto
in interface ExporttoSwingManager
featureStore
- the source feature store that is going to be copied.projection
- the destination projection for the output.exporttoServiceFinishAction
- the listener to manage the panel events.JExporttoServicePanel
with the panel of the
ExporttoService
JExporttoServicePanel
,
ExporttoService
public JExporttoServicePanel createExportto(FeatureStore featureStore, IProjection projection, ExporttoServiceFinishAction exporttoServiceFinishAction, int[] providerTypes)
ExporttoSwingManager
ExporttoService
.createExportto
in interface ExporttoSwingManager
featureStore
- the source feature store that is going to be copied.projection
- the destination projection for the output.exporttoServiceFinishAction
- the listener to manage the panel events.providerTypes
- a set of the types that have to be displayed.JExporttoServicePanel
with the panel of the
ExporttoService
JExporttoServicePanel
,
ExporttoService
public JExporttoServicePanel createExportto(FLyrVect vlayer, ExporttoServiceFinishAction exporttoServiceFinishAction, int[] providerTypes)
ExporttoSwingManager
ExporttoService
.createExportto
in interface ExporttoSwingManager
vlayer
- The source vector layerexporttoServiceFinishAction
- the listener to manage the panel events.providerTypes
- a set of the types that have to be displayed.JExporttoServicePanel
with the panel of the
ExporttoService
.JExporttoServicePanel
,
ExporttoService
public ExporttoManager getManager()
ExporttoSwingManager
ExporttoManager
.getManager
in interface ExporttoSwingManager
ExporttoManager
ExporttoManager}
public String getTranslation(String key)
ExporttoSwingManager
getTranslation
in interface ExporttoSwingManager
key
- String to translatepublic void registerWindowManager(ExporttoWindowManager manager)
ExporttoSwingManager
registerWindowManager
in interface ExporttoSwingManager
manager
- ExporttoWindowManager
to register in the
ScriptingUIManager.ExporttoWindowManager
public ExporttoWindowManager getWindowManager()
ExporttoSwingManager
ExporttoWindowManager
.getWindowManager
in interface ExporttoSwingManager
ExporttoWindowManager
ExporttoWindowManager}
public void showMessage(String title, String header, String html, Feature feature)
ExporttoSwingManager
showMessage
in interface ExporttoSwingManager
html
- text of message in HTMLpublic void showMessage(String title, String header, Exception ex, Feature feature)
ExporttoSwingManager
showMessage
in interface ExporttoSwingManager