public final class DatabaseExplorerUIs extends Object
ConnectionManager
.Modifier and Type | Method and Description |
---|---|
static void |
connect(JComboBox comboBox,
ConnectionManager connectionManager)
Populates and manages the contents of the passed combo box.
|
static Node |
connectionsNode()
Provides access to defined connections.
|
public static void connect(JComboBox comboBox, ConnectionManager connectionManager)
ConnectionManager
and a Add Database Connection
item which displays the New Database Connection dialog when selected.
This method may cause the replacement of the combo box model,
thus the caller is recommended to register a
PropertyChangeListener
on the combo box when
it needs to check the combo box content when it changes.
comboBox
- combo box to be filled with the database connections.public static Node connectionsNode()