Next: newconnection, Up: workspace [Contents][Index]
The main window in TOra has the following elements as shown below. It is assumed that you know how to handle a normal windows interface therefore no explanation about how to press buttons and select menus will be presented. If you are administrating Oracle you probably know how to handle a mouse.
If you’ve ever used a windows program you will recognize most of the menus hopefully.
This will pop up the new connection dialog (see Connecting to a database) which is used to open new connections to the database.
Will close the current connection to Oracle. If uncommitted data exists it will also ask if you want to commit or rollback the changes. Observe that any tools associated with this connection will also be closed when closing a connection.
Commit the changes currently made to the database.
Rollback any changes made in the current connection.
Set focus to change the current connection.
Stops all queries running in current session.
Clear the object cache. and read it again from the database.
This command will open a dialog asking you for a filename to load into the editor that currently holds the focus.
This item will have subitems of recently opened files which you can load into the editor that currently holds the focus.
This command will open a dialog asking you for a filename to save the contents of the editor that currently holds the focus. If the editor already has a filename this will be used and no dialog displayed.
This command will open a dialog asking you for a filename to save the contents of the editor that currently holds the focus.
Open previously saved session.
Save parameters of current session.
Open last saved session.
Close current session.
Will print the contents of the list or editor that currently holds the focus.
Close all connections and exit TOra.
Undo the latest change in the editor that currently holds the focus.
Redo a previous undo of the latest change in the editor that currently holds the focus.
Copy the current selection in the editor that currently holds the focus.
Cut the current selection in the editor that currently holds the focus.
Paste the contents of the clipboard into the editor that currently holds the focus.
Display the search & replace dialog (see Search & Replace).
Make another search with the current search settings.
Select all rows in the current editor.
Read all items available for a list. Normally TOra doesn’t read all available rows for a query, just enough to fill the screen. Scrolling down will read more. Selecting this will read all available rows from the query, this could take a very long time and consume a lot of memory if selected for a large query result.
Displays the preferences dialog (see Options) where all aspects of TOra are configured.
.
.
Change selected text to uppercase or lowercase.
Manage bookmarks.
Indent selected block.
Deindent selected block.
Quote selection. This also handles quotes inside text being quoted.
Unquote selection.
Comments/uncomments selected text.
Goes to specific line number.
Pop-up a list of possible completions. For tables and views this would give a list of columns after entering table/view name and a dot. If there is no dot a list of common statements is given. For example if you press ctrl+space after entering "sel" you will get options of "select" and "selection".
This may not be available because it is actually a tool plugin. Can be used to customize SQL used by TOra to determine the state of a database(see SQL Editor).
.
The entries of this menu start up new tools for the current connection (See connection management for more information about current connections). The contents of the menu may vary depending on which plugins are loaded.
Tool specific menu
There may be a tool specific menu entered between the Tools and Windows menus (In the screenshot at the top of current page it is called Browser). These are described in connection to the tools that display them.
Close the current tool window.
Close all open windows. This will not close any database connections, only windows.
Cascade the open windows over the workspace.
Tile the open windows over the workspace.
Here windows will line up in a list in the same order as you open them.
This will display a help page on the context you are currently in. If no specific context is found the table of contents is shown.
Open the help window displaying the contents of the TOra help.
Display information about TOra copyrigh.
Display the license under which TOra is distributed.
Display information about Qt.
Using the toolbar you can perform the most common editing operations, handle your connections and open tool windows.
This command will open a dialog asking you for a filename to load into the editor that currently holds the focus.
This command will open a dialog asking you for a filename to save the contents of the editor that currently holds the focus. If the editor already has a filename this will be used and no dialog displayed.
Will print the contents of the list or editor that currently holds the focus
Undo the latest change in the editor that currently holds the focus.
Redo a previous undo of the latest change in the editor that currently holds the focus.
Copy the current selection the in editor that currently holds the focus.
Cut the current selection the in editor that currently holds the focus.
Paste the contents of the clipboard into the editor that currently holds the focus.
The buttons in this section can vary depending on which plugins were loaded at startup, they are described in the tools section (see Available tools) of the help. What is notable here is that when a button is pressed it is started for the currently selected connection available at the end of the application toolbar.
All the buttons in this section have one thing in common. Except for the new connection they all operate on the currently selected connection. The currently open connections are available in a drop down list at the right of the toolbar. The selected item in this list is the connection that new tools will be working on and also any commit, rollback or close connection command.
The numbers behind the actual connection is the version of the Oracle server that this connection is made to.
This will pop up the new connection (see Connecting to a database) dialog which is used to open new connections to oracle.
Will close the current connection to Oracle. If uncommitted data exists it will also ask if you want to commit or rollback the changes. Observe that any tools associated with this connection will also be closed when closing a connection.
Commit the changes currently made to the database.
Rollback any changes made in the current connection.
There are a few other items on the workspace that are worth taking notice of.
This will display any messages that TOra need to inform the user of. TOra generally takes the path of not bothering the user with pop ups when something goes wrong, but simply display it in the statusbar. Or at least that was my intention. Due to the fact that many people had problems understanding this the default behaviour of TOra is now to pop up a dialog displaying the error. However this dialog contains a checkbox to revert back to the old productive manner. So if something isn’t working, make sure you check the statusbar if something went wrong.
There is an up button available to the right of the toolbar which when pressed can display a history of the contents of the status bar. This is also useful since the statusbar usually clears after certain amount of time but the information is always available here. Both the time until a message disappears and the amount of backlog to keep is configurable from the option dialog (see Options). If you select an item in the popup menu the contents of the entry will be opened in a memo editor (see memoeditor) where you can read them more easily and also copy the text more easily.
Next to the left is the coordinates of the editor that currently has the focus.
Fursthest to the right is swirling logo which will move whenever TOra is doing something in the background to indicate that the database is still busy performing some kind of operation in the background. The speed of the animation will reflect the number of background tasks that are currently running.
These are the tools that actually let you interact with Oracle. For more information check out the tools section (see Available tools) of the help. One thing to note about tool windows is that if the caption ends with a < digit > this is the digit that you can use together with the control modifier to select this window.
The part of the main window that contain the tool windows.
For more information about key bindings etc. see Using editors.
These mean every kind of list displayed in TOra. For information about how to interact with these, see Using lists.
Used to visualize data, usually some kind of database statistics. There are no charts in the example window above, see Using charts.
When TOra opens a new connection to a database the database connected to is queried for all its objects and the synonyms available. This data is then used in most places when lists of objects are displayed. The thing to understand is that this data is cached so that any objects modified during the connection will not be visible unless you clear the cache and reread it from the database. As long as the object cache is read you can see the background activity swirling in the right part of the status bar.
Next: newconnection, Up: workspace [Contents][Index]