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() |
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, whenRenameaddNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, 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, isWriteLocked, isWriteLockHeld, lockCount, markDirty, markDirtyImpl, 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, writeUnlockpublic ConnectionTypeNode(RepositoriesRootNode parent, oracle.adf.share.connection.ConnectionType connectionType)
protected java.util.List<RepositoryRootNode> getChildrenImpl()
GenericNodeGenericNode.getChildren()) to cache the children.getChildrenImpl in class GenericNode<RepositoryRootNode>public java.lang.String getShortLabel()
NodeDisplayable 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 DisplayablegetShortLabel in class NodeDisplayable that can be shown to the user.public java.lang.String getToolTipText()
NodeDisplayable interface method. The Node class returns returns the String form of the currently set URL.getToolTipText in interface DisplayablegetToolTipText in class NodeDisplayable.public javax.swing.Icon getIcon()
NodeDisplayable interface method. The Node class returns a generic icon.getIcon in interface DisplayablegetIcon in class GenericNode<RepositoryRootNode>Icon to be displayed for the Displayable.public boolean whenDelete(RepositoryRootNode childElement, boolean doit)
GenericNodechildElement 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()
GenericNodeforceRefreshImpl in class GenericNode<RepositoryRootNode>protected void setAttributes(RepositoryRootNode element)
GenericNodesetAttributes in class GenericNode<RepositoryRootNode>