Bug 331010 Track Model-Element contributors
We need to track which bundle contributed an model element to e.g. look up translations in the right package
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
private ListenerList listeners = new ListenerList();
	private boolean constructed = false;
	@Inject
	public PartServiceImpl(MApplication application, @Optional MWindow window) {
		
		this.application = application;
		workbenchWindow = window;
	}
	private void log(String unidentifiedMessage, String identifiedMessage, String id, Exception e) {
		if (id == null || id.length() == 0) {
			logger.error(e, unidentifiedMessage);
		} else {
			logger.error(e, NLS.bind(identifiedMessage, id));
		}
	}
	@Inject
	void setPart(@Optional @Named(IServiceConstants.ACTIVE_PART) MPart p) {
		if (activePart != p) {
			lastActivePart = activePart;
			activePart = p;
			
			if (constructed && !listeners.isEmpty()) {
				if (lastActivePart != null && lastActivePart != activePart) {
					firePartDeactivated(lastActivePart);
				}
				if (activePart != null) {
					firePartActivated(activePart);
				}
			}
		}