[scalability] Staging view should handle huge amount of entries
commitb2055bf5822dceb006fad020d6fe5ea2042ec3d7
authorAndrey Loskutov <loskutov@gmx.de>
Mon, 3 Aug 2015 22:06:19 +0000 (4 00:06 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 13 Sep 2015 21:15:02 +0000 (13 23:15 +0200)
treec3fde06c544e3c9953370056227a354c4dea7ab1
parentfbb66bdb00b81fc817d9ecd4eed70d4e7d2b4a3e
[scalability] Staging view should handle huge amount of entries

Automatically disable auto-expand and enable compact tree mode if number
of elements exceeds 10000. A new preference is introduced for
configuration of this value, UI for it will be added in the next commit.

Bug: 474064
Change-Id: I18808837dbc26ecf98753b8cd8edd988728d574e
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/PluginPreferenceInitializer.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIPreferences.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java