Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Compare] "Copy current change from right to left" doesn't work?
[EMF Compare] "Copy current change from right to left" doesn't work? [message #621963] Wed, 06 January 2010 09:22 Go to next message
Bruce is currently offline BruceFriend
Messages: 10
Registered: January 2010
Junior Member
Hi,

I am a new user for EMF compare. I just do a simple test.

Base model is one class.
Then User1 add one attribute: Property1:EInt.

Then I use EMF compare each other, at this time, base model is on left side, and User1 is on right side.

When I click "Copy current change from right to left" button to merge from right to left, it doesn't add same attribute on left model. On left model, just one attribute named as Property1, but has no EInt type!

Is this normal behavior?

B.T.W, if I want to extend "Copy current change from right to left" button action, how to develop? I means what extension point should i extend?

Thanks!
Re: [EMF Compare] "Copy current change from right to left" doesn't work? [message #621965 is a reply to message #621963] Wed, 06 January 2010 12:16 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1892
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010703020606040502070807
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

Nope, this is no expected behavior; though we've never experienced this
ourselves and I cannot reproduce your behavior with sample models with
the steps outlined here.

This seems to be fixed with the latest vesion of EMF Compare. Which are
you using?

Extending the merge actions is not possiblve apart from providing your
own mergers. This is done through the extension point
org.eclipse.emf.compare.diff.mergerprovider .

Laurent Goubet
Obeo

esong0317@163.com wrote:
> Hi,
>
> I am a new user for EMF compare. I just do a simple test.
>
> Base model is one class.
> Then User1 add one attribute: Property1:EInt.
>
> Then I use EMF compare each other, at this time, base model is on left
> side, and User1 is on right side.
>
> When I click "Copy current change from right to left" button to merge
> from right to left, it doesn't add same attribute on left model. On left
> model, just one attribute named as Property1, but has no EInt type!
>
> Is this normal behavior?
>
> B.T.W, if I want to extend "Copy current change from right to left"
> button action, how to develop? I means what extension point should i
> extend?
>
> Thanks!


--------------010703020606040502070807
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="laurent_goubet.vcf"

YmVnaW46dmNhcmQNCmZuOkxhdXJlbnQgR291YmV0DQpuOkdvdWJldDtMYXVy ZW50DQpvcmc6
PGEgaHJlZj0iaHR0cDovL3d3dy5vYmVvLmZyIj5PYmVvPC9hPg0KZW1haWw7 aW50ZXJuZXQ6
bGF1cmVudC5nb3ViZXRAb2Jlby5mcg0KdXJsOmh0dHA6Ly93d3cub2Jlby5m cg0KdmVyc2lv
bjoyLjENCmVuZDp2Y2FyZA0KDQo=
--------------010703020606040502070807--
Previous Topic:[MWE] MWE project evolution?
Next Topic:have no "Eclipse Application" option on the menu
Goto Forum:
  


Current Time: Sun Jun 13 20:22:03 GMT 2021

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

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

Back to the top