Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.ide.model
Class DiscoveredDependable

java.lang.Object
  extended by oracle.ide.model.DiscoveredDependable
All Implemented Interfaces:
Displayable
Direct Known Subclasses:
DiscoveredDependable.DefaultDiscoveredDependable

public abstract class DiscoveredDependable
extends java.lang.Object
implements Displayable

Represents a node UI that can be the end-point of a dependency, and/or that can contain other DiscoveredDependables nested within it.

These are typically used in a selection dialog where a tree of Dependable objects need to be shown to the user. Each node in the tree is a DiscoveredDependable which composes a DiscoveredDependable.DefaultDiscoveredDependable, and the underlying Element, to which the Dependable points. The entire tree is constructed by calling DependableFactory iteratively for each Node.


Nested Class Summary
static class DiscoveredDependable.DefaultDiscoveredDependable
           
 
Constructor Summary
DiscoveredDependable()
           
 
Method Summary
static DiscoveredDependable createDefault(Element element, Dependable dependable)
           
static DiscoveredDependable createDefault(Element element, Dependable dependable, javax.swing.Icon icon, java.lang.String shortLabel, java.lang.String longLabel, java.lang.String tooltip)
          Creates a default DiscoveredDependable node.
abstract  Dependable getDependable()
          The Dependable object.
abstract  Element getElement()
          The element to which Dependable points.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.ide.model.Displayable
getIcon, getLongLabel, getShortLabel, getToolTipText, toString
 

Constructor Detail

DiscoveredDependable

public DiscoveredDependable()
Method Detail

getElement

public abstract Element getElement()
The element to which Dependable points.

Returns:
an Element.

getDependable

public abstract Dependable getDependable()
The Dependable object.

Returns:
Dependable, or null if this node does not represent a Dependable end-point.

createDefault

public static final DiscoveredDependable createDefault(Element element,
                                                       Dependable dependable,
                                                       javax.swing.Icon icon,
                                                       java.lang.String shortLabel,
                                                       java.lang.String longLabel,
                                                       java.lang.String tooltip)
Creates a default DiscoveredDependable node. Element cannot be null.


createDefault

public static final DiscoveredDependable createDefault(Element element,
                                                       Dependable dependable)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.