Bug 40727 - Allow navigation workflow control from other view
Summary: Allow navigation workflow control from other view
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P2 major (vote)
Target Milestone: 3.0 M3   Edit
Assignee: Andre Weinand CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 41778 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-24 14:56 EDT by Jean-Michel Lemieux CLA
Modified: 2003-08-25 10:52 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Michel Lemieux CLA 2003-07-24 14:56:41 EDT
3.0 M2
I've come accross another issue with our refactoring of the Synchronize view
away from the DiffTreeViewer. We can no longer support the next/previous
workflows where you could navigate differences between different panes in the
compare editor input.
The importance of this is outlined in the following Bug 20106.

We would need a way of selecting the next change and then knowing when the
start/end has been reached to that we can step forwards/backwards in the
Synchronize View. I've experimented with CompareNavigator but it wasn't really
designed for that.
Comment 1 Jean-Michel Lemieux CLA 2003-08-21 09:17:04 EDT
*** Bug 41778 has been marked as a duplicate of this bug. ***
Comment 2 Andre Weinand CLA 2003-08-25 10:52:17 EDT
Released new (experimental) API to Compare HEAD (first appearance in N20030826).

- added new interface org.eclipse.compare.ICompareNavigator with single method 
   boolean selectChange(boolean next). Returns true if at end (beginning).
- for now you can get this interface for an CompareEditorInput via
   getAdapter(ICompareNavigator).
- for an example please see org.eclipse.compare.NavigationAction

Let me know if you need more/different functionality