Refactor and simplify FetchGerritChangePage
commit85a8ef04e1fc4923e80481017e66f575bfc35139
authorMatthias Sohn <matthias.sohn@sap.com>
Sun, 5 Mar 2017 22:14:43 +0000 (5 23:14 +0100)
committerThomas Wolf <thomas.wolf@paranor.ch>
Wed, 3 May 2017 10:37:29 +0000 (3 12:37 +0200)
tree908ebeee8249aa9d6e17ddcd4aea837c2925dcd6
parent97bde085bd7d39d3b7ca37317c8ec08f3c57bebd
Refactor and simplify FetchGerritChangePage

- remove foreground execution option
- introduce CheckoutMode enum to replace many boolean flags
- remove internalDoFetch() method
- rename some misleading variable names
- remove now unused UI text
- modernize progress monitoring

Bug: 496493
Change-Id: Idc989377771ff729915645c8cba2719e8d604a81
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/UIText.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/fetch/FetchGerritChangePage.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties