|
Re: newbie question: emf and osgi ?? [message #487013 is a reply to message #486999] |
Mon, 21 September 2009 13:24 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Eric,
Comments below.
Eric Geordi wrote:
> Hey guys,
>
> I am just getting started with EMF and was wondering if it is possible
> to use EMF to declare an osgi service (interface) that can then be
> implemented in another bundle.
Sure, you can mark an EClass's interface property to true so no Impl is
generated, and even if you generate an Impl, other models could extend
that Impl...
> Would I need to create another .ecore and .genmodel in the bundle
> defining the service ?
Yes, if you want the implementation to be a modeled object.
> What is the preferred way to do this ?
I imagine it might well be good to have a generated Impl to act as a
base and to have models that extend this...
>
> Thanks,
> Eric
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02995 seconds