de.cau.cs.kieler.sim.kiem.ui.views
Class KiemComponentEditing
java.lang.Object
org.eclipse.jface.viewers.EditingSupport
de.cau.cs.kieler.sim.kiem.ui.views.KiemComponentEditing
public class KiemComponentEditing
- extends EditingSupport
The Class KiemComponentEditing. It handles the editing support for DataComponentWrappers in the
DataComponentWrappers table of the KiemView. It basically only allows the modification of the enabled
tag of a DataComponentWrapper.
- Rating

- (2009-01-15)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KiemComponentEditing
public KiemComponentEditing(KiemView parentParam,
ColumnViewer viewer,
int columnIndexParam)
- Instantiates a new KiemComponentEditing. This is only used in the third column where the
check-box for enabling or disabling a DataComponent exists. For other columns this method
generates an error.
- Parameters:
parentParam
- the parentviewer
- the viewercolumnIndexParam
- 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