| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.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 Attributesobject that encodes the 
  attributes of theElement. | 
|  java.lang.Object | getData()Returns the data object associated with this Element. | 
|  javax.swing.Icon | getIcon()Displayableinterface method. | 
| protected  java.lang.Object | getObjectStoreTarget() | 
|  java.lang.Object | getProviderIdentifier()Returns the identifier for the provider - if an online node this will be a String that is the connection name. | 
|  java.lang.String | getProviderType()Returns the type of provider for this node - e.g. | 
|  ProviderSettings | getSettings() | 
|  java.lang.String | getShortLabel()Displayableinterface method. | 
|  boolean | mayHaveChildren()Part of the Elementinterface. | 
| 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, revertImpl, 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.Locatable | 
|---|
| getURL, setURL | 
| Methods inherited from interface oracle.ide.model.Element | 
|---|
| getChildren | 
| 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()
ElementAttributes 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 ElementgetAttributes in class Nodepublic javax.swing.Icon getIcon()
NodeDisplayable interface method.  The Node class returns
  a generic icon.
getIcon in interface DisplayablegetIcon in class NodeIcon to be displayed for the
  Displayable.public java.lang.String getShortLabel()
NodeDisplayable 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 DisplayablegetShortLabel in class NodeDisplayable
  that can be shown to the user.protected ObjectStore newObjectStore()
newObjectStore in class DataContainerpublic ProviderSettings getSettings()
public void setSettings(ProviderSettings settings)
public java.lang.Object getData()
ElementElement.
  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 ElementgetData in class NodeElement
  instance.protected java.lang.Object getObjectStoreTarget()
getObjectStoreTarget in class DataContainerpublic boolean mayHaveChildren()
DataContainerElement interface.  This implementation always
  returns true.
mayHaveChildren in interface ElementmayHaveChildren in class DataContainertrue if this Element may contain
  child Elements.Element.mayHaveChildren()
protected void closeImpl()
                  throws java.io.IOException
NodeNode.close() invokes this only if the node is open, under
 write lock.  The Node implementation does nothing.
closeImpl in class DataContainerjava.io.IOException - if an I/O error occurred while closingpublic java.lang.Object getProviderIdentifier()
DBObjectProviderNode
getProviderIdentifier in interface DBObjectProviderNodepublic java.lang.String getProviderType()
DBObjectProviderNode
getProviderType in interface DBObjectProviderNode| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||