Fix sorting and grouping of staging entries by state
commit101ddf02ab1668b141848374ec57b9e8bd3ad28a
authorMatthias Sohn <matthias.sohn@sap.com>
Sat, 27 Feb 2016 01:07:11 +0000 (27 02:07 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Sat, 27 Feb 2016 22:42:57 +0000 (27 23:42 +0100)
treedadf456607acc1c8ace7085c5ef457e8bc5f3ff8
parent5121953b8bdd3adb554dd0bd67d55386e28053c6
Fix sorting and grouping of staging entries by state

- group all states, states which require attention more frequently come
  first
- also sort staged changes pane
- alphabetic sorting is the natural order and doesn't need explanation,
  hence name the button to toggle sort order "Sort by state" and use a
  new icon depicting that
- rename the comparator to StagingEntryComparator since it's now used
  for both unstaged and staged changes

Bug: 473919
Change-Id: Ia6c165f252bb293d77251e4b5cf9dfb63c1c5d53
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui/icons/obj16/state_sort_co.png [new file with mode: 0644]
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/UIIcons.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties