Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Code editing and generation, how to merge(I have edited my code, but every time I generate the code blocks they overwrite the edits)
Code editing and generation, how to merge [message #495377] Wed, 04 November 2009 16:42 Go to next message
peter staelens is currently offline peter staelensFriend
Messages: 17
Registered: October 2009
Junior Member
Hi,

I would like to have an automatic merge on edits in the code each time I regenerate code. Is that possible?

greets,

Peter
Re: Code editing and generation, how to merge [message #495387 is a reply to message #495377] Wed, 04 November 2009 16:47 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------060209080205000003000808
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Peter,

Read the EMF introductory overview and pay attention to the "Customizing
the generated implementation classes" section:
< http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .emf.doc/references/overview/EMF.html>


http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .emf.doc/references/overview/EMF.html


peter staelens wrote:
> Hi,
>
> I would like to have an automatic merge on edits in the code each time
> I regenerate code. Is that possible?
>
> greets,
>
> Peter

--------------060209080205000003000808
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Peter,<br>
<br>
Read the EMF introductory overview and pay attention to the
"Customizing the generated implementation classes" section:<a
href=" http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .emf.doc/references/overview/EMF.html"><br>
</a>
<blockquote><a
href=" http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .emf.doc/references/overview/EMF.html"> http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .emf.doc/references/overview/EMF.html</a><br>
</blockquote>
<br>
peter staelens wrote:
<blockquote cite="mid:hcsath$qhn$1@build.eclipse.org" type="cite">Hi,
<br>
<br>
I would like to have an automatic merge on edits in the code each time
I regenerate code.  Is that possible?
<br>
<br>
greets,
<br>
<br>
Peter
<br>
</blockquote>
</body>
</html>

--------------060209080205000003000808--


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:multiple ecore models
Next Topic:MOVE AN AFFIXED CHILD ON EDGS AND ROTATE THE FIGURE
Goto Forum:
  


Current Time: Thu Apr 25 08:45:16 GMT 2024

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

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

Back to the top