Bug 125830 - [Actions] Add public API for invoking a file compare
Summary: [Actions] Add public API for invoking a file compare
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows 2000
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-Compare-Inbox CLA
QA Contact: Tomasz Zarna CLA
URL:
Whiteboard: stalebug
Keywords:
Depends on: 193321 193324
Blocks:
  Show dependency tree
 
Reported: 2006-01-31 09:16 EST by Andrea Rice CLA
Modified: 2021-12-29 01:10 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Rice CLA 2006-01-31 09:16:44 EST
Currently, I want to programatically open a compare editor on two IFile objects, At the moment, I do the something like the following:

CompareAction compareAction = new CompareAction();
...
StructuredSelection filesToCompare =  new StructuredSelection(new Object[] {ifile1, ifile2});
compareAction.selectionChanged(this, filesToCompare);		
compareAction.run(...);

However, the CompareAction is internal API.  I want a way to invoke the compare editor on two files without using internal API.
Comment 1 Michael Valenta CLA 2007-06-21 15:35:23 EDT
Adding this API should be easy once bug 193321 and bug 193324 are addressed
Comment 2 Tomasz Zarna CLA 2008-04-15 11:16:28 EDT
I'm afraid I won't make it in 3.4 M7, which is in fact the last iteration for 3.4. Thus I'm moving it to 3.5.
Comment 3 Szymon Brandys CLA 2009-03-06 05:11:22 EST
We haven't investigated the issue during 3.5 and we don't plan to address it now. I'm removing the target milestone but we'll set more realistic one when we have feedback from anyone interested in fixing this.
Comment 4 Eclipse Webmaster CLA 2019-09-06 16:10:14 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 5 Eclipse Genie CLA 2021-12-29 01:10:22 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.