de.cau.cs.kieler.sim.kiem.ui.views
Class KiemPropertyEditing
java.lang.Object
org.eclipse.jface.viewers.EditingSupport
de.cau.cs.kieler.sim.kiem.ui.views.KiemPropertyEditing
public class KiemPropertyEditing
- extends EditingSupport
The Class KiemPropertyEditing. It handles the editing support for KiemProperties in the
DataComponentWrappers table of the KiemView.
- Rating

- (2009-01-15)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KiemPropertyEditing
public KiemPropertyEditing(KiemView parentParam,
ColumnViewer viewer,
int columnIndex)
- Instantiates a new KiemPropertyEditing for the tree. KiemProperty values are in the second
column (index 1) of the tree-table of DataComponentWrappers where the first column (index 0) holds
the KiemProperty key. Hence editing support for KiemProperties is only available for the
first, the value column. Otherwise an error is generated.
- Parameters:
parentParam
- the parent viewviewer
- the column viewercolumnIndex
- the column index
canEdit
protected boolean canEdit(Object element)
- Specified by:
canEdit
in class EditingSupport
getCellEditor
protected CellEditor getCellEditor(Object element)
- Specified by:
getCellEditor
in class EditingSupport
getValue
protected Object getValue(Object element)
- Specified by:
getValue
in class EditingSupport
setValue
protected void setValue(Object element,
Object value)
- Specified by:
setValue
in class EditingSupport