|
Re: Extending the generated editor [message #415540 is a reply to message #415538] |
Thu, 20 December 2007 11:07 |
|
Hi Reinhold,
You can find an example in the
org.eclipse.emf.codegen.ecore.genmodel.presentation.GenModel ActionBarContributor.
Regards,
Eike Stepper
----
http://wiki.eclipse.org/CDO
http://wiki.eclipse.org/Net4j
Reinhold Bihler schrieb:
> Hello,
>
> how can I extend the editor generated from an Ecore model
> with a menu or context menu?
>
> E.g. for the EMF4Net component we are modeling a
> CsharpGenModel.ecore model that is similar to EMF's
> Genmodel.ecore model. We would like to extend the
> CsharpGenModel editor in the same way EMF's genmodel
> editor was extended.
>
> The EMF genmodel editor is created using the EMF .editor
> code generation and is then somehow extended with a context
> menu that displays the "Generate Model Code",
> "Generate Edit Code"... menue item. How is this done?
> Is there some documentation how to do this?
>
> Thanks,
> Reinhold
>
>
>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 0.03312 seconds