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 #506112] |
Wed, 06 January 2010 04:22  |
Eclipse User |
|
|
|
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 #506162 is a reply to message #506112] |
Wed, 06 January 2010 07:16   |
Eclipse User |
|
|
|
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--
|
|
| |
Re: [EMF Compare] "Copy current change from right to left" doesn't work? [message #506461 is a reply to message #506413] |
Thu, 07 January 2010 10:39   |
Eclipse User |
|
|
|
This is a multi-part message in MIME format.
--------------070507040604010607070404
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
The samples I used to try and reproduce are exactly what you describe :
an empty EClass on the left, the same EClass with the addition of an
attribute "property1 : EInt" on the right, then merging from right to left.
This operations yields the expected result of an EClass with "property1
: EInt" on the left after merging. Thus the question I asked : which
version of EMF Compare in which Eclipse are you using?
Laurent Goubet
Obeo
esong0317@163.com wrote:
> Hi
> First thanks for your quick reply.
>
> But actually I meet this merge problem. It is a simple ECore model.
>
> Left is empty class, right is a class with "Property1:EInt", when merge
> from right to left, left only get Property1 name, no Eint.
>
> I just select two ecore files, and then compare with each other, then
> that problem happen. I dont know whether my operation is corrent or not.
> If possible, I can upload a screenshot.
>
> Thanks!
--------------070507040604010607070404
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=
--------------070507040604010607070404--
|
|
| | | | | |
Re: [EMF Compare] "Copy current change from right to left" doesn't work? [message #507745 is a reply to message #507721] |
Thu, 14 January 2010 04:26   |
Eclipse User |
|
|
|
Hi Bruce,
the graphical modelers integration feature is not provided as built plugins
and is only available through CVS right now.
Once built and installed it should work with any GMF based diagram model, as
such it should work with EcoreDiag (like in the demo) but not with Topcased
ones as topcased is not based on GMF.
Cheers,
Cédric
Bruce wrote:
> Hi Laurent ,
>
> Thanks for your great help.
>
> B.T.W, it seems that EMF Compare 1.0.0 has "Draft Graphical Modelers
> Integration " feature from
>
http://wiki.eclipse.org/EMF_Compare_1.0.0_New_And_Noteworthy #Draft_Graphical_Modelers_Integration
>
> But when I compare two *.ecorediag file each other, no Graphical Compare
> window appear, so what is wrong with it? Is this feature unavailable
> currently?
>
> And also if I use Topcased Plugins to create two UML models, and two
> responding *.umldia file, is it possible to compare two *.umldia file in
> Graphical Window way?
>
> Thanks very much!
|
|
| |
Re: [EMF Compare] "Copy current change from right to left" doesn't work? [message #621968 is a reply to message #621967] |
Thu, 07 January 2010 10:39   |
Eclipse User |
|
|
|
This is a multi-part message in MIME format.
--------------070507040604010607070404
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
The samples I used to try and reproduce are exactly what you describe :
an empty EClass on the left, the same EClass with the addition of an
attribute "property1 : EInt" on the right, then merging from right to left.
This operations yields the expected result of an EClass with "property1
: EInt" on the left after merging. Thus the question I asked : which
version of EMF Compare in which Eclipse are you using?
Laurent Goubet
Obeo
esong0317@163.com wrote:
> Hi
> First thanks for your quick reply.
>
> But actually I meet this merge problem. It is a simple ECore model.
>
> Left is empty class, right is a class with "Property1:EInt", when merge
> from right to left, left only get Property1 name, no Eint.
>
> I just select two ecore files, and then compare with each other, then
> that problem happen. I dont know whether my operation is corrent or not.
> If possible, I can upload a screenshot.
>
> Thanks!
--------------070507040604010607070404
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=
--------------070507040604010607070404--
|
|
| | | | | |
Re: [EMF Compare] "Copy current change from right to left" doesn't work? [message #622000 is a reply to message #507721] |
Thu, 14 January 2010 09:25  |
Eclipse User |
|
|
|
Hi Bruce,
the graphical modelers integration feature is not provided as built plugins
and is only available through CVS right now.
Once built and installed it should work with any GMF based diagram model, as
such it should work with EcoreDiag (like in the demo) but not with Topcased
ones as topcased is not based on GMF.
Cheers,
Cédric
Bruce wrote:
> Hi Laurent ,
>
> Thanks for your great help.
>
> B.T.W, it seems that EMF Compare 1.0.0 has "Draft Graphical Modelers
> Integration " feature from
>
http://wiki.eclipse.org/EMF_Compare_1.0.0_New_And_Noteworthy #Draft_Graphical_Modelers_Integration
>
> But when I compare two *.ecorediag file each other, no Graphical Compare
> window appear, so what is wrong with it? Is this feature unavailable
> currently?
>
> And also if I use Topcased Plugins to create two UML models, and two
> responding *.umldia file, is it possible to compare two *.umldia file in
> Graphical Window way?
>
> Thanks very much!
|
|
|
Goto Forum:
Current Time: Fri Jul 04 11:07:09 EDT 2025
Powered by FUDForum. Page generated in 0.31689 seconds
|