Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [Eugenia] Generating common super edit parts(Common operations for EditParts )
[Eugenia] Generating common super edit parts [message #1058204] Mon, 13 May 2013 08:28 Go to next message
Kaspar  von Gunten is currently offline Kaspar von GuntenFriend
Messages: 21
Registered: July 2009
Junior Member
Hi all

when using EMF/EMFatic we're modeling our domain with a class hierarchy, i.e. we have domain elements that have a supertype.

class File extends Resource {}
class Folder extends Resource {}


On the diagram side, this hierarchy is not generated for the diagram's edit parts, but this would be tremendously helpful, when implementing common diagram behavior (i.e. to find/select all elements of a specific type).

How can we best achieve this?

Thanks for your help,
Kaspar

[Updated on: Mon, 13 May 2013 08:29]

Report message to a moderator

Re: [Eugenia] Generating common super edit parts [message #1058238 is a reply to message #1058204] Mon, 13 May 2013 10:17 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2162
Registered: July 2009
Location: York, UK
Senior Member

Hi Kaspar,

I may be wrong but I'm afraid it's GMF that's flattening the class hierarchy (possibly to deal with potential multiple inheritance which is permitted in Ecore but not in Java), so there's not much Eugenia can do about this.

Cheers,
Dimitris
Previous Topic:Using EOL and EVL
Next Topic:ETL equivalents performance
Goto Forum:
  


Current Time: Fri Apr 19 06:28:26 GMT 2024

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

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

Back to the top