Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Inheriting from a Class' interface
Inheriting from a Class' interface [message #755292] Mon, 07 November 2011 23:25 Go to next message
Michael Spertus is currently offline Michael SpertusFriend
Messages: 78
Registered: July 2009
Member
When I have an EMF class C, EMF generates both an interface C and an implementation CImpl. Occasionally, I would like a different EMF class D to implement C, but not extend CImpl. I know I could do this with @implements in the code, but I would like to express this in the model. Is there a way to do that?

Thanks,

Mike
Re: Inheriting from a Class' interface [message #755299 is a reply to message #755292] Mon, 07 November 2011 23:53 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Mike,

Comments below.

On 08/11/2011 12:25 AM, Michael Spertus wrote:
> When I have an EMF class C, EMF generates both an interface C and an
> implementation CImpl. Occasionally, I would like a different EMF class
> D to implement C, but not extend CImpl.
Why?
> I know I could do this with @implements in the code, but I would like
> to express this in the model.
Why?
> Is there a way to do that?
Not really.
>
> Thanks,
>
> Mike


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:EMF and Xpath
Next Topic:Should a I model multiple inheritance in my ECORE model
Goto Forum:
  


Current Time: Fri Apr 26 16:22:50 GMT 2024

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

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

Back to the top