oracle.jdeveloper.vcs.nav
Class ConnectionNodeDecorator
java.lang.Object
oracle.ide.model.Node
oracle.ide.model.DefaultContainer
oracle.jdeveloper.vcs.nav.ConnectionNodeDecorator
- All Implemented Interfaces:
- Displayable, Element, Folder, LazyLoadable, Locatable, Subject, Dirtyable
public final class ConnectionNodeDecorator
- extends DefaultContainer
- Since:
- 11.1.1.0.0
Methods inherited from class oracle.ide.model.DefaultContainer |
add, add, canAdd, canRemove, containsChild, getChildren, mayHaveChildren, remove, remove, removeAll, removeAll, size |
Methods inherited from class oracle.ide.model.Node |
addNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, attach, beginThreadNodeUsageCycle, callUnderReadLock, callUnderWriteLock, close, createSubject, delete, deleteImpl, detach, endThreadNodeUsage, endThreadNodeUsageCycle, ensureOpen, equalsImpl, getAttributes, getData, getInputStream, getSubject, getTimestamp, getTimestampLoadedUnsafe, getTransientProperties, getUnmodifiedTimestamp, getURL, isDirty, isLoaded, isMigrating, isNew, isOpen, isReadLocked, isReadOnly, isReadOrWriteLocked, isTrackedInNodeCache, isWriteLocked, lockCount, markDirty, markDirtyImpl, nodeLock, notifyObservers, open, readLock, readLockCount, readUnlock, refreshTimestamp, removeNodeListener, removeNodeListenerForType, removeNodeListenerForTypeHierarchy, rename, renameImpl, reportOpenException, revert, revertImpl, runUnderReadLock, runUnderWriteLock, save, saveImpl, setEventLog, setMigrating, setOpen, setReadOnly, setTimestampDirectly, setURL, toString, tryRunUnderReadLock, unsetMigrating, upgradeLock, upgradeUnlock, urlReadOnlyChanged, writeLock, writeLockCount, writeUnlock |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConnectionNodeDecorator
public ConnectionNodeDecorator(Element element)
getConnectionNode
public final ConnectionNode getConnectionNode()
setConnectionNode
public final void setConnectionNode(ConnectionNode connectionNode)
getIcon
public javax.swing.Icon getIcon()
- Description copied from class:
Node
Displayable
interface method. The Node class returns
a generic icon.
- Specified by:
getIcon
in interface Displayable
- Overrides:
getIcon
in class Node
- Returns:
- the
Icon
to be displayed for the
Displayable
.
getToolTipText
public java.lang.String getToolTipText()
- Description copied from class:
Node
Displayable
interface method. The Node class returns
returns the String form of the currently set URL
.
- Specified by:
getToolTipText
in interface Displayable
- Overrides:
getToolTipText
in class Node
- Returns:
- the tooltip to show when the mouse pointer pauses over a
UI component that represents this
Displayable
.
getLongLabel
public java.lang.String getLongLabel()
- Description copied from class:
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>".
- Specified by:
getLongLabel
in interface Displayable
- Overrides:
getLongLabel
in class Node
- Returns:
- a long descriptive label of the
Displayable
that
can be shown to the user.
getShortLabel
public java.lang.String getShortLabel()
- Description copied from class:
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>".
- Specified by:
getShortLabel
in interface Displayable
- Overrides:
getShortLabel
in class Node
- Returns:
- a short descriptive label of the
Displayable
that can be shown to the user.
openImpl
protected void openImpl()
throws java.io.IOException
- Description copied from class:
Node
- Subclasses should override this method to customize the open()
behavior.
Node.open()
invokes this only if the node is not open, under
write lock. The Node
implementation does nothing.
- Overrides:
openImpl
in class Node
- Throws:
java.io.IOException
- if an I/O error occurred while opening
closeImpl
protected void closeImpl()
throws java.io.IOException
- Description copied from class:
Node
- Subclasses should override this method to customize the close()
behavior.
Node.close()
invokes this only if the node is open, under
write lock. The Node
implementation does nothing.
- Overrides:
closeImpl
in class Node
- Throws:
java.io.IOException
- if an I/O error occurred while closing
Copyright © 1997, 2011, Oracle. All rights reserved.