Interface EMFTableAutoUpdateBuilder.FinalBuilder<T>
- Enclosing class:
EMFTableAutoUpdateBuilder
public static interface EMFTableAutoUpdateBuilder.FinalBuilder<T>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Finishes the setup.features(org.eclipse.emf.ecore.EStructuralFeature... features) Sets the features whose changes update a row.Subscribes the table only to the rows visible on the screen, so there are as many subscriptions as visible rows.path(org.eclipse.emf.ecore.EStructuralFeature... features) Adds a path from the row object to another object, for example path(parent, name) for the name of the parent.
-
Method Details
-
features
EMFTableAutoUpdateBuilder.FinalBuilder<T> features(org.eclipse.emf.ecore.EStructuralFeature... features) Sets the features whose changes update a row. They replace the features collected from the column editors. A column without an editor is updated only if its feature is listed here.- Parameters:
features- features of the row object- Returns:
- builder object
-
path
EMFTableAutoUpdateBuilder.FinalBuilder<T> path(org.eclipse.emf.ecore.EStructuralFeature... features) Adds a path from the row object to another object, for example path(parent, name) for the name of the parent. A change of any link of the path updates the row.- Parameters:
features- the links of the path, from the row object on- Returns:
- builder object
-
onlyVisible
EMFTableAutoUpdateBuilder.FinalBuilder<T> onlyVisible()Subscribes the table only to the rows visible on the screen, so there are as many subscriptions as visible rows. Use it for large tables.- Returns:
- builder object
-
build
Finishes the setup. A new setup replaces the previous one.- Returns:
- the table
-