cern::gp::nodes::GPNode Interface Reference

Inheritance diagram for cern::gp::nodes::GPNode:
Inheritance graph
[legend]

List of all members.

Public Member Functions

String getName ()
Object getBean ()
boolean isLeaf ()
NodeCollection getNodeCollection ()
GPNode getParent ()
Node getPeerNode ()

Detailed Description

A class implementing this interface is a node that extends the concept of beans. A node is a bean that can have children. The children (a NodeCollection) are managed by a ChildrenManager.

GPNode is the same concept as Node in NetBeans, but wraps the API to make easier to understand and use.

See also:
org.openide.nodes.Node
NodeFactory
cern.gp.nodes.children.NodeCollection
Version:
Revision
1.2
Date
2006/09/25 08:52:36
Author:
Lionel Mestre

Member Function Documentation

Object cern::gp::nodes::GPNode::getBean (  ) 
String cern::gp::nodes::GPNode::getName (  ) 
NodeCollection cern::gp::nodes::GPNode::getNodeCollection (  ) 
GPNode cern::gp::nodes::GPNode::getParent (  ) 

Returns the parent node of this node. A node has a parent node if it is member of the children of that node. If this node has no parent (it is a root node), null is returned.

Parameters:
the parent node of this node or null

Implemented in cern::gp::nodes::impl::GPBeanNode, and cern::gp::nodes::impl::GPFilterNode.

Referenced by cern::gp::nodes::impl::GPFilterNode::getParent(), cern::gp::nodes::impl::NodeUtils::haveOneCommonParent(), cern::laser::guiplatform::actions::category::CategoryCopyAllOverNodesAction::performAction(), and cern::laser::guiplatform::windows::user::UserExplorer::removeConfiguration().

Node cern::gp::nodes::GPNode::getPeerNode (  ) 

Returns the NetBeans nodes representing this node

Parameters:
the NetBeans nodes representing this node

Implemented in cern::gp::nodes::impl::GPBeanNode, and cern::gp::nodes::impl::GPFilterNode.

Referenced by cern::laser::guiplatform::windows::user::UserExplorer::ConfigurationNodeManger::addConfiguration(), cern::gp::nodes::children::ChildrenFactory::SortedMapChildren::addNode(), cern::gp::nodes::children::ChildrenFactory::MapChildren::addNode(), cern::gp::nodes::children::ChildrenFactory::SortedArrayChildren::addNode(), cern::gp::nodes::children::ChildrenFactory::ArrayChildren::addNode(), cern::gp::nodes::children::ChildrenFactory::convertGPNodeArrayToNodeArray(), cern::gp::nodes::impl::GPFilterNode::getPeerNode(), cern::gp::nodes::impl::GPFilterNode::GPFilterNode(), cern::laser::guiplatform::windows::user::UserExplorer::initializeExplorer(), cern::gp::explorer::properties::PropertyDialog::PropertyDialog(), cern::gp::explorer::properties::PropertyField::PropertyField(), cern::laser::guiplatform::windows::category::ChoosenCategoryExplorer::ChoosenCategoryNodeManager::removeCategory(), cern::laser::guiplatform::windows::user::UserExplorer::ConfigurationNodeManger::removeConfiguration(), cern::laser::guiplatform::windows::filter::CreatedFiltersExplorer::CreatedFiltersNodeManager::removeFilter(), cern::gp::nodes::children::ChildrenFactory::SortedArrayChildren::removeNode(), cern::gp::nodes::children::ChildrenFactory::ArrayChildren::removeNode(), cern::gp::explorer::properties::ReversiblePropertyField::ReversiblePropertyField(), cern::gp::explorer::TreeExplorer::setRootNode(), cern::gp::explorer::MultiListExplorer::setRootNode(), cern::gp::explorer::GPListExplorerPanel::setRootNode(), and cern::gp::explorer::TableHolderImpl::setTableColumns().

boolean cern::gp::nodes::GPNode::isLeaf (  ) 

Test whether the node is a leaf, or may contain children.

Returns:
true if the children list is actually Children.LEAF

The documentation for this interface was generated from the following file:

Generated by  doxygen 1.6.2