Class EMFTableAutoUpdateBuilder

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

public class EMFTableAutoUpdateBuilder extends Object
This class is used in EMFTable to set up row updates when EMF features change.
  • Method Details

    • autoUpdate

      public static <T> EMFTableAutoUpdateBuilder.FinalBuilder<T> autoUpdate(EMFTable<T> table, Consumer<com.amalgamasimulation.desktop.ui.internal.EMFTableAutoUpdater<T>> onBuild)
      Starts the setup for the table. build() passes a new updater to onBuild.
      Parameters:
      table - the table whose rows are updated
      onBuild - receives the new updater on build()
      Returns:
      builder object