Class Trees
java.lang.Object
com.amalgamasimulation.desktop.ui.tables.Trees
The class responsible for creating trees.
- Author:
- Ionov Ivan
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class to set up the properties of a tree constructorstatic interfacestatic interfacestatic interfacestatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Trees.ParentBuilder<T, EditableTree<T>> Creates and returns a tree with editable data.static <T extends org.eclipse.emf.ecore.EObject>
Trees.ParentBuilder<T, EMFTree<T>> Creates and returns a tree with editable data and a special set of functions for editing EMF data (EObject).static <T> Trees.ParentBuilder<T, Tree<T>> Creates and returns a tree without the ability to edit data
-
Constructor Details
-
Trees
public Trees()
-
-
Method Details
-
readonly
Creates and returns a tree without the ability to edit data- Type Parameters:
T- type of row value- Parameters:
parentElements- List of parentElements to be shown in the tree- Returns:
- builder object
-
editable
Creates and returns a tree with editable data.- Type Parameters:
T- type of row value- Parameters:
parentElements- List of parentElements to be shown in the tree- Returns:
- builder object
-
emf
public static <T extends org.eclipse.emf.ecore.EObject> Trees.ParentBuilder<T,EMFTree<T>> emf(List<T> parentElements) Creates and returns a tree with editable data and a special set of functions for editing EMF data (EObject).- Type Parameters:
T- type of row value- Parameters:
parentElements- List of parentElements to be shown in the tree- Returns:
- builder object
-