public abstract class BaseDBObjectNode extends Node implements DBObjectNode
DBObjectNode,
BaseDBObjectTextNode,
BasePlSqlTextNodeLOG_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, addWeakNodeListener, 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, removeWeakNodeListener, 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, writeUnlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetObjectNamegetObjectType, getProviderIdentifier, getSchemaNamegetAttributes, getChildren, getData, mayHaveChildrengetAttributedLabel, getLongLabel, getToolTipText, toStringpublic java.lang.String getProviderType()
getProviderType in interface DBObjectProviderNodepublic DBObject getDBObject()
getDBObject in interface DBObjectNodepublic DBObjectProvider getProvider()
getProvider in interface DBObjectNodeDBObjectTypeNode.getProviderIdentifier()public void init(DBObject obj, DBObjectProvider pro)
DBObjectNodeinit in interface DBObjectNodepublic javax.swing.Icon getIcon()
getIcon in interface DisplayablegetIcon in class NodeIcon to be displayed for the
Displayable.public java.lang.String getShortLabel()
getShortLabel in interface DisplayablegetShortLabel in class NodeDisplayable
that can be shown to the user.