站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

NodeFactorySupport (Project UI API) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.projectuiapi/1 1.24.0 6

org.netbeans.spi.project.ui.support
Class NodeFactorySupport

java.lang.Object
  extended by org.netbeans.spi.project.ui.support.NodeFactorySupport

public class NodeFactorySupport
extends Object

Support class for creating Project node's children nodes from NodeFactory instances in layers.

Since:
org.netbeans.modules.projectuiapi/1 1.18

Method Summary
static Children createCompositeChildren(Project project, String folderPath)
          Creates children list that works on top of NodeFactory instances in layers.
static NodeList fixedNodeList(Node... nodes)
          Utility method for creating a non variable NodeList instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createCompositeChildren

public static Children createCompositeChildren(Project project,
                                               String folderPath)
Creates children list that works on top of NodeFactory instances in layers.

Parameters:
project - the project which is being displayed
folderPath - the path in the System Filesystem that is used as root for subnode composition. The content of the folder is assumed to be NodeFactory instances
Returns:
a new children list

fixedNodeList

public static NodeList fixedNodeList(Node... nodes)
Utility method for creating a non variable NodeList instance.

Parameters:
nodes - a fixed set of nodes to display
Returns:
a constant node list

org.netbeans.modules.projectuiapi/1 1.24.0 6

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.