mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-03 22:35:43 +02:00
[190015] [performance] Remove All Match's from Search Results Takes a while
This commit is contained in:
parent
e1dc9724a3
commit
b62a6d3fab
1 changed files with 3 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
|||
* Kevin Doyle (IBM) - [242431] Register a new unique context menu id, so contributions can be made to all our views
|
||||
* David McKnight (IBM) - [250169] Problems with extending the menu's of results in Remote Search View
|
||||
* David McKnight (IBM) - [214395] Properties View not updated when clicking on Search Results
|
||||
* David McKnight (IBM) - [190015] [performance] Remove All Match's from Search Results Takes a while
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.rse.internal.ui.view.search;
|
||||
|
@ -888,7 +889,8 @@ public class SystemSearchViewPart extends ViewPart
|
|||
// but flush cache of the provider first for an accurate refresh
|
||||
SystemTableTreeViewProvider provider = (SystemTableTreeViewProvider)(tableView.getContentProvider());
|
||||
provider.flushCache();
|
||||
tableView.refresh();
|
||||
Tree tree = tableView.getTree();
|
||||
tree.removeAll();
|
||||
}
|
||||
// other search
|
||||
else if (currentViewer instanceof TreeViewer){
|
||||
|
|
Loading…
Add table
Reference in a new issue