|
Re: How to change a java model [message #423560 is a reply to message #423546] |
Thu, 02 October 2008 11:52 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Kim,
Comments below.
Kim Myoungki wrote:
> hi.
> I'm a newbie of this area. I think it is very simple question.
>
> I made a simple java annotated class for emf enum class, and generated
> emf model. After that, I have to change the enum class but the
> original source is very different. Other EObject are almost same so I
> can add operations but the enum is different. How to apply the changes?
I suppose it's a little different because it's not just an interface;
it's a class that has to include the entire implementation. But you
should be able to change what's generated the same as in any other
situation. I.e., add new enumerators and mark them with @model. Add
methods. Use @implements to mix in additional interfaces. And so on.
Maybe you can given a more specific example of the problem if what I
said doesn't help...
>
> Thank you.
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02649 seconds