Class DataSourceQueryChooserDialog

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
com.vividsolutions.jump.workbench.datasource.DataSourceQueryChooserDialog
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class DataSourceQueryChooserDialog extends JDialog
Contains the various DataSourceQueryChooser panels, regardless of whether they are for files, databases, web services, or other kinds of DataSources.

A bit confusing for files, as there are two "format" comboboxes for the user to choose from: one for the DataSource type, and another for the file extension. In the future, file DataSources may have their own dialog, eliminating the first combobox.

See Also:
  • Constructor Details

    • DataSourceQueryChooserDialog

      public DataSourceQueryChooserDialog(Collection dataSourceQueryChoosers, Frame frame, String title, boolean modal)
  • Method Details

    • wasOKPressed

      public boolean wasOKPressed()
      Returns:
      true if the user hit OK; false if the user hit Cancel or the Close Window button.
    • setOKPressed

      public void setOKPressed()
    • showFormat

      public void showFormat()
    • getCurrentChooser

      public DataSourceQueryChooser getCurrentChooser()
    • getSelectedFormat

      public String getSelectedFormat()
    • setSelectedFormat

      public void setSelectedFormat(String format)
    • getDialogTask

      public int getDialogTask()
    • setDialogTask

      public void setDialogTask(int dialogTask)