Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [XCore] Altering generated code
[XCore] Altering generated code [message #1002821] Sat, 19 January 2013 09:42 Go to previous message
Martin  odloucký is currently offline Martin odloucký
Messages: 37
Registered: July 2010
Member
Hi you all,

I just started using XCore and I love it. But I don't understand one thing. Is ti still possible to alter the generated code? Sometimes I just need to add a static instance-counting field initialized in constructor to my generated class. However, when I try to edit the code as I have been used to with ECore, the IDE warns me that the file is derived. If I edit it anyway, when the code is regenerated all my changes are lost.

Thanks for help in advance

Martin
 
Read Message
Read Message
Previous Topic:Annoying intrinsic default values for primitive types
Next Topic:[CDO][EMF Command] problems with SetCommand.redo from empty List
Goto Forum:
  


Current Time: Fri May 24 23:47:39 EDT 2013

Powered by FUDForum. Page generated in 0.02845 seconds