Restrict visibility of Gitflow menu items
commit752b6d542c01c0290598a996c4a16d4e871114a1
authorMichael Keppler <Michael.Keppler@gmx.de>
Sat, 1 Sep 2018 18:06:15 +0000 (1 20:06 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 3 Sep 2018 23:09:40 +0000 (4 01:09 +0200)
treefbd8fc22c5763b35fc673117c4303e45e568509e
parent008ae58d936720500866035f306178a72466e918
Restrict visibility of Gitflow menu items

* "Init Gitflow" only visible on the repository node (similar to "enable
LFS" and "Add Submodule", which are all a kind of configuration change)
* Gitflow sub menu only visible on the repository node, the "branches"
node and all children of the "branches" node.

The change is most notable when opening the context menu on tags, the
working tree etc.

Bug: 536205
Change-Id: Icd69482f2c2415444c22a1f6690fcc589f05a25a
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
org.eclipse.egit.gitflow.ui/plugin.xml