public interface ITableWidget
Modifier and Type | Method and Description |
---|---|
void |
addRows(java.util.List<? extends EObject> newElements)
Add a new row in the table for each given element.
|
java.util.List<EObject> |
getSelectedRowEObjects() |
ITableCommandFactory |
getTableCommandFactory() |
void |
selectRows(java.util.List<EObject> elementsToSelect,
boolean clearTheSelection)
This method allows to select the rows representing the EObjects in the
table
|
void |
setFacetSets(java.util.List<? extends FacetSet> facetSets)
Set the facets in order to apply them on the table.
|
void addRows(java.util.List<? extends EObject> newElements)
newElements
- the list of elements to add to the tablevoid setFacetSets(java.util.List<? extends FacetSet> facetSets)
FacetReference
or FacetAttribute
are contained by those
facets, new columns FacetReferenceColumn
and
FacetAttributeColumn
are added to the table.facets
- the list of facets to be applied on the table.java.util.List<EObject> getSelectedRowEObjects()
ITableCommandFactory getTableCommandFactory()
void selectRows(java.util.List<EObject> elementsToSelect, boolean clearTheSelection)
elementsToSelect
- the elements to selectclearTheSelection
- indicates if the current selection should be cleared