Skip to main content

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 06:38
Martin Domig is currently offline Martin DomigFriend
Messages: 12
Registered: August 2010
Junior Member

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?

Previous Topic:[EGF] Problems with egfbuild example
Next Topic:XMI saving is very slow...
Goto Forum:

Current Time: Wed Sep 28 10:01:43 GMT 2022

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