org.netbeans.modules.projectuiapi/1 1.51.1 8

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.51.1 8

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.