Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Using EditingSupport Class with the table viewer(making combo boxes visible throughout)
Using EditingSupport Class with the table viewer [message #540730] Thu, 17 June 2010 04:15 Go to next message
Shikhar  is currently offline Shikhar
Messages: 1
Registered: June 2010
Junior Member
Hello Developers,

I have a class that has extended EditingSupport class in order to provide row-wise combo boxes. However the problem is the combo box is only displayed when I click on the field.
An example would be
http://www.vogella.de/articles/EclipseJFaceTable/article.htm l#jfaceeditor

If you scroll down to the next figure, you will see a gender combo only when the user clicks on the specified cell and not by default.

I want the combo to stay there always. Is it possible

[Updated on: Thu, 17 June 2010 04:36]

Report message to a moderator

Re: Using EditingSupport Class with the table viewer [message #541419 is a reply to message #540730] Mon, 21 June 2010 01:08 Go to previous message
Eclipse User
Originally posted by: gemaspecial.yahoo.com.hk

On 6/17/2010 4:15 PM, Shikhar wrote:
> Hello Developers,
>
> I have a class that has extended EditingSupport class in order to
> provide row-wise combo boxes. However the problem is the combo box is
> only displayed when I click on the field.
> An example would be
> Eclipse JFace TableViewer - Tutorial
> If you scroll down to the next figure, you will see a gender combo only
> when the user clicks on the specified cell and not by default.
>
> I want the combo to stay there always. Is it possible


I think it is the deliberate design to avoid duplicating combobox
resources. As the user will use one combo at a time, there is no point
to initialize every row a combo.

I believe you just want the cell "looks like" a combo. How about you
make your self-draw label renderer just for that cell?
Previous Topic:Incorrect showItem behaviour (got problem with TreeViewerEditor)
Next Topic:Treeviewer cuts of last pixel of last letter
Goto Forum:
  


Current Time: Tue Sep 02 15:12:03 EDT 2014

Powered by FUDForum. Page generated in 0.02013 seconds