Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Generating both an RCP and IDE-hosted editor
Generating both an RCP and IDE-hosted editor [message #638752] Fri, 12 November 2010 13:24 Go to next message
Michael Spertus is currently offline Michael SpertusFriend
Messages: 78
Registered: July 2009
Member
I have types that I want to edit both within my IDE (i.e., non-RCP) and also within RCP applications. However, those appear to be mutually exclusive code generation options. I certainly don't want to have to generate, rename, and manually make changes to one of the editors as my model evolves. What is the best approach for me to take?

Thanks,

Mike
Re: Generating both an RCP and IDE-hosted editor [message #638767 is a reply to message #638752] Fri, 12 November 2010 13:57 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30620
Registered: July 2009
Senior Member
Mike,

If you look at what's generated, it's generally unaffected by any
changes in your model, so only if the templates change is there a need
to regenerate them. So the best I can suggest is you change the
GenModel to target different projects (change Editor Directory and
Editor Plug-in ID) at the time you want to regenerated. It doesn't
matter that the two different projects contain identically named classes.


Michael Spertus wrote:
> I have types that I want to edit both within my IDE (i.e., non-RCP)
> and also within RCP applications. However, those appear to be mutually
> exclusive code generation options. I certainly don't want to have to
> generate, rename, and manually make changes to one of the editors as
> my model evolves. What is the best approach for me to take?
>
> Thanks,
>
> Mike
Previous Topic:EMF Helios Dev Environment
Next Topic:XMI Serialization - Pure EObject instead of my Business Object
Goto Forum:
  


Current Time: Mon Nov 11 20:07:37 GMT 2019

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

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

Back to the top