Bug 316195 Improve "Show view" dialog
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/handlers/ShowViewDialog.java
}
		selectedDescriptors = new MPartDescriptor[tmp.size()];
		tmp.toArray(selectedDescriptors);
		super.okPressed();
	}
	protected void cancelPressed() {
		selectedDescriptors = null;
		super.cancelPressed();
	}
	protected void configureShell(Shell shell) {
		super.configureShell(shell);
		shell.setText("Show View");
	}
	/**
	 * Creates and returns the contents of the upper part of this dialog (above
	 * the button bar).
	 * 
	 * @param parent
	 *            the parent composite to contain the dialog area
	 * @return the dialog area control
	 */
	protected Control createDialogArea(Composite parent) {
		Composite composite = (Composite) super.createDialogArea(parent);
		composite.setFont(parent.getFont());
		tableViewer = new TableViewer(composite, SWT.H_SCROLL | SWT.V_SCROLL
				| SWT.BORDER | SWT.MULTI);
		tableViewer.setLabelProvider(new LabelProvider() {
			public String getText(Object element) {
				if (!(element instanceof MPartDescriptor))
					return super.getText(element);