com.vividsolutions.jump.workbench.datasource
Class SaveFileDataSourceQueryChooser

java.lang.Object
  extended by com.vividsolutions.jump.workbench.datasource.FileDataSourceQueryChooser
      extended by com.vividsolutions.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.


Constructor Summary
SaveFileDataSourceQueryChooser(java.lang.Class dataSourceClass, java.lang.String description, java.lang.String[] extensions, WorkbenchContext context)
           
 
Method Summary
 java.util.Collection getDataSourceQueries()
           
 
Methods inherited from class com.vividsolutions.jump.workbench.datasource.FileDataSourceQueryChooser
getComponent, isInputValid, main, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SaveFileDataSourceQueryChooser

public SaveFileDataSourceQueryChooser(java.lang.Class dataSourceClass,
                                      java.lang.String description,
                                      java.lang.String[] extensions,
                                      WorkbenchContext context)
Parameters:
extensions - e.g. txt
Method Detail

getDataSourceQueries

public java.util.Collection getDataSourceQueries()
Specified by:
getDataSourceQueries in interface DataSourceQueryChooser
Overrides:
getDataSourceQueries in class FileDataSourceQueryChooser