new Label(composite, SWT.NONE).setText(Messages.getString("select.location")); //$NON-NLS-1$
viewer = new TreeViewer(composite, SWT.BORDER | SWT.SINGLE | SWT.H_SCROLL | SWT.V_SCROLL);
viewer.getTree().setLayoutData(new GridData(GridData.FILL_BOTH));
viewer.setLabelProvider(new WorkbenchLabelProvider());
WorkbenchContentProvider cp = new WorkbenchContentProvider();
viewer.setContentProvider(cp);
viewer.setFilters(new ViewerFilter[] { new ProjectFilter() });
viewer.addPostSelectionChangedListener(new ISelectionChangedListener() {
public void selectionChanged(SelectionChangedEvent event) {
updateModel();