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.
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/application/ClientEditor.java
@Inject
	private MDirtyable dirtyable;
	private boolean saveCalled = false;
	private boolean throwException = false;
	public void setThrowException(boolean throwException) {
		this.throwException = throwException;
	}
	@Persist
	void doSave() {
		saveCalled = true;
		if (throwException) {
			throw new RuntimeException();
		}
		dirtyable.setDirty(false);
	}
	public boolean wasSaveCalled() {
		return saveCalled;
	}
}