Class TreeBinders
java.lang.Object
com.inductiveautomation.ignition.designer.mvvm.binders.swing.AbstractBinders
com.inductiveautomation.ignition.designer.mvvm.binders.swing.TreeBinders
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> voidsubmitDistinctWithAlignment(PropertyPublisher<BindableTreeNode<T>> root, PropertyPublisher<Set<BindableTreeNode<T>>> selection, PropertyPublisher<Set<BindableTreeNode<T>>> expanded, BindableTreeNode<T> rootCloned) When dealing with immutable nodes, this method will update the tree, while preserving the selected node, and nodes that have been expanded based on UUIDs.static <T> voidsubmitDistinctWithAlignmentMulti(PropertyPublisher<BindableTreeNode<T>> root, PropertyPublisher<Set<BindableTreeNode<T>>> selection, PropertyPublisher<Set<BindableTreeNode<T>>> expanded, BindableTreeNode<T> rootCloned) static <T> voidsubmitDistinctWithAlignmentSingle(PropertyPublisher<BindableTreeNode<T>> root, PropertyPublisher<BindableTreeNode<T>> selection, PropertyPublisher<Set<BindableTreeNode<T>>> expanded, BindableTreeNode<T> rootCloned) Methods inherited from class AbstractBinders
dispose, getContext
-
Method Details
-
submitDistinctWithAlignment
public static <T> void submitDistinctWithAlignment(PropertyPublisher<BindableTreeNode<T>> root, PropertyPublisher<Set<BindableTreeNode<T>>> selection, PropertyPublisher<Set<BindableTreeNode<T>>> expanded, BindableTreeNode<T> rootCloned) When dealing with immutable nodes, this method will update the tree, while preserving the selected node, and nodes that have been expanded based on UUIDs.- Parameters:
root- This is the property for the root nodeselection- This is the property for the selected nodeexpanded- This is the property for expanded nodesrootCloned- This is the updated cloned of theroot
-
submitDistinctWithAlignmentMulti
public static <T> void submitDistinctWithAlignmentMulti(PropertyPublisher<BindableTreeNode<T>> root, PropertyPublisher<Set<BindableTreeNode<T>>> selection, PropertyPublisher<Set<BindableTreeNode<T>>> expanded, BindableTreeNode<T> rootCloned) -
submitDistinctWithAlignmentSingle
public static <T> void submitDistinctWithAlignmentSingle(PropertyPublisher<BindableTreeNode<T>> root, PropertyPublisher<BindableTreeNode<T>> selection, PropertyPublisher<Set<BindableTreeNode<T>>> expanded, BindableTreeNode<T> rootCloned)
-