|
Re: Suppress attributes for EMF Compare? [message #622252 is a reply to message #622250] |
Mon, 01 March 2010 12:55 |
|
This is a multi-part message in MIME format.
--------------080903040605050504020003
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
You'll have to extend the GenericDiffEngine (extension point
org.eclipse.emf.compare.diff.engine) so that its "getAttributesChecker"
method returns your own implementation. In this implementation, you can
ignore whatever attribute bothers you by overriding
"AttributesCheck.shouldBeIgnored(EAttribute)".
Laurent Goubet
Obeo
PB wrote:
> I want to use EMF Compare, but get a lot of noise due to certain
> attributes I don't want to compare.
> Is it possible to suppress attributes during the matching process?
>
>
>
> Per
>
--------------080903040605050504020003
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=
--------------080903040605050504020003--
|
|
|
|
Powered by
FUDForum. Page generated in 0.02973 seconds