public class RepositoryRootNode extends DirContextNode implements ActionProvider
LOG_READONLY
Constructor and Description |
---|
RepositoryRootNode(ConnectionTypeNode parent, oracle.adf.rc.core.CatalogContext catalogContext, java.lang.String name, java.lang.String description) |
Modifier and Type | Method and Description |
---|---|
protected void |
forceRefreshImpl()
hook for subclasses to extend the behavior of forceRefresh() such as clearing intermediate caches.
|
ToggleAction[] |
getActions(ResCatController resCatController, Controller viewController)
Return an array of actions relevant to an Element.
|
java.lang.String |
getConnectionId() |
oracle.adf.share.connection.ConnectionType |
getConnectionType() |
javax.swing.Icon |
getIcon()
Displayable interface method. |
protected javax.swing.Icon |
getIconOverlays(javax.swing.Icon icon) |
java.lang.String |
getLongLabel()
Displayable interface method. |
java.lang.String |
getPath() |
java.lang.String |
getShortLabel()
Displayable interface method. |
java.lang.String |
getToolTipText()
Displayable interface method. |
protected MetaClass<Wizard> |
getWizardMetaClass() |
protected boolean |
isBrokenConnection() |
protected void |
loadCache()
Overrides DirContextNode.loadCache() to handle broken connections
|
boolean |
whenProperties(Context context, boolean doit) |
canClearInlineSearch, clearCache, getAttributeDescriptors, getCatalogContext, getChildren, getElementComparator, getFilter, getName, getURL, installFilter, installListeners, isTrackedInNodeCache, search, setCatalogContext, setFilter, setSearchRunnable, updateCache, whenInlineSearchCancelled, whenInlineSearchCleared, whenInlineSearchFinished, whenInlineSearchStarted
addChild, containsChild, containsKey, getCacheKeys, getChild, getChildrenImpl, getDummyChild, removeChild
forceRefresh, getFullPath, getParent, getPathFrom, getRescatContext, mayHaveChildren, setAttributes, setFilterControl, whenDelete, whenDelete, whenRename, whenRename
addNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, attach, beginThreadNodeUsageCycle, callUnderReadLock, callUnderWriteLock, close, closeImpl, createSubject, delete, deleteImpl, detach, endThreadNodeUsage, endThreadNodeUsageCycle, ensureOpen, equalsImpl, getAttributes, getData, getInputStream, getSubject, getTimestamp, getTimestampLoadedUnsafe, getTransientProperties, getUnmodifiedTimestamp, isDirty, isLoaded, isLockHeld, isMigrating, isNew, isOpen, isReadLocked, isReadLockHeld, isReadOnly, isReadOrWriteLocked, 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, writeUnlock
public RepositoryRootNode(ConnectionTypeNode parent, oracle.adf.rc.core.CatalogContext catalogContext, java.lang.String name, java.lang.String description)
public java.lang.String getPath()
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 DirContextNode
Displayable
that can be shown to the user.public java.lang.String getLongLabel()
Node
Displayable
interface method. The Node class returns the path name part of the currently set URL
. If the currently set URL
is null
, then this method returns "<null>".getLongLabel
in interface Displayable
getLongLabel
in class DirContextNode
Displayable
that can be shown to the user.public javax.swing.Icon getIcon()
Node
Displayable
interface method. The Node class returns a generic icon.getIcon
in interface Displayable
getIcon
in class DirContextNode
Icon
to be displayed for the Displayable
.protected javax.swing.Icon getIconOverlays(javax.swing.Icon icon)
getIconOverlays
in class DirContextNode
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 DirContextNode
Displayable
.protected void loadCache()
loadCache
in class DirContextNode
public boolean whenProperties(Context context, boolean doit)
whenProperties
in class GenericNode<Element>
public oracle.adf.share.connection.ConnectionType getConnectionType()
public java.lang.String getConnectionId()
protected boolean isBrokenConnection()
protected void forceRefreshImpl()
GenericNode
forceRefreshImpl
in class DirContextNode
public ToggleAction[] getActions(ResCatController resCatController, Controller viewController)
ActionProvider
getActions
in interface ActionProvider
resCatController
- the Resource Catalog controller is passed in. It can be used as a delegate and/or to lookup default actions.viewController
- the controller for the immediate view in which the element resides. It can be used as a delegate.