Extension SDK

oracle.jdeveloper.model
Class JProjectSettings.DependenciesNavigable

java.lang.Object
  extended byoracle.ide.panels.MetaTraversable
      extended byoracle.ide.panels.Navigable
          extended byoracle.jdeveloper.model.JProjectSettings.DependenciesNavigable
All Implemented Interfaces:
Copyable, Displayable
Enclosing class:
JProjectSettings

public static class JProjectSettings.DependenciesNavigable
extends Navigable

Need to override the dependencies navigable in order to avoid showing the dependencies panel for the default project.


Nested Class Summary
 
Nested classes inherited from class oracle.ide.panels.Navigable
Navigable.NavigableComparator
 
Field Summary
 
Fields inherited from class oracle.ide.panels.Navigable
BOLD, DEFAULT_CHILD_COMPARATOR_KEY, ITALIC, NAVIGABLE_COMPARATOR, PLAIN
 
Constructor Summary
JProjectSettings.DependenciesNavigable()
           
 
Method Summary
 javax.swing.tree.DefaultMutableTreeNode createTreeNode(NavigableContext nc)
          This method constructs a DefaultMutableTreeNode that is to represent the Navigable in the tree; in general, only NavigableUIContainer implementations should call this method directly.
 
Methods inherited from class oracle.ide.panels.Navigable
addChildNavigable, appendChildNavigables, appendChildNodes, appendDetailNavigables, copyTo, copyToImpl, createDetailRootNode, createTreeNodeImpl, getChildComparator, getChildNavigables, getDetailNavigables, getDisplayStyle, getIcon, getLongLabel, getShortLabel, getToolTipText, setChildComparator, setChildComparator, setChildNavigables, setDataScope, setDisplayStyle, setShortLabel, sortNavigables
 
Methods inherited from class oracle.ide.panels.MetaTraversable
copyToImpl, getTraversableClass, isUsingTraversableDefaultConstructor, newTraversable, newTraversable, setHelpID, setNameLink
 
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
toString
 

Constructor Detail

JProjectSettings.DependenciesNavigable

public JProjectSettings.DependenciesNavigable()
Method Detail

createTreeNode

public javax.swing.tree.DefaultMutableTreeNode createTreeNode(NavigableContext nc)
Description copied from class: Navigable
This method constructs a DefaultMutableTreeNode that is to represent the Navigable in the tree; in general, only NavigableUIContainer implementations should call this method directly. Subclasses may, of course, override the behavior.

The user object of the returned tree node (and all its descendant nodes) must be an instance of Navigable.

If the return value is null, the Navigable is omitted from the tree.

Note: this method returns DefaultMutableTreeNode instead of just MutableTreeNode because the getUserObject(...) method is not specified by MutableTreeNode.

Overrides:
createTreeNode in class Navigable
Parameters:
nc - The NavigableContext in which this Navigable should render the tree node.
Returns:
The tree node which is to represent this Navigable.

Extension SDK

 

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