Method Summary |
|
public boolean | abortAll() |
public void | addDbExplorerTab(DbExplorerPanel explorer) |
public void | addExecutionListener(DbExecutionListener l) |
public void | addFilenameChangeListener(FilenameChangeListener aListener) The listener will be notified when the name of a tab changes. |
public void | addIndexChangeListener(ChangeListener aListener) The listener will be notified when the current tab changes. |
public MainPanel | addTab() |
public MainPanel | addTab(boolean selectNew, boolean checkConnection) Adds a new SQL tab to the main window. |
public MainPanel | addTab(boolean selectNew, boolean checkConnection, boolean append) |
public void | addToViewMenu(SelectTabAction anAction) Add the approriate menu item to select a given tab
to the View menu. |
public void | assignWorkspace() This will assign the current workspace name to the current profile. |
public JMenu | buildHelpMenu() |
public JMenu | buildToolsMenu() Create the tools menu for a panel menu. |
public boolean | canCloseTab() |
public boolean | canRenameTab() |
public boolean | canUseSeparateConnection() |
protected void | checkWorkspaceActions() |
protected void | closeConnectingInfo() |
public void | closeExplorerWindows(boolean doDisconnect) |
public void | closeTab(int index) Removes the tab at the give location. |
public void | closeWorkspace() |
public void | closeWorkspace(boolean checkUnsaved) Closes the current workspace. |
public void | connectBegin(ConnectionProfile aProfile) |
public void | connectCancelled() |
public void | connectEnded() |
public void | connectFailed(String error) |
protected void | connectPanel(MainPanel aPanel) Connect the given panel to the database. |
public void | connectTo(ConnectionProfile profile, boolean showDialog) |
public void | connected(WbConnection conn) |
public void | createNewConnectionForCurrentPanel() |
protected void | createNewConnectionForPanel(MainPanel aPanel) |
public void | disconnect(boolean background, boolean closeWorkspace, boolean saveWorkspace) |
public void | disconnectCurrentPanel() |
protected void | disconnectPanel(MainPanel panel) |
public void | display() |
public void | dragEnter(java.awt.dnd.DropTargetDragEvent dropTargetDragEvent) |
public void | dragExit(java.awt.dnd.DropTargetEvent dropTargetEvent) |
public void | dragOver(java.awt.dnd.DropTargetDragEvent dropTargetDragEvent) |
public void | drop(java.awt.dnd.DropTargetDropEvent dropTargetDropEvent) |
public void | dropActionChanged(java.awt.dnd.DropTargetDragEvent dropTargetDragEvent) |
public void | executionEnd(WbConnection conn, Object source) |
public void | executionStart(WbConnection conn, Object source) |
public void | explorerWindowClosed(DbExplorerWindow w) |
public String | getConnectionId(ConnectionProfile aProfile) |
protected String | getCurrentEditorFile() |
public MainPanel | getCurrentPanel() |
public int | getCurrentPanelIndex() |
public ConnectionProfile | getCurrentProfile() |
public SqlPanel | getCurrentSqlPanel() |
public String | getCurrentWorkspaceFile() |
public int | getIndexForPanel(MainPanel panel) |
public int | getLastSqlPanelIndex() |
public JMenu | getMacroMenu(int panelIndex) |
public JMenu | getMenu(String aName, int panelIndex) |
public String[] | getPanelLabels() |
public MainPanel | getSqlPanel(int anIndex) |
public JMenu | getViewMenu(int panelIndex) |
public MainPanel | insertTab() |
public boolean | isBusy() Returns true if at least one of the SQL panels is currently
executing a SQL statement. |
public boolean | loadWorkspace(String filename) |
public void | loadWorkspace() |
public void | macroListChanged() |
public void | mouseClicked(MouseEvent e) |
public void | mouseEntered(MouseEvent e) |
public void | mouseExited(MouseEvent e) |
public void | mousePressed(MouseEvent e) |
public void | mouseReleased(MouseEvent e) |
public void | moveTab(int oldIndex, int newIndex) |
public void | moveTabLeft() Moves the current sql tab to the left (i.e. |
public void | moveTabRight() Moves the current sql tab to the right (i.e. |
public void | newDbExplorerPanel(boolean select) |
public void | newDbExplorerWindow() |
public void | propertyChange(PropertyChangeEvent evt) |
protected void | removeAllPanels() |
public void | removeExecutionListener(DbExecutionListener l) |
public void | removeFilenameChangeListener(FilenameChangeListener aListener) Remove the file name change listener. |
public void | removeIndexChangeListener(ChangeListener aListener) |
public void | removeLastTab(boolean includeExplorer) |
public void | removeTab() |
protected void | removeTab(int index) Removes the indicated tab without checking for modified file etc. |
public void | renameTab() |
public void | restoreSettings() |
public void | restoreState() |
public void | saveSettings() |
public boolean | saveWorkspace() |
public boolean | saveWorkspace(boolean checkUnsaved) |
public boolean | saveWorkspace(String filename, boolean checkUnsaved) Saves the current SQL history to a workspace with the given filename
If filename == null, a SaveAs dialog will be displayed. |
public void | selectConnection() |
public void | selectConnection(boolean exit) |
public void | selectCurrentEditor() |
public void | selectTab(int anIndex) |
protected void | showConnectingInfo() |
public void | showDbExplorer() Displays the DbExplorer. |
protected void | showDisconnectInfo() |
public void | showLogMessage(String aMsg) |
public void | showStatusMessage(String aMsg) |
public void | stateChanged(ChangeEvent e) |
protected void | tabSelected(int index) |
protected void | updateAddMacroAction() |
protected void | updateCurrentTab(int index) |
protected void | updateGuiForTab(int anIndex) |
protected void | updateWindowTitle() |
public boolean | usesSeparateConnection() |
public void | waitForConnection() |
public void | windowActivated(WindowEvent windowEvent) |
public void | windowClosed(WindowEvent e) |
public void | windowClosing(WindowEvent windowEvent) |
public void | windowDeactivated(WindowEvent windowEvent) |
public void | windowDeiconified(WindowEvent windowEvent) |
public void | windowIconified(WindowEvent windowEvent) |
public void | windowOpened(WindowEvent windowEvent) |