Method Summary |
|
void | addDetailTab(DatabaseObjectType dboType, IObjectTab tab) Add a tab to be displayed in the detail panel for the passed
database object type. |
void | addExpander(DatabaseObjectType dboType, INodeExpander expander) Add an expander for the specified object tree node type. |
void | addKnownDatabaseObjectType(DatabaseObjectType dboType) Add a known database object type to the object tree. |
void | addObjectTreeListener(IObjectTreeListener lis) Add a listener to the object tree. |
void | addToPopup(DatabaseObjectType dboType, Action action) Add an Action to the popup menu for the specified database
object type. |
void | addToPopup(Action action) Add an Action to the popup menu for all node types. |
void | addToPopup(DatabaseObjectType dboType, JMenu menu) Add an hierarchical menu to the popup menu for the specified database
object type. |
void | addToPopup(JMenu menu) Add an hierarchical menu to the popup menu for all node types. |
void | addTreeModelListener(TreeModelListener lis) Add a listener to the object tree for structure changes. |
void | addTreeSelectionListener(TreeSelectionListener lis) Add a listener to the object tree for selection changes. |
void | expandNode(ObjectTreeNode node) Expands the specified tree node. |
DatabaseObjectType[] | getDatabaseObjectTypes() Retrieve details about all object types that can be in this
tree. |
IDatabaseObjectInfo[] | getSelectedDatabaseObjects() Return an array of the currently selected database
objects. |
ObjectTreeNode[] | getSelectedNodes() Return an array of the selected nodes in the tree. |
List<ITableInfo> | getSelectedTables() |
ISession | getSession() Retrieves the session of associated with the tree. |
IObjectTab | getTabbedPaneIfSelected(DatabaseObjectType dbObjectType, String title) |
void | refreshSelectedNodes() Refresh the nodes currently selected in the object tree. |
void | refreshSelectedTab() Calls refreshComponent on the selected tab in the current
ObjectTreeTabbedPane, if the selected tab happens to be a BaseDataSetTab
type. |
void | refreshTree() Refresh the object tree. |
void | refreshTree(boolean reloadSchemaInfo) Refresh the object tree. |
void | removeNodes(ObjectTreeNode[] nodes) Remove one or more nodes from the tree. |
void | removeObjectTreeListener(IObjectTreeListener lis) Remove a listener from the object tree. |
void | removeTreeModelListener(TreeModelListener lis) Remove a structure changes listener from the object tree. |
void | removeTreeSelectionListener(TreeSelectionListener lis) Remove a listener from the object tree for selection changes. |
boolean | selectInObjectTree(String catalog, String schema, String object) Tries to locate the object given by the paramteres in the Object tree.
The first matching object found is selected.
Parameters: catalog - null means any catalog Parameters: schema - null means any schema table, view, ... |
void | selectRoot() Selects the root node of the tree. |