Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EEF] Recipe for incorporating common subclasses
[EEF] Recipe for incorporating common subclasses [message #622241] Thu, 25 February 2010 20:02
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
One more recipe request..

I'm not sure how to deal with the case where I have a hierarchy of editing components. EMF.Edit creates a matching hierarchical structure for the inheritance sub-tree -- not the full tree of course because Java doesn't support multiple inheritance. But even having some inheritance makes it much easier to maintain common code.

1. Is there a way to get abstract sub-classes generated and used that I'm not seeing?

2. If not, what is the pattern for doing this? Looking at Wiki it looks like I should be using View References, but somehow that isn't quite working. I've tried creating a View Reference that refers to a properties edition component for the super class, but that doesn't seem to be working. Is there some kind of glue code that I need here as well?

thanks,

Miles
Previous Topic:[EEF] EEF architecture generation failed
Next Topic:[EEF] Recipe for incorporating related views
Goto Forum:
  


Current Time: Sat Sep 21 11:54:14 GMT 2024

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

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

Back to the top