Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-06-06 11:32:36 +0000
committerUwe Stieber2012-06-06 11:32:36 +0000
commitc795d08007eaceb8daba442ade59b66f08595e46 (patch)
treedecacb0c9b6e7443896c8ac41091241f44ad7712 /target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui
parent638a04bb161f40d930818f7b31c5e80f3d7adc6a (diff)
downloadorg.eclipse.tcf-c795d08007eaceb8daba442ade59b66f08595e46.tar.gz
org.eclipse.tcf-c795d08007eaceb8daba442ade59b66f08595e46.tar.xz
org.eclipse.tcf-c795d08007eaceb8daba442ade59b66f08595e46.zip
Target Explorer: Improve view performance by filtering Value-Add's and Proxies on content provider level
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/remote/app/launchcontext/ContextSelectorControl.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/remote/app/launchcontext/ContextSelectorControl.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/remote/app/launchcontext/ContextSelectorControl.java
index ec898e766..c0b49b183 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/remote/app/launchcontext/ContextSelectorControl.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/remote/app/launchcontext/ContextSelectorControl.java
@@ -10,19 +10,13 @@
package org.eclipse.tcf.te.tcf.launch.ui.remote.app.launchcontext;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-
import org.eclipse.jface.dialogs.IDialogPage;
import org.eclipse.jface.viewers.DecoratingLabelProvider;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.TreeViewer;
-import org.eclipse.jface.viewers.ViewerFilter;
import org.eclipse.swt.graphics.Image;
import org.eclipse.tcf.te.launch.ui.tabs.launchcontext.AbstractContextSelectorControl;
-import org.eclipse.tcf.te.tcf.ui.filter.ValueAddFilter;
import org.eclipse.tcf.te.tcf.ui.navigator.ContentProviderDelegate;
import org.eclipse.tcf.te.tcf.ui.navigator.LabelProviderDelegate;
import org.eclipse.tcf.te.ui.views.interfaces.ICategory;
@@ -89,19 +83,4 @@ public class ContextSelectorControl extends AbstractContextSelectorControl {
LabelProvider labelProvider = new LabelProvider();
viewer.setLabelProvider(new DecoratingLabelProvider(labelProvider, labelProvider));
}
-
- /* (non-Javadoc)
- * @see org.eclipse.tcf.te.launch.ui.tabs.launchcontext.AbstractContextSelectorControl#doCreateViewerFilters()
- */
- @Override
- protected ViewerFilter[] doCreateViewerFilters() {
- ViewerFilter[] filters = super.doCreateViewerFilters();
-
- List<ViewerFilter> newFilters = new ArrayList<ViewerFilter>();
- if (filters != null) newFilters.addAll(Arrays.asList(filters));
-
- newFilters.add(new ValueAddFilter());
-
- return newFilters.toArray(new ViewerFilter[newFilters.size()]);
- }
}

Back to the top