Show 'Add to Index' and related team menu entries only when applicable
commit4e890505e710a1ecf7b2e8ec3b7c88f9daec18f0
authorThomas Wolf <thomas.wolf@paranor.ch>
Mon, 23 Nov 2015 06:42:35 +0000 (23 07:42 +0100)
committerThomas Wolf <thomas.wolf@paranor.ch>
Mon, 30 Nov 2015 18:30:38 +0000 (30 19:30 +0100)
treeb51297f0436cb575811e1d1116ce38d451cddc57
parent9817448dca01fe11727b9b2e6b719765925322ee
Show 'Add to Index' and related team menu entries only when applicable

Change the menu configurations for 'Add to Index', 'Remove from Index',
and 'Ignore' from deprecated action to command/handler and a
menuContribution. Provide visibleWhen specifications using the new
properties hasStagedChanges, hasUnstagedChanges, and
hasNotIgnoredResources.

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