コード例 #1
0
 public static ConnectionConfig showEditConnectionPopup(
     ConnectionConfig config, Window ownerWindow) {
   ConnectionConfigDialog dialog = ConnectionConfigDialog.edit(config, ownerWindow);
   dialog.showAndWait();
   dialog.requestFocus();
   return dialog.getConfig();
 }
コード例 #2
0
 public static ConnectionConfig showNewConnectionPopup(
     DBServerType serverType, Window ownerWindow) {
   ConnectionConfigDialog dialog = ConnectionConfigDialog.create(serverType, ownerWindow);
   dialog.showAndWait();
   dialog.requestFocus();
   return dialog.getConfig();
 }