public static ConnectionConfig showEditConnectionPopup( ConnectionConfig config, Window ownerWindow) { ConnectionConfigDialog dialog = ConnectionConfigDialog.edit(config, ownerWindow); dialog.showAndWait(); dialog.requestFocus(); return dialog.getConfig(); }
public static ConnectionConfig showNewConnectionPopup( DBServerType serverType, Window ownerWindow) { ConnectionConfigDialog dialog = ConnectionConfigDialog.create(serverType, ownerWindow); dialog.showAndWait(); dialog.requestFocus(); return dialog.getConfig(); }