-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop the Server view from collapsing when a folder is clicked on
* Annoying scenario where the Teiid server content is first expanded then collapses when a folder is selected. Due to the action provider setting the filtering on the content, which causes a refresh and thus the collapse. * Action provider should NOT affect the content * PreviewOptionContributor * Intermediary between the two providers, allowing then to affect each other but not directly referencing each other * Preview option flags bound up in this one class * TeiidServerContentProvider * Implements ICommonContentProvider so its parent provider initialises it correctly * Refactors re-expand routine to a method so that the setting of the preview options re-expands after the refresh * TeiidServerContainerNode * Rather than use viewer.setFilters which causes a refresh, adds the filtering directly to the content's logic. Since setting the preview options causes a rebuilding of the content, there is little reason to refresh again just to filter
- Loading branch information
Paul Richardson
committed
Jun 28, 2013
1 parent
a4085ec
commit bcae003
Showing
4 changed files
with
367 additions
and
232 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
Oops, something went wrong.