Search in sources :

Example 1 with RecordStoreConnectionForm

use of com.revolsys.swing.map.form.RecordStoreConnectionForm in project com.revolsys.open by revolsys.

the class RecordStoreConnectionTrees method addConnection.

private static void addConnection(final RecordStoreConnectionRegistry registry) {
    final RecordStoreConnectionForm form = new RecordStoreConnectionForm(registry);
    form.showDialog();
}
Also used : RecordStoreConnectionForm(com.revolsys.swing.map.form.RecordStoreConnectionForm)

Example 2 with RecordStoreConnectionForm

use of com.revolsys.swing.map.form.RecordStoreConnectionForm in project com.revolsys.open by revolsys.

the class RecordStoreConnectionTrees method editConnection.

private static void editConnection(final RecordStoreConnection connection) {
    final RecordStoreConnectionRegistry registry = connection.getRegistry();
    final RecordStoreConnectionForm form = new RecordStoreConnectionForm(registry, connection);
    form.showDialog();
}
Also used : RecordStoreConnectionForm(com.revolsys.swing.map.form.RecordStoreConnectionForm) RecordStoreConnectionRegistry(com.revolsys.record.io.RecordStoreConnectionRegistry)

Aggregations

RecordStoreConnectionForm (com.revolsys.swing.map.form.RecordStoreConnectionForm)2 RecordStoreConnectionRegistry (com.revolsys.record.io.RecordStoreConnectionRegistry)1