parent.setLayout(containerLayout);
viewer = new TreeViewer(parent, SWT.SINGLE | SWT.H_SCROLL | SWT.V_SCROLL);
drillDownAdapter = new DrillDownAdapter(viewer);
viewer.setContentProvider(new StatsViewContentProvider(getViewSite()));
viewer.setLabelProvider(new StatsViewLabelProvider());
viewer.setSorter(new StatsNameSorter());
viewer.setInput(getViewSite());
viewer.getTree().setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
viewer.addSelectionChangedListener(viewerSelectionChanged);