和TextCellEditor不同, CheckboxCellEditor不会创建Control.
/**
* Note that this implementation simply fakes it and does does not create
* any new controls.
*/
创建CheckboxCellEditor只需
new CheckboxCellEditor(null, SWT.CHECK)
CheckboxCellEditor通过LableProvider来显示值被改变。
//根据element的值返回不同的图片。
ITableLabelProvider.getColumnImage(Object element, int columnIndex)
点击cell时, CheckboxCellEditor会将值取反。
public void activate() {
value = !value;
fireApplyEditorValue();
}