Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [EMF Compare] EPatch for moved elements
[EMF Compare] EPatch for moved elements [message #537935] Fri, 04 June 2010 08:36 Go to next message
Steffen Dienst is currently offline Steffen DienstFriend
Messages: 2
Registered: July 2009
Junior Member
Hello fine eclipse people,

I have a problem with EPatch creation if the matchmodel contains a moved element, especially if the element got moved
between two different containers. The class DiffEpatchService seems to assume, that moves occur between same
EStructuralFeatures only, is that correct?

The (buggy?) method is org.eclipse.emf.compare.epatch.diff.DiffEpatchService#handle EleMove(MoveModelElement ele). It
seems to handle a move by removing the element from the left model and adds it to the right one, but uses a single
EStructuralFeature for each.


Thanks,

Steffen
Re: [EMF Compare] EPatch for moved elements [message #537937 is a reply to message #537935] Fri, 04 June 2010 08:50 Go to previous messageGo to next message
Steffen Dienst is currently offline Steffen DienstFriend
Messages: 2
Registered: July 2009
Junior Member
I filed a bugreport at https://bugs.eclipse.org/bugs/show_bug.cgi?id=315738 with a standalone test case showing the problem.

Steffen
Re: [EMF Compare] EPatch for moved elements [message #537967 is a reply to message #537937] Fri, 04 June 2010 11:02 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------000105040203050809050305
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hi Steffen,

The EPatch support was commited as a contribution of Moritz Eysholdt,
and I haven't taken an extensive look at the code behind it. I'll try
and see what happens, but I can't give you any advice for now.

Laurent Goubet
Obeo

Steffen Dienst wrote:
> I filed a bugreport at
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=315738 with a standalone
> test case showing the problem.
>
> Steffen
>


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

begin:vcard
fn:Laurent Goubet
n:Goubet;Laurent
org:<a href="http://www.obeo.fr">Obeo</a>
email;internet:laurent.goubet@obeo.fr
url:http://www.obeo.fr
version:2.1
end:vcard


--------------000105040203050809050305--
Previous Topic:Running CDO Server using Teneo in Standalone
Next Topic:Problems installing EMF features from Helios site headlessly
Goto Forum:
  


Current Time: Sat Apr 20 01:30:05 GMT 2024

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

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

Back to the top