Show blame menu item in ruler only if not showing blame already
commit62fc9d7f81bc7b97d443b0d42770cba53d9ac7fc
authorThomas Wolf <twolf@apache.org>
Tue, 27 Sep 2022 17:52:42 +0000 (27 19:52 +0200)
committerThomas Wolf <twolf@apache.org>
Tue, 27 Sep 2022 18:03:45 +0000 (27 20:03 +0200)
tree98b63344c60320caf1a0c8395a8b4591a297b020
parentfd377bbaec170455e8ebfe789d3be19fe2db2395
Show blame menu item in ruler only if not showing blame already

In the ruler context menu display "Show Revision Information" only
if the ruler actually can show revision information but doesn't do
so already.

For the user, this effectively toggles between the "Show Revision
Information" menu item and the "Revisions" sub-menu.

It is not necessary to display the "Show Revision Information" menu
item when revision information is already shown. EGit updates the
revision information automatically if and when it changes on a branch
switch or a commit.

Change-Id: I1bd5272e8ea8f505cbf41e1e31e628e5c4f0bbd5
Signed-off-by: Thomas Wolf <twolf@apache.org>
org.eclipse.egit.ui/plugin.xml
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/expressions/EditorPropertyTester.java [new file with mode: 0644]