|
Re: EMF Based Master Details : Grouping [message #755347 is a reply to message #755322] |
Tue, 08 November 2011 08:37 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Murthy,
The book has a section describing how to introduce intermediate
objects. It's also been explained on the newsgroup a few times, so you
could try searching for that.
On 08/11/2011 8:16 AM, Murthybhat wrote:
> Hello,
>
> I have an EMF based model which contains a Root model. The root model
> then contains lists of difference types of Objects. an example looks
> like the one below:
>
> Model
> -Root
> --List<ObjectA>
> ---A1
> ---A2 --List<ObjectB>
> ---B1
> ---B2
> ---B3
> -ClassA
> -ClassB
>
> I have created a Master details page for editing this model using some
> samples. It uses 'AdapterFactoryContentProvider' and
> 'AdapterFactoryLabelProvider' for display.
> Though all the model elements are displayed, they all appear in
> sequential order without any parent child grouping. I would like to
> have the viewer in the form displayed above where I could only have
> actions like 'AddChild' to the list object and avoid actions like
> 'AddSibling'. Could someone please help me out?
>
> Thanks in advance for help.
>
> Thanks,
> Murthy
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03335 seconds