Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » dynamically generate EMF editor from a metamodel
dynamically generate EMF editor from a metamodel [message #431684] Tue, 21 July 2009 14:44 Go to next message
Ali Gondal is currently offline Ali GondalFriend
Messages: 13
Registered: July 2009
Junior Member
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). 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.

Any help would be much appreciated.

cheers
--Ali
Re: dynamically generate EMF editor from a metamodel [message #431685 is a reply to message #431684] Tue, 21 July 2009 15:06 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
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/
Previous Topic:Creating an Instance on ModelPackage; Extension Point
Next Topic:[TENEO]Store Resource problem
Goto Forum:
  


Current Time: Fri Apr 19 20:56:23 GMT 2024

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

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

Back to the top