Skip to main content



      Home
Home » Modeling » EMF » Adding "GrandChild" feature to ItemProvider
Adding "GrandChild" feature to ItemProvider [message #653818] Fri, 11 February 2011 07:04 Go to next message
Eclipse UserFriend
Hi all,

I need to display a grandchild structural feature as a child of grandparent (i.e. I need to "skip" a level):

From this view:

GrandParent
|_Child features
|_GrandChild feature

to this:

GrandParent
|_GrandChild feature

How can I reach this goal?

Thanks,
Giovanni.
Re: Adding "GrandChild" feature to ItemProvider [message #653954 is a reply to message #653818] Fri, 11 February 2011 21:19 Go to previous messageGo to next message
Eclipse UserFriend
Giovanni,

The EMF book shows how to do this. I'm pretty sure if you search the
forum/newsgroup history, you'll find answers there as well.


Giovanni De Sossi wrote:
> Hi all,
>
> I need to display a grandchild structural feature as a child of
> grandparent (i.e. I need to "skip" a level):
>
> From this view:
>
> GrandParent
> |_Child features |_GrandChild feature
>
> to this:
>
> GrandParent
> |_GrandChild feature
>
> How can I reach this goal?
>
> Thanks,
> Giovanni.
Re: Adding "GrandChild" feature to ItemProvider [message #654145 is a reply to message #653954] Mon, 14 February 2011 06:31 Go to previous message
Eclipse UserFriend
Hi Ed,

thank you for your quick answer, as usual.

I modified the getChildren method in the parent object and the getParent method in the grandchild object accordingly, it works.


Regards,
Giovanni.
Previous Topic:[Teneo] String fields mapping (problem with ntext/varchar)
Next Topic:Re: CDO Repository Server Reconnect Failure
Goto Forum:
  


Current Time: Mon Jul 07 16:31:57 EDT 2025

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

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

Back to the top