Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Adding "GrandChild" feature to ItemProvider
Adding "GrandChild" feature to ItemProvider [message #653818] Fri, 11 February 2011 12:04 Go to next message
Giovanni De Sossi is currently offline Giovanni De SossiFriend
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

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] Sat, 12 February 2011 02:19 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
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.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Adding "GrandChild" feature to ItemProvider [message #654145 is a reply to message #653954] Mon, 14 February 2011 11:31 Go to previous message
Giovanni De Sossi is currently offline Giovanni De SossiFriend
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

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: Thu Apr 18 08:47:05 GMT 2024

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

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

Back to the top