forked from eclipse-platform/eclipse.platform.ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit based table and tree viewer implementation (eclipse-platform#818)
A new API has been introduced ColumnViewer#setItemsLimit(int newLimit). This will limit the number of items rendered by the viewer per parent with a node called IExpandableNode which will then render next block of limited items on selection. This API is introduced to solve UI freeze caused by Viewer when it tries to render large number of items at a given level. This is backward compatible provided clients LabelProvider and ContentProvider safe for receiving IExpandableNode. A new preference is introduced to configure viewer limit on any clients viewer provided they will configure their viewer using WorkbenchViewerSetupsetupViewer(ColumnViewer viewer). Currently ProjectExplorer, ContentOutline, MarkersView and SearchResultsView has been configured to show limited items. Current default for limited items is 10000 Fixes eclipse-platform#818
- Loading branch information
1 parent
7ca06fd
commit 878ae64
Showing
36 changed files
with
2,090 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.