EMF Show model attributes as rows in a table/tree [message #664261] |
Fri, 08 April 2011 02:38 |
Eclipse User |
|
|
|
Hello
I'm quite new to EMF and don't know if this question has been answered before - the keyword search didn't turn up much useful.
I have a model class with some 15 attributes, wich also contains references to other models with 10-15 attributes. I'd like to display this model in a tree viewer.
Now, I know how to create a tree viewer with 15 columns, and what to do to display one model in each row. But, I'd like to have 3 columns only (15 columns is not fun to work with).
What I'd like to have is 3 columns: property name, property value and some description text. How can I get EMF to provide the model attributes as children in a tree? Is there something I can do with the generated item providers, is there some EMF class ready to use for this or do I have to write something myself?
Thanks!
|
|
|
Powered by
FUDForum. Page generated in 0.07002 seconds