Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to do structural compare of resources to find changes
How to do structural compare of resources to find changes [message #288231] Wed, 13 July 2005 18:32 Go to next message
Eclipse UserFriend
Originally posted by: ohnygaar.online.no

Hi,

I need to implement some similar behavior to the compare with repository and
compare with local history for my plug-in.
My impression is that these are internal and not public, but where can I
find the source?
I need to do structural fine-grained change analyzing through comparing of
Java elements, plan to use the AST but should I use the Synchronization API
or should I rather use the org.eclipse.compare framework ?

Thanks,
Otto
Re: How to do structural compare of resources to find changes [message #288256 is a reply to message #288231] Thu, 14 July 2005 09:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Michael_Valenta.oti.com

Otto,

The org.eclipse.compare plugin provides the file comparison framework. It
allows tools like Java to plug in structural compare for file types (or
content types). This framework is used by the sync view to show Java file
diffs.

Michael

"Otto Nygaard" <ohnygaar@online.no> wrote in message
news:db44p3$jim$1@news.eclipse.org...
> Hi,
>
> I need to implement some similar behavior to the compare with repository
> and compare with local history for my plug-in.
> My impression is that these are internal and not public, but where can I
> find the source?
> I need to do structural fine-grained change analyzing through comparing of
> Java elements, plan to use the AST but should I use the Synchronization
> API or should I rather use the org.eclipse.compare framework ?
>
> Thanks,
> Otto
>
Re: How to do structural compare of resources to find changes [message #288290 is a reply to message #288256] Thu, 14 July 2005 19:07 Go to previous message
Eclipse UserFriend
Originally posted by: ohnygaar.online.no

Thanks for your reply. I think I`ll try to extend the DocumentRangeNode to
represent a AST node and hopefully the differencer will do the rest.

"Michael Valenta" <Michael_Valenta@oti.com> wrote in message
news:db5nuu$7qi$1@news.eclipse.org...
> Otto,
>
> The org.eclipse.compare plugin provides the file comparison framework. It
> allows tools like Java to plug in structural compare for file types (or
> content types). This framework is used by the sync view to show Java file
> diffs.
>
> Michael
>
> "Otto Nygaard" <ohnygaar@online.no> wrote in message
> news:db44p3$jim$1@news.eclipse.org...
>> Hi,
>>
>> I need to implement some similar behavior to the compare with repository
>> and compare with local history for my plug-in.
>> My impression is that these are internal and not public, but where can I
>> find the source?
>> I need to do structural fine-grained change analyzing through comparing
>> of Java elements, plan to use the AST but should I use the
>> Synchronization API or should I rather use the org.eclipse.compare
>> framework ?
>>
>> Thanks,
>> Otto
>>
>
>
Previous Topic:debuging a plugin
Next Topic:Loading Japanese/Chinese double-byte characters
Goto Forum:
  


Current Time: Thu Sep 25 05:59:38 EDT 2025

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

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

Back to the top