Interface EMFTreeAutoUpdateBuilder.FinalBuilder<T>
- Enclosing class:
EMFTreeAutoUpdateBuilder
public static interface EMFTreeAutoUpdateBuilder.FinalBuilder<T>
The settings of row updates, all optional, and build().
-
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 tree only to the rows visible on the screen in expanded nodes.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
EMFTreeAutoUpdateBuilder.FinalBuilder<T> features(org.eclipse.emf.ecore.EStructuralFeature... features) Sets the features whose changes update a row. They replace the features of the column editors. With no features or null, only the paths are tracked.- Parameters:
features- features of the row object- Returns:
- builder object
-
path
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
EMFTreeAutoUpdateBuilder.FinalBuilder<T> onlyVisible()Subscribes the tree only to the rows visible on the screen in expanded nodes. Use it for large trees.- Returns:
- builder object
-
build
Finishes the setup. A new setup replaces the previous one. Added and removed nodes are not tracked.- Returns:
- the tree
-