file comparison extension point?? [message #93504] |
Mon, 14 July 2003 17:51  |
Eclipse User |
|
|
|
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 #96267 is a reply to message #95452] |
Fri, 18 July 2003 04:44  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04665 seconds