Clean up text editors' ruler context menu
commitd4a9be808decaee72119ba6f0d21f6f0c8c6cf54
authorThomas Wolf <thomas.wolf@paranor.ch>
Mon, 19 Sep 2016 21:36:04 +0000 (19 23:36 +0200)
committerThomas Wolf <thomas.wolf@paranor.ch>
Mon, 19 Sep 2016 22:07:33 +0000 (20 00:07 +0200)
tree4c51809bbad9aa04c63669fe2104b7b44af6d8a7
parent5acbf04e927d8d5e2475964c277efa2fcec451f8
Clean up text editors' ruler context menu

EGit mistakenly contributed the Team menu also to the context menu in
the ruler of the active text editor. Since we do want to use the
locationURI "popup:org.eclipse.ui.popup.any" for the Team menu, the only
way to ensure it isn't displayed in a ruler's context menu I see is to
explicitly exclude it from the "#AbstractTextEditorRulerContext" menu.

Also apply the same fix to gitflow's "Compare with develop" and "Replace
with develop" contributions, and also restrict those to gitflow-enabled
repositories.

Bug: 469610
Change-Id: I19c843076adb7a4c3dc83980b44866d8b2c6de0d
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.egit.gitflow.ui/plugin.xml
org.eclipse.egit.ui/plugin.xml