Bug 316195 Improve "Show view" dialog
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/handlers/ShowViewDialog.java
return ((MPartDescriptor) element).getLabel();
			}
		});
		tableViewer.setContentProvider(new DescriptorProvider());
		tableViewer.setComparator(new ViewerComparator());
		tableViewer.setInput(application);
		layoutTopControl(tableViewer.getControl());
		applyDialogFont(composite);
		return composite;
	}
	public MPartDescriptor[] getSelection() {
		return selectedDescriptors;
	}
	/**
	 * Layout the top control.
	 * 
	 * @param control
	 *            the control.
	 */
	private void layoutTopControl(Control control) {
		GridData spec = new GridData(GridData.FILL_BOTH);
		spec.widthHint = 250;
		spec.heightHint = 300;
		control.setLayoutData(spec);
	}
	protected boolean isResizable() {
		return true;
	}
}