[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-swt-dev] Subclass of ITableLableProvider needed
|
Marion,
Please file a feature request in bugzilla against Platform-UI.
Thanks,
Nick Edgar
Marion Schwarz <marion.schwarz@xxxxxxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx
10/16/2003 10:27 AM
Please respond to platform-swt-dev
To: platform-swt-dev@xxxxxxxxxxx
cc:
Subject: [platform-swt-dev] Subclass of ITableLableProvider
needed
Hi,
since a table can have checkboxes in its first columns, I would like
to suggest a subclass of ITableLableProvider called
ICheckboxTableLableProvider which defines a method
"public boolean getColumnCheck(Object element, int columnIndex)" or
likewise.
In order to make this work there need also be a modification in class
CheckboxTableViewer where an alternate method
doUpdateItem() sets these values (true or false) in the checkbox column.
And last but not least, to make these settings last until the table is
displayed, maybe you could give another thought
to the fact that the method TableViewer.inputChanged leads to preserving
all old selections in CheckboxTableViewer instead
of refreshing them with the current values. So maybe this method should
also be overwritten by the CheckboxTableViewe.
Looking forward to your response.
:-) Marion
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev