|
Re: dynamically generate EMF editor from a metamodel [message #431685 is a reply to message #431684] |
Tue, 21 July 2009 15:06 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Ali,
Comments below.
Ali Gondal wrote:
> Hi;
>
> I have an EMF editor generated from a metamodel, is it possible to add
> another page to that editor based on another metamodel by writing some
> java code (on button press etc).
Yes, you can add pages.
> I need this because in the 1st editor the user makes some decisions
> and a new metamodel is then generated. So far, i can manually use the
> 2nd metamodel and auto-generate the 2nd editor but I want all this on
> a button click. Is this possible? If so, any pointers on where i can
> find some guidelines.
You can look at the existing editor to see how all the pages are added...
>
> Any help would be much appreciated.
I supposed you'd create another resource in the resource set, but by
default the main page shows all the resources in the resource set...
>
> cheers
> --Ali
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03154 seconds