com.vividsolutions.jump.workbench.datasource
Class LoadFileDataSourceQueryChooser

java.lang.Object
  extended by com.vividsolutions.jump.workbench.datasource.FileDataSourceQueryChooser
      extended by com.vividsolutions.jump.workbench.datasource.LoadFileDataSourceQueryChooser
All Implemented Interfaces:
DataSourceQueryChooser

public class LoadFileDataSourceQueryChooser
extends FileDataSourceQueryChooser

UI for picking a file-based dataset to load.


Field Summary
static java.lang.String FILE_CHOOSER_COORDINATE_SYSTEM_KEY
           
static java.lang.String FILE_CHOOSER_DIRECTORY_KEY
           
static java.lang.String FILE_CHOOSER_KEY
           
static java.lang.String FILE_CHOOSER_PANEL_KEY
           
 
Constructor Summary
LoadFileDataSourceQueryChooser(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
 

Field Detail

FILE_CHOOSER_DIRECTORY_KEY

public static final java.lang.String FILE_CHOOSER_DIRECTORY_KEY

FILE_CHOOSER_COORDINATE_SYSTEM_KEY

public static final java.lang.String FILE_CHOOSER_COORDINATE_SYSTEM_KEY

FILE_CHOOSER_PANEL_KEY

public static final java.lang.String FILE_CHOOSER_PANEL_KEY

FILE_CHOOSER_KEY

public static final java.lang.String FILE_CHOOSER_KEY
Constructor Detail

LoadFileDataSourceQueryChooser

public LoadFileDataSourceQueryChooser(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