public abstract class BaseDBObjectNode extends Node implements DBObjectNode
DBObjectNode
,
BaseDBObjectTextNode
,
BasePlSqlTextNode
LOG_READONLY
Constructor and Description |
---|
BaseDBObjectNode() |
Modifier and Type | Method and Description |
---|---|
DBObject |
getDBObject()
Returns the DBObject for the node.
|
javax.swing.Icon |
getIcon()
Default implementation of this Displayable method returns the appropriate
icon for the object's type.
|
DBObjectProvider |
getProvider()
Gets the provider from the DBObjectProviderFactory using the key returned
by getProviderIdentifier().
|
java.lang.String |
getProviderType()
By default this returns "db".
|
java.lang.String |
getShortLabel()
Default implementation of this Displayable method returns the object name.
|
void |
init(DBObject obj,
DBObjectProvider pro)
Initialises a new node.
|
addNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, attach, beginThreadNodeUsageCycle, callUnderReadLock, callUnderWriteLock, close, closeImpl, createSubject, delete, deleteImpl, detach, endThreadNodeUsage, endThreadNodeUsageCycle, ensureOpen, equalsImpl, getAttributes, getChildren, getData, getInputStream, getLongLabel, getSubject, getTimestamp, getTimestampLoadedUnsafe, getToolTipText, getTransientProperties, getUnmodifiedTimestamp, getURL, isDirty, isLoaded, isLockHeld, isMigrating, isNew, isOpen, isReadLocked, isReadLockHeld, isReadOnly, isReadOrWriteLocked, isTrackedInNodeCache, isTrackingThreadNodeUsage, isWriteLocked, isWriteLockHeld, lockCount, markDirty, markDirtyImpl, mayHaveChildren, nodeLock, notifyObservers, open, openImpl, readLock, readLockCount, readLockInterruptibly, readUnlock, refreshTimestamp, removeNodeListener, removeNodeListenerForType, removeNodeListenerForTypeHierarchy, rename, renameImpl, reportOpenException, revert, revertImpl, runUnderReadLock, runUnderWriteLock, save, saveImpl, setEventLog, setMigrating, setOpen, setReadOnly, setTimestampDirectly, setURL, toString, tryRunUnderReadLock, tryRunUnderWriteLock, unsetMigrating, upgradeLock, upgradeUnlock, urlReadOnlyChanged, writeLock, writeLockCount, writeLockInterruptibly, writeUnlock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getObjectName
getObjectType, getProviderIdentifier, getSchemaName
getAttributes, getChildren, getData, mayHaveChildren
getLongLabel, getToolTipText, toString
public java.lang.String getProviderType()
getProviderType
in interface DBObjectProviderNode
public DBObject getDBObject()
getDBObject
in interface DBObjectNode
public DBObjectProvider getProvider()
getProvider
in interface DBObjectNode
DBObjectTypeNode.getProviderIdentifier()
public void init(DBObject obj, DBObjectProvider pro)
DBObjectNode
init
in interface DBObjectNode
public javax.swing.Icon getIcon()
getIcon
in interface Displayable
getIcon
in class Node
Icon
to be displayed for the
Displayable
.public java.lang.String getShortLabel()
getShortLabel
in interface Displayable
getShortLabel
in class Node
Displayable
that can be shown to the user.