treeViewer.getTree().setLayoutData(
new GridData(SWT.FILL, SWT.FILL, true, true));
part.getSite().setSelectionProvider(treeViewer);
Platform.getAdapterManager().registerAdapters(this, Tree.class);
treeViewer.setLabelProvider(new WorkbenchLabelProvider());
treeViewer.setContentProvider(new BaseWorkbenchContentProvider());
treeViewer.setInput(rootTree);
treeViewer.addSelectionChangedListener(new ISelectionChangedListener() {
@SuppressWarnings("unchecked")
public void selectionChanged(SelectionChangedEvent event) {
Object o = ((ITreeSelection) treeViewer.getSelection())