Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Editing in TreeViewer
Editing in TreeViewer [message #1764459] Tue, 30 May 2017 07:31
Alexander Fichtinger is currently offline Alexander FichtingerFriend
Messages: 62
Registered: January 2013
Member
Hey guys! =)

We have a TreeViewer with 4 columns .
The first column displays the name of an object, and the other 3 columns display the configuration for this object.

It looks like this:


NAME | ACTIVE | SEVERITY | TYPE

someObject | true | INFO | someType
anotherObj | false | ERROR | anotherType


Now the problem is this:
If we want to change the severity of "anotherObj" for example we have to click on "anotherObj" first. Then we can change the value of the severity column.

Is this a restriction of the TreeViewer or the SWT tree, that you have to select a row, in order to edit values in it?

Or are we doing something wrong?

Thanks for any help =)
Previous Topic:Custom Control in menu item
Next Topic:How to add custom tooltip to ColumnLabelProvider?
Goto Forum:
  


Current Time: Tue Sep 25 12:37:11 GMT 2018

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

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

Back to the top