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