|
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.Objectoracle.ide.panels.MetaTraversable
oracle.ide.panels.Navigable
oracle.ide.model.panels.ProjectContentNavigable
public abstract class ProjectContentNavigable
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class oracle.ide.panels.Navigable |
|---|
Navigable.NavigableComparator |
| Field Summary | |
|---|---|
static java.lang.String |
PROPERTIES_NODE_LABEL
|
| Fields inherited from class oracle.ide.panels.Navigable |
|---|
BOLD, DEFAULT_CHILD_COMPARATOR_KEY, ITALIC, NAVIGABLE_COMPARATOR, PLAIN |
| Constructor Summary | |
|---|---|
ProjectContentNavigable()
|
|
| Method Summary | |
|---|---|
protected void |
appendChildNavigables(javax.swing.tree.DefaultMutableTreeNode parent,
NavigableContext nc)
This method calls Navigable.getChildNavigables() to get the list of
child Navigable objects. |
protected abstract Navigable |
getGenericNavigable(java.lang.String label,
java.lang.String contentSetKey)
|
java.lang.Class |
getTraversableClass()
Returns the class object of the described Traversable. |
boolean |
isUsingTraversableDefaultConstructor()
Returns true of the construction of the associated
Traversable uses its default constructor; returns
false if a constructor other than the default is
used. |
protected boolean |
mayHaveChildren(NavigableContext nc)
Overridable method to determine whether a Navigable may have
children such that a + may be shown next to it in the tree. |
Traversable |
newTraversable(ApplyNotifier applyNotifier)
This method specifies the Traversable that will be used
in association with the Navigable; in general, only
NavigableUIContainer implementations should call this
method directly. |
static void |
setDefaultContentSet(java.lang.String contentSetKey)
|
| Methods inherited from class oracle.ide.panels.Navigable |
|---|
addChildNavigable, appendChildNodes, appendDetailNavigables, copyTo, copyToImpl, createDetailRootNode, createTreeNode, createTreeNodeImpl, getChildComparator, getChildNavigables, getChildren, getDetailNavigables, getDisplayStyle, getIcon, getLongLabel, getRawShortLabel, getShortLabel, getToolTipText, setChildComparator, setChildNavigables, setDataScope, setDisplayStyle, setShortLabel, sortNavigables, toString |
| Methods inherited from class oracle.ide.panels.MetaTraversable |
|---|
copyToImpl, findHelpID, newTraversable, setHelpID, setNameLink |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROPERTIES_NODE_LABEL
| Constructor Detail |
|---|
public ProjectContentNavigable()
| Method Detail |
|---|
public static void setDefaultContentSet(java.lang.String contentSetKey)
protected abstract Navigable getGenericNavigable(java.lang.String label,
java.lang.String contentSetKey)
public Traversable newTraversable(ApplyNotifier applyNotifier)
MetaTraversableTraversable that will be used
in association with the Navigable; in general, only
NavigableUIContainer implementations should call this
method directly.
NOTE: Subclasses should override the MetaTraversable.newTraversable()
method instead of this method whenever possible. The reason
for this is that the implementation of this method takes care
of registering the Traversable returned by
newTraversable() as an ApplyListener.
Implementations should return a new Traversable instance
each time this method is called; specifically the implementation
should not attempt to cache the returned Traversable
because caching is the responsibility of the NavigableUIContainer that is rendering this
Navigable.
By default, this method uses the Class that was specified
when this Navigable was created and calls
Class.newInstance() on that Class to create the
new Traversable. If the class is null or
the class does not implement a public default constructor or
the newly created object cannot be cast to Traversable,
this method will return an instance of DefaultTraversablePanel. If the class implements the ApplyListener interface, then the Traversable instance
will be added as an ApplyListener to the NavigableUIContainer as well.
newTraversable in class MetaTraversableapplyNotifier - Subclasses that override this method can
register an ApplyListener with the NavigableUIContainer.
Traversable which represents the detail UI
component that is shown when the user selects this
Navigable in the NavigableUIContainer.public java.lang.Class getTraversableClass()
MetaTraversableTraversable.
getTraversableClass in class MetaTraversablepublic boolean isUsingTraversableDefaultConstructor()
MetaTraversabletrue of the construction of the associated
Traversable uses its default constructor; returns
false if a constructor other than the default is
used.
isUsingTraversableDefaultConstructor in class MetaTraversableprotected boolean mayHaveChildren(NavigableContext nc)
NavigableNavigable may have
children such that a + may be shown next to it in the tree.
Implementations can override this when the result is known a priori and a
call to getChildNavigables() could be expensive. The test
should include detail Navigable instances as well if the
NavigableContext specifies that detail nodes should be shown
as children
mayHaveChildren in class Navigablenc - The NavigableContext used to determine the
context of the check
protected void appendChildNavigables(javax.swing.tree.DefaultMutableTreeNode parent,
NavigableContext nc)
NavigableNavigable.getChildNavigables() to get the list of
child Navigable objects. Then this method calls
appendChildNodes to append the child
Navigables to the specified parent.
appendChildNavigables in class Navigableparent - The node to which the child nodes will be added.nc - The NavigableContext in which this
Navigable should render the child tree nodes.
|
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 | |||||||||