Class SaveFileDataSourceQueryChooser
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.datasource.FileDataSourceQueryChooser
-
- org.locationtech.jts.jump.workbench.datasource.SaveFileDataSourceQueryChooser
-
- All Implemented Interfaces:
DataSourceQueryChooser
public class SaveFileDataSourceQueryChooser extends FileDataSourceQueryChooser
UI for picking a file-based dataset to save. Does not automatically append an extension if user does not specify one because, unlike Windows, on Unix it is common for files not to have extensions.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.locationtech.jts.jump.workbench.datasource.FileDataSourceQueryChooser
FileDataSourceQueryChooser.FileChooserPanel
-
-
Constructor Summary
Constructors Constructor Description SaveFileDataSourceQueryChooser(Class dataSourceClass, String description, String[] extensions, WorkbenchContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection
getDataSourceQueries()
protected FileDataSourceQueryChooser.FileChooserPanel
getFileChooserPanel()
-
Methods inherited from class org.locationtech.jts.jump.workbench.datasource.FileDataSourceQueryChooser
addFileFilters, getComponent, getSouthComponent1, getSouthComponent2, isInputValid, main, toDataSourceQueries, toDataSourceQuery, toProperties, toString
-
-
-
-
Constructor Detail
-
SaveFileDataSourceQueryChooser
public SaveFileDataSourceQueryChooser(Class dataSourceClass, String description, String[] extensions, WorkbenchContext context)
- Parameters:
extensions
- e.g. txt
-
-
Method Detail
-
getFileChooserPanel
protected FileDataSourceQueryChooser.FileChooserPanel getFileChooserPanel()
- Specified by:
getFileChooserPanel
in classFileDataSourceQueryChooser
-
getDataSourceQueries
public Collection getDataSourceQueries()
- Specified by:
getDataSourceQueries
in interfaceDataSourceQueryChooser
- Overrides:
getDataSourceQueries
in classFileDataSourceQueryChooser
-
-