Class ConnectionPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.vividsolutions.jump.workbench.ui.plugin.datastore.ConnectionPanel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
AddDatastoreLayerPanel, AddWritableDataStoreLayerPanel, RunDatastoreQueryPanel

public class ConnectionPanel extends JPanel
Base class for panels with a Connection combobox.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getConnectionDescriptor

      public ConnectionDescriptor getConnectionDescriptor()
    • setConnectionDescriptor

      public void setConnectionDescriptor(ConnectionDescriptor cd)
    • getContext

      public WorkbenchContext getContext()
    • populateConnectionComboBox

      public void populateConnectionComboBox()
    • closeConnectionsUnused

      public void closeConnectionsUnused()
      close opened connectors not in use currently
    • validateInput

      public String validateInput()
    • getConnectionComboBox

      protected JComboBox getConnectionComboBox()
    • addActionListener

      public void addActionListener(ActionListener l)
    • removeActionListener

      public void removeActionListener(ActionListener l)
    • addRow

      protected void addRow(String caption, Component a, Component b, boolean aStretchesVertically)
    • connectionDescriptors

      protected Collection connectionDescriptors()
    • connectionManager

      protected ConnectionManager connectionManager()
    • sortByString

      protected Object[] sortByString(Object[] objects)