Skip to main content


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 08:15 Go to next message
Shikhar  is currently offline Shikhar Friend
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 08: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 05:08 Go to previous message
Eclipse UserFriend
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:Widgets in tables
Next Topic:Incorrect showItem behaviour (got problem with TreeViewerEditor)
Goto Forum:
  


Current Time: Thu Apr 25 02:21:19 GMT 2024

Powered by FUDForum. Page generated in 0.03558 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top