Skip to main content



      Home
Home » Modeling » EMF » [Newbie] How to synchronize the rose model and the EMF model
[Newbie] How to synchronize the rose model and the EMF model [message #388802] Tue, 26 October 2004 05:45 Go to next message
Eclipse UserFriend
Originally posted by: fanhaipeng.gmail.com

Hi,
I have a doubt that once I genereated the EMF model from a rose model
file, how can I synchronize the later updated rose model and the EMF model
easily? Up til now, I can only delete the former model and regenerate it.
Are there any other easy way to do so, further, to synchronize the ecore
model and the generated Edit and Editor?.
Re: [Newbie] How to synchronize the rose model and the EMF model [message #388805 is a reply to message #388802] Tue, 26 October 2004 09:37 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

You can update your generated code (model, edit and editor) with a newer
version of your model but there is no built in support to do it the other
way around (i.e., update the model based on the code changes).

All you need to do is to right click your ecore file and select "Reload...".

Regards,
Marcelo.

"new.eclipse.org" <fanhaipeng@gmail.com> wrote in message
news:cll60o$1b4$1@eclipse.org...
> Hi,
> I have a doubt that once I genereated the EMF model from a rose model
> file, how can I synchronize the later updated rose model and the EMF model
> easily? Up til now, I can only delete the former model and regenerate it.
> Are there any other easy way to do so, further, to synchronize the ecore
> model and the generated Edit and Editor?.
>
>
Re: [Newbie] How to synchronize the rose model and the EMF model [message #388814 is a reply to message #388805] Tue, 26 October 2004 11:24 Go to previous message
Eclipse UserFriend
This is a multi-part message in MIME format.
--------------050604030101070300090603
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Marcelo,

You meant to say, right click on your .genmodel file, and do
"Reload..." ;-)

(This operation is also available in the Generator editor from the menu
bar.)


Marcelo Paternostro wrote:

>Hi,
>
>You can update your generated code (model, edit and editor) with a newer
>version of your model but there is no built in support to do it the other
>way around (i.e., update the model based on the code changes).
>
>All you need to do is to right click your ecore file and select "Reload...".
>
>Regards,
>Marcelo.
>
>"new.eclipse.org" <fanhaipeng@gmail.com> wrote in message
>news:cll60o$1b4$1@eclipse.org...
>
>
>>Hi,
>> I have a doubt that once I genereated the EMF model from a rose model
>>file, how can I synchronize the later updated rose model and the EMF model
>>easily? Up til now, I can only delete the former model and regenerate it.
>>Are there any other easy way to do so, further, to synchronize the ecore
>>model and the generated Edit and Editor?.
>>
>>
>>
>>
>
>
>
>


--------------050604030101070300090603
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Marcelo,<br>
<br>
You meant to say, right click on your .genmodel file, and do
"Reload..."&nbsp; ;-)<br>
<br>
(This operation is also available in the Generator editor from the menu
bar.)<br>
<br>
<br>
Marcelo Paternostro wrote:
<blockquote cite="midclljk9$vdt$1@eclipse.org" type="cite">
<pre wrap="">Hi,

You can update your generated code (model, edit and editor) with a newer
version of your model but there is no built in support to do it the other
way around (i.e., update the model based on the code changes).

All you need to do is to right click your ecore file and select "Reload...".

Regards,
Marcelo.

"new.eclipse.org" <a class="moz-txt-link-rfc2396E" href="mailto:fanhaipeng@gmail.com">&lt;fanhaipeng@gmail.com&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:cll60o$1b4$1@eclipse.org">news:cll60o$1b4$1@eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
I have a doubt that once I genereated the EMF model from a rose model
file, how can I synchronize the later updated rose model and the EMF model
easily? Up til now, I can only delete the former model and regenerate it.
Are there any other easy way to do so, further, to synchronize the ecore
model and the generated Edit and Editor?.


</pre>
</blockquote>
<pre wrap=""><!---->

</pre>
</blockquote>
<br>
</body>
</html>

--------------050604030101070300090603--
Previous Topic:Re: (no subject)
Next Topic:Link XSD with Ecore models
Goto Forum:
  


Current Time: Tue Oct 28 18:03:04 EDT 2025

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

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

Back to the top