public final class RepositoriesRootNode extends GenericNode<ConnectionTypeNode>
LOG_READONLY
Constructor and Description |
---|
RepositoriesRootNode(RepositoriesRootNodeConfig config) |
RepositoriesRootNode(RescatContext rescatContext) |
RepositoriesRootNode(RescatContext rescatContext,
java.lang.String shortLabel) |
Modifier and Type | Method and Description |
---|---|
void |
clearCache() |
boolean |
equals(java.lang.Object obj) |
static RepositoriesRootNode |
findInstance() |
void |
forceRefreshImpl()
hook for subclasses to extend the behavior of forceRefresh() such as
clearing intermediate caches.
|
protected java.util.List<ConnectionTypeNode> |
getChildrenImpl()
Override this method (and not
GenericNode.getChildren() ) to cache the children. |
java.lang.String |
getEmptyTipText() |
static RepositoriesRootNode |
getFromContext(Context context) |
HelpInfo |
getHelpInfo() |
javax.swing.Icon |
getIcon()
Displayable interface method. |
java.lang.String |
getId() |
static RepositoriesRootNode |
getInstance() |
RescatContext |
getRescatContext() |
java.lang.String |
getShortLabel()
Displayable interface method. |
boolean |
isForResourcePalette() |
static void |
setInContext(Context context,
RepositoriesRootNode node) |
equalsImpl, forceRefresh, getChildren, getElementComparator, getFullPath, getIconOverlays, getLongLabel, getParent, getPathFrom, mayHaveChildren, setAttributes, setFilterControl, whenDelete, whenDelete, whenProperties, 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, getToolTipText, 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, 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 RepositoriesRootNode(RepositoriesRootNodeConfig config)
public RepositoriesRootNode(RescatContext rescatContext)
public RepositoriesRootNode(RescatContext rescatContext, java.lang.String shortLabel)
public static RepositoriesRootNode getInstance()
public static RepositoriesRootNode findInstance()
public static RepositoriesRootNode getFromContext(Context context)
public static void setInContext(Context context, RepositoriesRootNode node)
public RescatContext getRescatContext()
getRescatContext
in class GenericNode<ConnectionTypeNode>
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 getId()
public boolean isForResourcePalette()
public java.lang.String getEmptyTipText()
public HelpInfo getHelpInfo()
protected java.util.List<ConnectionTypeNode> getChildrenImpl()
GenericNode
GenericNode.getChildren()
) to cache the children.getChildrenImpl
in class GenericNode<ConnectionTypeNode>
public void clearCache()
public void forceRefreshImpl()
GenericNode
forceRefreshImpl
in class GenericNode<ConnectionTypeNode>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public javax.swing.Icon getIcon()
Node
Displayable
interface method. The Node class returns
a generic icon.getIcon
in interface Displayable
getIcon
in class GenericNode<ConnectionTypeNode>
Icon
to be displayed for the
Displayable
.