public final class ConnectionTypeNode extends GenericNode<RepositoryRootNode>
LOG_READONLY
Constructor and Description |
---|
ConnectionTypeNode(RepositoriesRootNode parent,
oracle.adf.share.connection.ConnectionType connectionType) |
Modifier and Type | Method and Description |
---|---|
void |
clearCache() |
boolean |
equals(java.lang.Object other) |
boolean |
equalsImpl(java.lang.Object other) |
protected void |
forceRefreshImpl()
hook for subclasses to extend the behavior of forceRefresh() such as
clearing intermediate caches.
|
protected java.util.List<RepositoryRootNode> |
getChildrenImpl()
Override this method (and not
GenericNode.getChildren() ) to cache the children. |
oracle.adf.share.connection.ConnectionType |
getConnectionType() |
javax.swing.Icon |
getIcon()
Displayable interface method. |
java.lang.String |
getShortLabel()
Displayable interface method. |
java.lang.String |
getToolTipText()
Displayable interface method. |
protected void |
setAttributes(RepositoryRootNode element)
Set the attributes of the specified element to make it read-only and
disable Erase from Disk, Delete, Rename.
|
boolean |
whenDelete(RepositoryRootNode childElement,
boolean doit)
Delete
childElement from this node. |
forceRefresh, getChildren, getElementComparator, getFullPath, getIconOverlays, getLongLabel, getParent, getPathFrom, getRescatContext, mayHaveChildren, setFilterControl, whenDelete, whenProperties, whenRename, whenRename
addNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, addWeakNodeListener, attach, beginThreadNodeUsageCycle, callUnderReadLock, callUnderWriteLock, close, closeImpl, createSubject, delete, deleteImpl, detach, endThreadNodeUsage, endThreadNodeUsageCycle, ensureOpen, equalsImpl, getAttributes, getData, getInputStream, getSubject, getTimestamp, getTimestampLoadedUnsafe, getTransientProperties, getUnmodifiedTimestamp, getURL, isDirty, isLoaded, isLockHeld, isMigrating, isNew, isOpen, isReadLocked, isReadLockHeld, isReadOnly, isReadOrWriteLocked, isTrackedInNodeCache, isTrackingThreadNodeUsage, isWriteLocked, isWriteLockHeld, lockCount, markDirty, markDirtyImpl, 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, writeUnlock
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAttributedLabel
public ConnectionTypeNode(RepositoriesRootNode parent, oracle.adf.share.connection.ConnectionType connectionType)
protected java.util.List<RepositoryRootNode> getChildrenImpl()
GenericNode
GenericNode.getChildren()
) to cache the children.getChildrenImpl
in class GenericNode<RepositoryRootNode>
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public boolean equalsImpl(java.lang.Object other)
equalsImpl
in class GenericNode<RepositoryRootNode>
public java.lang.String getShortLabel()
Node
Displayable
interface method. The Node class returns
the file name part of the currently set URL
. If the
currently set URL
is null
, then this method
returns "<null>".getShortLabel
in interface Displayable
getShortLabel
in class Node
Displayable
that can be shown to the user.public java.lang.String getToolTipText()
Node
Displayable
interface method. The Node class returns
returns the String form of the currently set URL
.getToolTipText
in interface Displayable
getToolTipText
in class Node
Displayable
.public javax.swing.Icon getIcon()
Node
Displayable
interface method. The Node class returns
a generic icon.getIcon
in interface Displayable
getIcon
in class GenericNode<RepositoryRootNode>
Icon
to be displayed for the
Displayable
.public boolean whenDelete(RepositoryRootNode childElement, boolean doit)
GenericNode
childElement
from this node.whenDelete
in class GenericNode<RepositoryRootNode>
childElement
- the element to deletepublic oracle.adf.share.connection.ConnectionType getConnectionType()
public void clearCache()
protected void forceRefreshImpl()
GenericNode
forceRefreshImpl
in class GenericNode<RepositoryRootNode>
protected void setAttributes(RepositoryRootNode element)
GenericNode
setAttributes
in class GenericNode<RepositoryRootNode>