Class EMFTableAutoUpdateBuilder
java.lang.Object
com.amalgamasimulation.desktop.ui.builders.EMFTableAutoUpdateBuilder
This class is used in
EMFTable to set up row updates when EMF features change.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> EMFTableAutoUpdateBuilder.FinalBuilder<T> autoUpdate(EMFTable<T> table, Consumer<com.amalgamasimulation.desktop.ui.internal.EMFTableAutoUpdater<T>> onBuild) Starts the setup for the table.
-
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 updatedonBuild- receives the new updater on build()- Returns:
- builder object
-