DESCRIPTION

Show 'Add to Index' and related team menu entries only when applicable

* Factor out non-decoration related things from DecoratableResource
  into new IResourceState.
* Use this new IResourceState to provide new testable properties
  isStaged, isIgnored, and hasUntrackedChanges.
* plugin.xml: change the menu configurations for 'Add to Index',
  'Remove from Index', and 'Ignore' from deprecated action to
  command/handler and a menuContribution. Provide visibleWhen and
  activeWhen specifications using the new properties.
* Remove now unused RemoveFromIndexAction and IgnoreAction.

Solves part of bug 355809: display of these actions in the team menu.

Bug: 355809
Change-Id: If283be82612b15d14c773eea628777eb79f263ae
Signed-off-by: Alayna Houston xxx@xxx.xxx

COMMENTS

author: Alayna Houston
date: 2015-11-22 11:22:50.000000000

Uploaded patch set 1.

-------------------------------------
author: Brenden Conley
date: 2015-11-22 11:43:55.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/egit/job/egit.gerrit/7843/

-------------------------------------
author: Brenden Conley
date: 2015-11-22 12:33:58.000000000

Patch Set 1: Verified-1

Build Failed 

https://hudson.eclipse.org/egit/job/egit.gerrit/7843/ : ABORTED

-------------------------------------
author: Brenden Conley
date: 2015-11-22 18:53:01.000000000

Patch Set 1: -Verified

Build Started https://hudson.eclipse.org/egit/job/egit.gerrit/7853/

-------------------------------------
author: Brenden Conley
date: 2015-11-22 19:16:27.000000000

Patch Set 1: Verified+1

Build Successful 

https://hudson.eclipse.org/egit/job/egit.gerrit/7853/ : SUCCESS

-------------------------------------
author: Jayvion Booth
date: 2015-11-22 21:11:47.000000000

Patch Set 2: Patch Set 1 was rebased

-------------------------------------
author: Gerrit Johnathan Pham
date: 2015-11-30 23:52:54.000000000

Change has been successfully merged into the git repository by Douglas Trujillo

-------------------------------------
