Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » JFace Tree embed Table(Embedding a Table inside of a tree leaf node)
JFace Tree embed Table [message #541945] Wed, 23 June 2010 10:32 Go to next message
Steve Paulin is currently offline Steve PaulinFriend
Messages: 5
Registered: July 2009
Junior Member
I'm working on a design for a new view where there will be a key property concept (like the Eclipse Varaible view for debugging). However some data items(values) will be more complex and need to be displayed in a table. So the design I came up with would be something like

- Root
      Attr                       value
      Attr                       value
    - Table                   
                                      Attr    |   Attr    |    Attr
                                 row   val         val        val
                                 row   val         val        val
                                 row   val         val        val
      Attr                        value
    +Table
      Attr


So when the table nodes are expanded I would like to have a table displayed in the cell of the tree column. I've been searching and digging through code but can't seem to find a way to embed a widget inside of a table or tree.

So my questions are:
1. Is there a way to pull this off with SWT/JFace currently. I'm thinking yes since CellEditors can embed widgets into a cell. So why not a table for a non-cell editor.
2. If it isn't directly possible with SWT/JFace, how could it be achieved?

Thanks
steve
Re: JFace Tree embed Table [message #542151 is a reply to message #541945] Thu, 24 June 2010 06:07 Go to previous messageGo to next message
budili Missing name is currently offline budili Missing nameFriend
Messages: 64
Registered: May 2010
Member
Hi,

maybe helps this
Re: JFace Tree embed Table [message #542293 is a reply to message #542151] Thu, 24 June 2010 13:19 Go to previous message
Steve Paulin is currently offline Steve PaulinFriend
Messages: 5
Registered: July 2009
Junior Member
Not to clear on what that is showing. It looks like it is doing Editing through a different method but it doesn't appear to be adding widgets to a table cell. Am I missing something.

steve
Previous Topic:Getting TableViewerColumns from TableViewer reference?
Next Topic:Exporting RCP product
Goto Forum:
  


Current Time: Thu Apr 18 11:22:31 GMT 2024

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

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

Back to the top