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.e4photo/src/org/eclipse/e4/demo/e4photo/Library.java
if (added) {
											set.add(resource);
										} else {
											set.remove(resource);
										}
									}
								});
							}
						}
					});
				} catch (CoreException e) {
					
					e.printStackTrace();
				}
			}
		}
	};
	private final IWorkspace workspace;
	static int counter;
	
	@Inject
	private ESelectionService selectionService;
	@Inject
	public Library(Composite parent, final IWorkspace workspace) {
		final Realm realm = SWTObservables.getRealm(parent.getDisplay());
		this.workspace = workspace;
		initializeWorkspace();
		TreeViewer viewer = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
		viewer.getTree().setData("org.eclipse.e4.ui.css.id", "library");