Skip navigation links
oracle.jdeveloper.offlinedb.browser
Class ProviderNode
java.lang.Object
oracle.ide.model.Node
oracle.ide.model.DataContainer
oracle.jdeveloper.offlinedb.browser.ProviderNode
- All Implemented Interfaces:
- Displayable, Element, Folder, LazyLoadable, Locatable, Observer, Subject, Dirtyable, PropertyStorage
-
public class ProviderNode
- extends DataContainer
Node for a provider in the navigator.
Field Summary |
static java.lang.String |
FILE_EXT
|
Methods inherited from class oracle.ide.model.DataContainer |
add, add, add, canAdd, canRemove, containsChild, equals, equalsImpl, getBaseDirectory, getChildren, getListOfChildren, getProperties, getProperty, getProperty, getSharedPropertiesOnly, getURL, getUserPropertiesOnly, remove, remove, removeAll, removeAll, resetSubDirtyableOwners, saveImpl, setListOfChildren, setProperty, setSubDirtyableOwner, size, update |
Methods inherited from class oracle.ide.model.Node |
addNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, attach, beginThreadNodeUsageCycle, callUnderReadLock, callUnderWriteLock, close, createSubject, delete, deleteImpl, detach, endThreadNodeUsage, endThreadNodeUsageCycle, ensureOpen, equalsImpl, getInputStream, getLongLabel, getSubject, getTimestamp, getTimestampLoadedUnsafe, getToolTipText, getTransientProperties, getUnmodifiedTimestamp, isDirty, isLoaded, isMigrating, isNew, isOpen, isReadLocked, isReadOnly, isReadOrWriteLocked, isTrackedInNodeCache, isWriteLocked, lockCount, markDirty, markDirtyImpl, nodeLock, notifyObservers, open, openImpl, readLock, readLockCount, readUnlock, refreshTimestamp, removeNodeListener, removeNodeListenerForType, removeNodeListenerForTypeHierarchy, rename, renameImpl, reportOpenException, revert, revertImpl, runUnderReadLock, runUnderWriteLock, save, setEventLog, setMigrating, setOpen, setReadOnly, setTimestampDirectly, setURL, toString, tryRunUnderReadLock, tryRunUnderWriteLock, unsetMigrating, upgradeLock, upgradeUnlock, urlReadOnlyChanged, writeLock, writeLockCount, writeUnlock |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FILE_EXT
public static final java.lang.String FILE_EXT
-
- See Also:
- Constant Field Values
ProviderNode
public ProviderNode()
getAttributes
public Attributes getAttributes()
- Description copied from interface:
Element
- This method returns an
Attributes
object that encodes the attributes of the Element
. Changing the attribute settings on the return object changes the element attributes. Subclasses should use their super class attributes object to define their own attributes. This allows subclasses to inherit their super class attributes. If a subclass does not wish to inherit attributes, they should first call getAttributes().clear()
and define new attributes.
-
- Specified by:
getAttributes
in interface Element
- Overrides:
getAttributes
in class Node
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
.
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.
newObjectStore
protected ObjectStore newObjectStore()
-
- Overrides:
newObjectStore
in class DataContainer
getSettings
public ProviderSettings getSettings()
setSettings
public void setSettings(ProviderSettings settings)
getData
public java.lang.Object getData()
- Description copied from interface:
Element
- Returns the data object associated with this
Element
. Implementations will often simply return this
, since the Element is often its own data object. If the implementation returns an object other than this
, be sure to set ElementAttributes.DECORATES_DATA_ELEMENT
.
-
- Specified by:
getData
in interface Element
- Overrides:
getData
in class Node
-
- Returns:
- the data object associated with this
Element
instance.
getObjectStoreTarget
protected java.lang.Object getObjectStoreTarget()
-
- Overrides:
getObjectStoreTarget
in class DataContainer
mayHaveChildren
public boolean mayHaveChildren()
- Description copied from class:
DataContainer
- Part of the
Element
interface. This implementation always returns true
.
-
- Specified by:
mayHaveChildren
in interface Element
- Overrides:
mayHaveChildren
in class DataContainer
-
- Returns:
true
if this Element
may contain child Element
s.
- See Also:
Element.mayHaveChildren()
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 DataContainer
-
- Throws:
java.io.IOException
- if an I/O error occurred while closing
Skip navigation links
Copyright © 1997, 2015, Oracle. All rights reserved.