Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Handle more than one editor plugin
Handle more than one editor plugin [message #901797] Tue, 14 August 2012 15:42 Go to next message
John M. is currently offline John M.Friend
Messages: 198
Registered: July 2010
Senior Member
Hello,

I have an ecore model which, have two subpackages and I want to generate two own editor plugins.
It seems, that this is not possible. So I splitted all up into two own ecore files, but only one entry is created in the plugin.xml.

Is the only way to create own projects for both ecore files?
Re: Handle more than one editor plugin [message #901804 is a reply to message #901797] Tue, 14 August 2012 15:55 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Comments below.

On 14/08/2012 5:42 PM, Missing name Mising name wrote:
> Hello,
>
> I have an ecore model which, have two subpackages and I want to
> generate two own editor plugins.
> It seems, that this is not possible. So I splitted all up into two own
> ecore files, but only one entry is created in the plugin.xml.
The plugin.xml isn't regenerated once it exists and so if you have two
different GenModels that try to generate to the same project, only one
will ever produce its results.
>
> Is the only way to create own projects for both ecore files?
Yes, either you have two different model projects and end up with two
different editor projects or you have a combined model project and end
up with a combined editor project.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Handle more than one editor plugin [message #901808 is a reply to message #901804] Tue, 14 August 2012 16:02 Go to previous message
John M. is currently offline John M.Friend
Messages: 198
Registered: July 2010
Senior Member
Thanks for your fast answer as always.

> Yes, either you have two different model projects and end up with two
> different editor projects or you have a combined model project and end
> up with a combined editor project.
At the moment there is only one editor registrated and only one editor plugin generated.
Is there any trick that both editors are from one ecore file?
Previous Topic:[CDO] DBStoreAccessor, SmartPreparedStatementCache
Next Topic:Metamodel hierarchies / model layers
Goto Forum:
  


Current Time: Thu Apr 18 06:22:01 GMT 2024

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

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

Back to the top