protected TreeViewer createTreeViewer(Composite parent) {
int style = SWT.BORDER | SWT.SINGLE;
TreeViewer treeViewer = new TreeViewer(new Tree(parent, style));
treeViewer.setContentProvider(new WorkbenchContentProvider());
treeViewer.setLabelProvider(WorkbenchLabelProvider.getDecoratingWorkbenchLabelProvider());
treeViewer.setComparator(new NameSorter());
treeViewer.addFilter(getFilter());
IWorkspaceRoot workspaceRoot = ResourcesPlugin.getWorkspace().getRoot();
treeViewer.setInput(workspaceRoot);