Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2002-01-07 10:30:19 +0000
committerDani Megert2002-01-07 10:30:19 +0000
commite89bd5a67e7e944f538e769f71b66ea2fcd7d50f (patch)
tree6655ac38639e51008e3ce7a9aa0ae9e328bcae63
parent0e3824355add1b59ffb14bf5277b1510c2f4b578 (diff)
downloadeclipse.platform.text-e89bd5a67e7e944f538e769f71b66ea2fcd7d50f.tar.gz
eclipse.platform.text-e89bd5a67e7e944f538e769f71b66ea2fcd7d50f.tar.xz
eclipse.platform.text-e89bd5a67e7e944f538e769f71b66ea2fcd7d50f.zip
Sort the working setsv20020115v20020108
-rw-r--r--org.eclipse.search/search/org/eclipse/search/internal/workingsets/WorkingSetDialog.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.search/search/org/eclipse/search/internal/workingsets/WorkingSetDialog.java b/org.eclipse.search/search/org/eclipse/search/internal/workingsets/WorkingSetDialog.java
index 748d18ba44f..a110ca495fa 100644
--- a/org.eclipse.search/search/org/eclipse/search/internal/workingsets/WorkingSetDialog.java
+++ b/org.eclipse.search/search/org/eclipse/search/internal/workingsets/WorkingSetDialog.java
@@ -30,6 +30,7 @@ import org.eclipse.jface.viewers.TreeExpansionEvent;
import org.eclipse.ui.model.WorkbenchContentProvider;
import org.eclipse.ui.model.WorkbenchLabelProvider;
+import org.eclipse.ui.model.WorkbenchViewerSorter;
import org.eclipse.search.ui.IWorkingSet;
@@ -100,6 +101,7 @@ class WorkingSetDialog extends InputDialog {
fTree.setContentProvider(new WorkbenchContentProvider());
fTree.setLabelProvider(new WorkbenchLabelProvider());
fTree.setInput(SearchPlugin.getWorkspace().getRoot());
+ fTree.setSorter(new WorkbenchViewerSorter());
GridData gd= new GridData(GridData.FILL_BOTH | GridData.GRAB_VERTICAL);
gd.heightHint= SIZING_SELECTION_WIDGET_HEIGHT;

Back to the top