[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.nebula] Re: Grid: setting checked state of the item according to the model

At least please file a bugzilla and then one who has time can work on it.

Tom

Stanislav Vodetskyi schrieb:
> I managed to overcome this by extending GridTableViewer and doing the
> job in doUpdateItem(). However, my solution is hardcoded to work with my
> model. I'd like  (and I think we all would like) to have a generic
> approach, something similar to a CheckboxTableViewer for default SWT
> table. The one problem that doesn't allow to simply copy the code of the
> CheckboxTableViewer is that grid can have any column checkable. I think
> CheckboxGridTableViewer should differ in the setCheckStateProvider(),
> allowing to set them for different GridViewerColumns, and in
> doUpdateItem(), where we need to check all checkStateProviders that were
> set and check/uncheck item at necessary indices.
> 
> I'd like to write and contribute this stuff, but I fear I won't be able
> to find time for this, so if anybody want to help me and all the Nebula
> community will greatly appreciate this.
> 
> Regards,
> Stanislav
>