Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » file comparison extension point??
file comparison extension point?? [message #93504] Mon, 14 July 2003 17:51 Go to next message
Eclipse UserFriend
Originally posted by: bhaskar.calavista.com

Hi All,
You must have noticed the option of comparing a file with its "local
history". I guess CVS also uses (enhance) it for comapring "workspace
file" with the "latest from the HEAD".
Is there any extension point for this action (i.e. of comparing a
file with its local history) so that I can extend it to write my own CVS
like plugin whose one job is to compare workspace file with the one that
is in repository.

Thanks,
Bhaskar
Re: file comparison extension point?? [message #95325 is a reply to message #93504] Wed, 16 July 2003 18:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: John_Arthorne.oti.com_

Yes, there is API for this. Look in the Platform plugin developer's
guide (available from online help), under Programmer's Guide > Compare
support. In particular, it sounds like you're interesting in
org.eclipse.compare.EditionSelectionDialog.
--


Bhaskar wrote:
> Hi All,
> You must have noticed the option of comparing a file with its "local
> history". I guess CVS also uses (enhance) it for comapring "workspace
> file" with the "latest from the HEAD".
> Is there any extension point for this action (i.e. of comparing a
> file with its local history) so that I can extend it to write my own CVS
> like plugin whose one job is to compare workspace file with the one that
> is in repository.
>
> Thanks,
> Bhaskar
>
Re: file comparison extension point?? [message #95452 is a reply to message #95325] Thu, 17 July 2003 00:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bhaskar.calavista.com

Hi John,
Thanks for the reply. Right now I am using
"CompareUI.openCompareDialog(CompareEditorInput input)" for showing the
differences between the two files to the user. But when I try to merge
some differences from one file to other, the changes are really not made
to the file though u can see the changes on the screen. Is there any way
of saving the modified file when user hits commit button.

Thanks,
Bhaskar

John Arthorne wrote:

> Yes, there is API for this. Look in the Platform plugin developer's
> guide (available from online help), under Programmer's Guide > Compare
> support. In particular, it sounds like you're interesting in
> org.eclipse.compare.EditionSelectionDialog.
> --
Re: file comparison extension point?? [message #96267 is a reply to message #95452] Fri, 18 July 2003 04:44 Go to previous message
Eclipse UserFriend
Originally posted by: Andre_Weinand.oti.com

On 17.7.2003 6:02 Uhr, in article bf5745$v98$1@eclipse.org, "Bhaskar"
<bhaskar@calavista.com> wrote:

> Hi John,
> Thanks for the reply. Right now I am using
> "CompareUI.openCompareDialog(CompareEditorInput input)" for showing the
> differences between the two files to the user. But when I try to merge
> some differences from one file to other, the changes are really not made
> to the file though u can see the changes on the screen. Is there any way
> of saving the modified file when user hits commit button.
>
> Thanks,
> Bhaskar
>
> John Arthorne wrote:
>
>> Yes, there is API for this. Look in the Platform plugin developer's
>> guide (available from online help), under Programmer's Guide > Compare
>> support. In particular, it sounds like you're interesting in
>> org.eclipse.compare.EditionSelectionDialog.
>> --
>
>

Dialogs don't support saving back changes. Only Editors do.
Use CompareUI.openCompareEditor(CompareEditorInput input) instead.

--andre
Previous Topic:Re: eclipse 3 M1 on osx Panther does not work ?
Next Topic:Merge Editor: Ignore CVS tags
Goto Forum:
  


Current Time: Thu Jun 05 00:43:24 EDT 2025

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

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

Back to the top