Bug 276869 [releng] Add e4 Contact demo to PSF and build
org.eclipse.e4.demo.contacts in the directory e4/org.eclipse.e4.ui/examples needs to be added to the PSF and included in the build. PW
examples/org.eclipse.e4.demo.contacts/src/org/eclipse/e4/demo/contacts/views/ListView.java
public class ListView implements IDisposable {
	private final TableViewer contactsViewer;
	public ListView(Composite parent, final IEclipseContext outputContext) {
		/
		final Composite tableComposite = new Composite(parent, SWT.NONE);
		tableComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true,
				true));
		final TableColumnLayout tableColumnLayout = new TableColumnLayout();
		tableComposite.setLayout(tableColumnLayout);
		/
		contactsViewer = new TableViewer(tableComposite, SWT.FULL_SELECTION);
		contactsViewer.getTable().setHeaderVisible(true);
		contactsViewer.getTable().setLinesVisible(true);
		contactsViewer.setContentProvider(new ArrayContentProvider());
		contactsViewer.setComparator(new ContactViewerComparator());
		contactsViewer
				.addSelectionChangedListener(new ISelectionChangedListener() {
					public void selectionChanged(SelectionChangedEvent event) {
						StructuredSelection selection = (StructuredSelection) event
								.getSelection();
						outputContext.set(IServiceConstants.SELECTION,
								selection.size() == 1 ? selection
										.getFirstElement() : selection
										.toArray());
					}
				});
		/
		final TableViewerColumn firstNameColumn = new TableViewerColumn(
				contactsViewer, SWT.NONE);
		firstNameColumn.getColumn().setText("First name");