| Factory interface for distributed creation of project node's children. Implementation
instances are assumed to be registered in layers at a location specific for the particular
project type. Project types wanting to make use of NodeFactory can use the
org.netbeans.spi.project.ui.support.NodeFactorySupport.createCompositeChildren method to create the Project nodes's children.
public class FooBarLogicalViewProvider implements LogicalViewProvider {
public Node createLogicalView() {
return new FooBarRootNode(NodeFactorySupport.createCompositeChildren(myProject, "Projects/org-foo-bar-project/Nodes"));
}
}
author: RichUnger since: org.netbeans.modules.projectuiapi/1 1.18 |