Decoration layer over EMF [message #950094] |
Fri, 19 October 2012 12:29  |
Eclipse User |
|
|
|
Hi all,
I'm working on a program that saves the data using EMF according to the model, and the view is based on a different model.
My original thought was to build a decoration layer between the two that will translate the formation. The problem is I'm trying to use the same interfaces from the EMF, but there I have things like EList and all interfaces are EOject.
Is there any way not expose EList? just List? And maybe to create interfaces that are not necessarily extend EOject?
I'm kind of new for this world, any help will be appreciated.
Thank you
|
|
|
|
|
Re: Decoration layer over EMF [message #951136 is a reply to message #951074] |
Sat, 20 October 2012 08:37  |
Eclipse User |
|
|
|
Eyal,
Set the Root Extends Interface to the empty string.
On 20/10/2012 1:26 PM, Eyal Heinemann wrote:
> Thanks that did the trick for the first part,
> But I also have an interface which I don't want it to inherit EObject
> interface, is that possible?
> in specific this interface inherits two interfaces and each inherits
> EObject. In order to use this interface out of the EMF I need it not
> to have the those methods for me to implement.
>
> or maybe i'm barking the wrong tree?!
>
> Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.15426 seconds