|Combo dropdown editor in TableTree [message #445376]
||Thu, 04 November 2004 15:29
| Rajeev Sudra
Registered: July 2009
I am trying to include a Combo drop down editor for an item in a TableTreeViewer. The TableTreeViewer actually only contains a single column with a tree in it (it is only used to really navigate and hide components in graphical viewer so could have just used a tree but like the table lines). If the tree contains the following:
+ Item 3
I would a combo box to appear in where the * is. Although the model passed to the TableTreeViewer only contains 4 items, I want a combo box to be append after the very last entry in the table. The combo box will be populated to add additional items to the model (and through refreshing) update the visual display, pushing the combo box down appropriately.
The question is how do it do it? Let me ask some specifics to help break the problem down:
- I suppose I need a listener of some kind after traversing the model with the content providers help to add some type of dummy value used to insert a combo box. Does this sound right, any suggestions on how to implement this?
- I need to include a combo append the combo box after the last entry in the TableTree (Which are just rendered as labels - no special cell editors on any of the items beyond the special combo box item).
Any help that you can provide would be great.
Thanks in advance.
Powered by FUDForum
. Page generated in 0.01885 seconds