public class DatabaseNavigatorHelper
extends java.lang.Object
Constructor and Description |
---|
DatabaseNavigatorHelper() |
Modifier and Type | Method and Description |
---|---|
static DatabaseNode |
findConnectionNode(Database db)
Gets the node in the Database Navigator that respresents the given database.
|
static DatabaseNode |
findConnectionNode(java.lang.String storeName, java.lang.String connName)
Finds the connection node in the database navigator for the given store name and connection name.
|
static DBObjectNode |
findObjectNode(Database db, SystemObject obj)
Gets the node in the Database Navigator for the given object within the given Database.
|
static DBObjectTypeNode |
findTypeNode(Database db, Schema schema, java.lang.String type)
Gets the given type folder in the Database Navigator (e.g.
|
static NavigatorManager |
getDatabaseNavigatorManager()
Gets the NavigatorManager for the Database Navigator.
|
public static NavigatorManager getDatabaseNavigatorManager()
public static DatabaseNode findConnectionNode(java.lang.String storeName, java.lang.String connName)
public static DatabaseNode findConnectionNode(Database db)
public static DBObjectTypeNode findTypeNode(Database db, Schema schema, java.lang.String type)
db
- the database (connection) to look underschema
- the schematype
- the object type of folder we're looking forpublic static DBObjectNode findObjectNode(Database db, SystemObject obj)
db
- the database the object is fromobj
- the object whose node is required