|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.model.Node oracle.ide.model.DataContainer oracle.jdeveloper.offlinedb.browser.ProviderNode
public class ProviderNode
Node for a provider in the navigator.
Field Summary | |
---|---|
static java.lang.String |
FILE_EXT
|
Fields inherited from class oracle.ide.model.Node |
---|
LOG_READONLY |
Fields inherited from interface oracle.javatools.data.PropertyStorage |
---|
DATA_KEY |
Constructor Summary | |
---|---|
ProviderNode()
|
Method Summary | |
---|---|
protected void |
closeImpl()
Subclasses should override this method to customize the close() behavior. |
Attributes |
getAttributes()
This method returns an Attributes object that encodes the
attributes of the Element . |
java.lang.Object |
getData()
Returns the data object associated with this Element . |
javax.swing.Icon |
getIcon()
Displayable interface method. |
protected java.lang.Object |
getObjectStoreTarget()
|
ProviderSettings |
getSettings()
|
java.lang.String |
getShortLabel()
Displayable interface method. |
boolean |
mayHaveChildren()
Part of the Element interface. |
protected ObjectStore |
newObjectStore()
|
void |
setSettings(ProviderSettings settings)
|
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 java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.ide.model.Displayable |
---|
getLongLabel, getToolTipText, toString |
Field Detail |
---|
public static final java.lang.String FILE_EXT
Constructor Detail |
---|
public ProviderNode()
Method Detail |
---|
public Attributes getAttributes()
Element
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.
getAttributes
in interface Element
getAttributes
in class Node
public javax.swing.Icon getIcon()
Node
Displayable
interface method. The Node class returns
a generic icon.
getIcon
in interface Displayable
getIcon
in class Node
Icon
to be displayed for the
Displayable
.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.protected ObjectStore newObjectStore()
newObjectStore
in class DataContainer
public ProviderSettings getSettings()
public void setSettings(ProviderSettings settings)
public java.lang.Object getData()
Element
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
.
getData
in interface Element
getData
in class Node
Element
instance.protected java.lang.Object getObjectStoreTarget()
getObjectStoreTarget
in class DataContainer
public boolean mayHaveChildren()
DataContainer
Element
interface. This implementation always
returns true
.
mayHaveChildren
in interface Element
mayHaveChildren
in class DataContainer
true
if this Element
may contain
child Element
s.Element.mayHaveChildren()
protected void closeImpl() throws java.io.IOException
Node
Node.close()
invokes this only if the node is open, under
write lock. The Node
implementation does nothing.
closeImpl
in class DataContainer
java.io.IOException
- if an I/O error occurred while closing
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |