Bug 310199 Need logic to grant focus to parts when their tab item has been selected
Build Id: I20100421-2055 I'm not sure why, but I noticed that in e4 on the macosx-cocoa, selecting an element often causes a blue focus halo to appear. It's a bit ugly.
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();
			}
		}
	}
}