Using setData when there is a viewer [message #452728] |
Wed, 23 March 2005 15:54 |
Eclipse User |
|
|
|
Originally posted by: mchin.ll.mit.edu
Hi,
I have a TableTreeViewer, whose input is set to
some data model which is comprised of different
types of objects. When a user clicks on a cell
I would like to get the type of object that the
displayed text came from. So the perfect place
to store this information seems to be to use setData()
on each TableItem. If this is the right track,
how do I do that if all I needed to provide the
viewer is the starting point of the data model,
which by the way, is displaying the data, but now
I need to do specific things depending on which
object/row/cell the user clicks on...
Thank you in advance.
Mel
|
|
|
Powered by
FUDForum. Page generated in 0.02689 seconds