Class EMFTreeAutoUpdateBuilder

java.lang.Object
com.amalgamasimulation.desktop.ui.builders.EMFTreeAutoUpdateBuilder

public class EMFTreeAutoUpdateBuilder extends Object
Sets up row updates of an EMFTree when EMF features of the row objects change. The setup starts with EMFTree.autoUpdate().
  • 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 updated
      onBuild - receives the new updater on build()
      Returns:
      builder object