Static Public Member Functions | |
static GPNode[] | copyToNewGPNodeArray (GPNode[] origNodes) |
static boolean | haveOneCommonParent (final GPNode[] nodes) |
static GPNode[] | cloneNodes (GPNode[] origNodes) |
,
a method that creates a new array of GPNodes with copies of the original GPNodes The domain beans associated with the GPNodes are not copied.
origNodes | the array of nodes to be cloned |
creates an array of new GPNode objects without from the origNodes. Use this in case you need to "cut" the children below your nodes for some reason, e.g. because you want to display a list of children in a Tree
origNodes | the nodes with children that need to be cut off |
static boolean cern.gp.nodes.impl.NodeUtils.haveOneCommonParent | ( | final GPNode[] | nodes | ) | [static] |
checks whether the nodes in the array all have a common parent
References cern.gp.nodes.GPNode.getParent().