Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF: Pupulating ordered list of "scatterd" items
EMF: Pupulating ordered list of "scatterd" items [message #1623830] Thu, 19 February 2015 10:57 Go to next message
Morten MacFly is currently offline Morten MacFlyFriend
Messages: 69
Registered: July 2009
Member
Dear all,

I have an EMF model that by logic hosts several items on different
locations in the tree. I would like to have an overview of these items
in a list of references that should be automaticaly popolated.

My idea was to define an interface for these items and then create a
tree node conatining references to this type as "rea-only". Then
populating the list by "hand-crafted" code.

Is this a meaningful approach or would there be a better option to
achive such?

Thanks in advance for any help,

Morten.
Re: EMF: Pupulating ordered list of "scatterd" items [message #1624630 is a reply to message #1623830] Thu, 19 February 2015 23:03 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30132
Registered: July 2009
Senior Member
Morten,

Perhaps something somewhat similar in Ecore itself is how
EClass.eSuperTypes is derived from EClass.eGenericSuperTypes, although
in this case it's not read-only...


On 19.02.2015 11:57, Morten MacFly wrote:
> Dear all,
>
> I have an EMF model that by logic hosts several items on different
> locations in the tree. I would like to have an overview of these items
> in a list of references that should be automaticaly popolated.
>
> My idea was to define an interface for these items and then create a
> tree node conatining references to this type as "rea-only". Then
> populating the list by "hand-crafted" code.
>
> Is this a meaningful approach or would there be a better option to
> achive such?
>
> Thanks in advance for any help,
>
> Morten.
>
Previous Topic:[CDO] custom data type/Class cast exception on notification
Next Topic:How to remove a transaction from TransactionalEditingDomain
Goto Forum:
  


Current Time: Mon May 20 19:40:17 GMT 2019

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

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

Back to the top