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