[EEF] Recipe for incorporating common subclasses [message #622241] |
Thu, 25 February 2010 20:02 |
Miles Parker 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
|
|
|
Powered by
FUDForum. Page generated in 0.03284 seconds