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()
Deprecated.
The Database Navigator no longer has a manager instance of
the IDE's NavigatorManager. Use
getDatabaseNavigatorWindow()
or getDatabaseNavigatorViewID() instead. |
static ViewId |
getDatabaseNavigatorViewID()
Gets the default ViewId for the database navigator.
|
static DockableWindow |
getDatabaseNavigatorWindow()
Gets the DockableWindow that is the Database Navigator.
|
@Deprecated public static NavigatorManager getDatabaseNavigatorManager()
getDatabaseNavigatorWindow()
or getDatabaseNavigatorViewID()
instead.java.lang.UnsupportedOperationException
- every time it is calledpublic static DockableWindow getDatabaseNavigatorWindow()
public static ViewId getDatabaseNavigatorViewID()
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