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: 33141
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.
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO] custom data type/Class cast exception on notification
Next Topic:How to remove a transaction from TransactionalEditingDomain
Goto Forum:
  


Current Time: Thu Apr 25 23:57:54 GMT 2024

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

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

Back to the top