Is there a bug with TableTreeViewer in eclipse 2.1 [message #371231] |
Wed, 25 June 2003 10:47 |
Eclipse User |
|
|
|
Originally posted by: michal.attunity.co.il
Hi
I have a working application that uses TableTreeViewer. After I moved to
Eclipse 2.1(and no code change was made) the next problem appeared:
Viewer.getTable().getItems[0] .getData() now return NULL !!!!! in Eclipse
2.0 it returns the object.
Is it a known bug that require me change in my implementation?
Thanks Michal
|
|
|
Re: Is there a bug with TableTreeViewer in eclipse 2.1 [message #371234 is a reply to message #371231] |
Wed, 25 June 2003 13:58 |
Eclipse User |
|
|
|
Originally posted by: veronika_irvine.oti.com
The use of "Viewer.getTable().getItems[0] .getData()" in previous releases
was an implementation detail - not something you should be accessing. The
implementation has since changed and may change again at any time. You
should NEVER reference the items within the Table that make up the
TableTree. Access to the Table is only provided for operations such as
creating columns or making headers visible.
Your code should be:
TableTreeItem item = viewer.getItems()[0];
"Michal" <michal@attunity.co.il> wrote in message
news:bdbr5f$lhj$1@rogue.oti.com...
> Hi
> I have a working application that uses TableTreeViewer. After I moved to
> Eclipse 2.1(and no code change was made) the next problem appeared:
>
> Viewer.getTable().getItems[0] .getData() now return NULL !!!!! in Eclipse
> 2.0 it returns the object.
>
> Is it a known bug that require me change in my implementation?
>
> Thanks Michal
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03052 seconds