Bug 296364 [context] The constructors used by the injection mechanism should have @Inject
examples/org.eclipse.e4.demo.contacts/src/org/eclipse/e4/demo/contacts/views/ListView.java
new ColumnWeightData(40));
		/
		final TableViewerColumn lastNameColumn = new TableViewerColumn(
				contactsViewer, SWT.NONE);
		lastNameColumn.getColumn().setText("Last Name");
		tableColumnLayout.setColumnData(lastNameColumn.getColumn(),
				new ColumnWeightData(60));
		ObservableListContentProvider contentProvider = new ObservableListContentProvider();
		contactsViewer.setContentProvider(contentProvider);
		IObservableMap[] attributes = BeansObservables.observeMaps(
				contentProvider.getKnownElements(), Contact.class,
				new String[] { "firstName", "lastName" });
		contactsViewer.setLabelProvider(new ObservableMapLabelProvider(
				attributes));
		contactsViewer.setInput(ContactsRepositoryFactory.getContactsRepository().getAllContacts());
		GridLayoutFactory.fillDefaults().generateLayout(parent);
	}
	@PreDestroy
	void preDestroy() {
		for (Object object : ContactsRepositoryFactory
				.getContactsRepository().getAllContacts()) {
			Contact contact = (Contact) object;
			Image image = contact.getImage();
			if (image != null) {
				image.dispose();
			}
		}
	}
}