addNode
void addNode(@NotNull
@NotNull String id,
@NotNull
@NotNull String name,
@NotNull
@NotNull String description,
@Nullable
@Nullable String parentId,
@NotNull
@NotNull NodeType nodeType,
boolean selectable)
Add a new node to this tree
- Parameters:
id - the unique id of the new node.
name - the name of the new node.
description - a description for this node.
parentId - the id of the parent node.
nodeType - the type of the node.
selectable - Whether this node can be selected as a data source.