Class EMFTreeAutoUpdateBuilder
java.lang.Object
com.amalgamasimulation.desktop.ui.builders.EMFTreeAutoUpdateBuilder
Sets up row updates of an EMFTree when EMF features of the row objects change. The setup starts
with EMFTree.autoUpdate().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe settings of row updates, all optional, and build(). -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> EMFTreeAutoUpdateBuilder.FinalBuilder<T> autoUpdate(EMFTree<T> tree, Consumer<com.amalgamasimulation.desktop.ui.internal.EMFTreeAutoUpdater<T>> onBuild) Starts the setup for the tree.
-
Method Details
-
autoUpdate
public static <T> EMFTreeAutoUpdateBuilder.FinalBuilder<T> autoUpdate(EMFTree<T> tree, Consumer<com.amalgamasimulation.desktop.ui.internal.EMFTreeAutoUpdater<T>> onBuild) Starts the setup for the tree. build() passes a new updater to onBuild.- Parameters:
tree- the tree whose rows are updatedonBuild- receives the new updater on build()- Returns:
- builder object
-