Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] items in a table required?

That would be nice. I mean, I've added a bunch of event listener's on the table cursor, so when all items on a table are removed, i have to remove the tablecursor + clean up the event listeners. Is there a way to clear the table cursor to not appear when table items have been removed from the table?

Mike Wilson wrote:


Perhaps we could handle the case anyway?

McQ.




	*Veronika Irvine/Ottawa/IBM@IBMCA*
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

23/07/03 08:37
Please respond to platform-swt-dev

To: platform-swt-dev@xxxxxxxxxxx cc: Subject: Re: [platform-swt-dev] items in a table required?




Do not create the TableCursor until you have created a TableItem.





Minh Chiem <minhchiem@xxxxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx
07/22/2003 09:20 PM
Please respond to platform-swt-dev

       To:     platform-swt-dev@xxxxxxxxxxx
       cc:
       Subject:        [platform-swt-dev] items in a table required?


I've create a table with a cursor table. The thing is that initially,
there are no items in the table but when I try to resize the columns,
the app crashes. It seems that the table cursor has 2 private attribues,
row and column. They are intialised to 0 and when the column is resized,
the table cursor tries to resize by getting the size of the table item
by calling table.getItem(row) or something along those lines. anyway, it
throws an IllegalArgumentException which is bad.

is there going to be a fix for this?

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev


_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev





Back to the top