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 04:28 Go to next message
Kaspar  von Gunten is currently offline Kaspar von Gunten
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 04: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 06:17 Go to previous message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 794
Registered: July 2009
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: Wed Jul 23 18:18:28 EDT 2014

Powered by FUDForum. Page generated in 0.01512 seconds