Package net.sourceforge.squirrel_sql.plugins.refactoring.gui

Examples of net.sourceforge.squirrel_sql.plugins.refactoring.gui.DefaultListDialog


      _session.showErrorMessage(s_stringMgr.getString("DropForeignKeyCommand.noKeyToDrop",
        _info[0].getSimpleName()));
    } else
    {
      _listDialog =
        new DefaultListDialog(fkInfo, ti.getSimpleName(), DefaultListDialog.DIALOG_TYPE_FOREIGN_KEY);
      _listDialog.addColumnSelectionListener(new ColumnListSelectionActionListener());
      _listDialog.setLocationRelativeTo(_session.getApplication().getMainFrame());
      _listDialog.setVisible(true);
    }
  }
View Full Code Here


                    ti.getSimpleName()));
        } else if (uniqueIndexes.size() == 1) {
            _dropIndexInfo = new IndexInfo[]{uniqueIndexes.get(0)};
            showCustomDialog();
        } else {
            listDialog = new DefaultListDialog(indexes.toArray(new IndexInfo[]{}), ti.getSimpleName(), DefaultListDialog.DIALOG_TYPE_UNIQUE_CONSTRAINTS);
            listDialog.addColumnSelectionListener(new ColumnListSelectionActionListener());
            listDialog.setLocationRelativeTo(_session.getApplication().getMainFrame());
            listDialog.setVisible(true);
        }
    }
View Full Code Here

    } else
    {
      if (listDialog == null)
      {
        listDialog =
          new DefaultListDialog(_dropIndexInfo, _tableName, DefaultListDialog.DIALOG_TYPE_INDEX);
        listDialog.addColumnSelectionListener(new ColumnListSelectionActionListener());
        listDialog.setLocationRelativeTo(_session.getApplication().getMainFrame());
      }
      listDialog.setVisible(true);
    }
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.plugins.refactoring.gui.DefaultListDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.