Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Ecore Tools » EMF Show model attributes as rows in a table/tree
icon5.gif  EMF Show model attributes as rows in a table/tree [message #664261] Fri, 08 April 2011 02:38
Martin Domig is currently offline Martin Domig
Messages: 12
Registered: August 2010
Junior Member
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!
Previous Topic:[EGF] Problems with egfbuild example
Next Topic:XMI saving is very slow...
Goto Forum:
  


Current Time: Tue Jul 29 00:53:15 EDT 2014

Powered by FUDForum. Page generated in 0.05536 seconds