Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolf2016-10-14 21:27:16 +0000
committerThomas Wolf2016-10-14 21:41:19 +0000
commitc72723a3407f343a40d66532680b1cbcb30d1169 (patch)
tree4b4014d13e966fb52d696c9a343be47d98fed128 /org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test
parent417bbc5f91fe188550ab948211ffc1cb684b8f50 (diff)
downloadegit-c72723a3407f343a40d66532680b1cbcb30d1169.tar.gz
egit-c72723a3407f343a40d66532680b1cbcb30d1169.tar.xz
egit-c72723a3407f343a40d66532680b1cbcb30d1169.zip
Fix display of "Show Revision Information" in editors
The context menu was missing from editors opened from the history view's file list (Context menu->Show Revision Information would open an editor and show the annotations, but when these were then hidden, they could not be re-displayed from within the editor). Moreover, opening a file version from the history view (Context menu->Open This Version) would open an editor that would have the "Show Revision Information" context menu, but when invoked it would open up yet another editor. The root cause is explained in bug 505938, comment 2. Basically we end up with different FileRevisionEditorInput classes being used for editors, one from EGit, and an internal one from org.eclipse.ui.team. Fix this by refactoring the blame machinery in EGit UI to work either with IFile or with CommitFileRevision. and make sure to use EgitEditorUtils.openEditor() instead of RevisionAnnotationController.openEditor(). Bug: 505938 Change-Id: Ie9d857ee469f93e8df3d8b6cc386c410394ccc29 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test')
0 files changed, 0 insertions, 0 deletions

Back to the top