Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » changes to the metamodel
changes to the metamodel [message #1796248] Tue, 09 October 2018 07:32 Go to next message
annachiara marano is currently offline annachiara maranoFriend
Messages: 15
Registered: October 2018
Junior Member
Hello

I wondered if it was possible, once done the medal model, generated "model code" "edit code" and "editor code", and done the "run as configuration" on an application of eclipse, then go to modify the metamodel project and be able to have those changes also present in my run. Thanks for the attention.

Annachiara Marano
Re: changes to the metamodel [message #1796252 is a reply to message #1796248] Tue, 09 October 2018 08:17 Go to previous message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 500
Registered: July 2009
Location: Nantes, France
Senior Member
Hi Annachiara,

This kind of question should target the EMF general forum as it is no more related to Sirius.
But in this case, if you modify you meta model, you simply have to regenerate model/edit/editor code and then stop and relaunch you launch configuration.
Note that you should try the "Debug as " instead of the "Run as menu", you will then have access to the debugger and the hot code replace mecanism which will replace the code and allow you to avoid to restart your runtime in a lot of situations.

You will find more details here:
- https://wiki.eclipse.org/FAQ_What_is_hot_code_replace%3F
- https://help.eclipse.org/photon/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fmenus%2Frun%2Fref-debug_as.htm

Regards,




Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Creating a representation file externally
Next Topic:how to resize a container programatically based on the count of border nodes on the container
Goto Forum:
  


Current Time: Sat Jan 23 05:50:25 GMT 2021

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

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

Back to the top