Search in sources :

Example 1 with TreeNodeImpl

use of org.glassfish.flashlight.datatree.impl.TreeNodeImpl in project Payara by payara.

the class TreeNodeFactory method createTreeNode.

public static TreeNode createTreeNode(String name, Object instance, String category) {
    TreeNode tn = new TreeNodeImpl(name, category);
    tn.setEnabled(true);
    return tn;
}
Also used : TreeNodeImpl(org.glassfish.flashlight.datatree.impl.TreeNodeImpl) TreeNode(org.glassfish.flashlight.datatree.TreeNode)

Aggregations

TreeNode (org.glassfish.flashlight.datatree.TreeNode)1 TreeNodeImpl (org.glassfish.flashlight.datatree.impl.TreeNodeImpl)1