public class TableComponentCellEditingSupport
extends org.eclipse.jface.viewers.EditingSupport
TableComponentComposite
's JFace table.
Each column in the table needs its own instance of this editing support with
the correct column index. Each row in the table is a List
, whose
elements are instances of Entry
.
The behavior below describes typical usage for this class:
List<Entry
).Entry
in the list is determined by the index specified at
construction.EntryCellEditingSupport
.
Thus, this editing support effectively wraps the underlying Entry
editing support so that it can be re-used across the entire viewer.
Constructor and Description |
---|
TableComponentCellEditingSupport(org.eclipse.jface.viewers.ColumnViewer viewer,
EntryCellEditingSupport realEditingSupport,
int index)
The default constructor.
|
public TableComponentCellEditingSupport(org.eclipse.jface.viewers.ColumnViewer viewer, EntryCellEditingSupport realEditingSupport, int index)
viewer
- The JFace viewer for which editing capabilities are desired.realEditingSupport
- The real, underlying editing support used to edit the cells in
the JFace viewer.index
- The column's index. This is used to pass along the correct
element from the input list to the underlying editing support.