Bug 331668 ESelectionService should not notify listeners if the active part does not post selections
Even if you do not set a selection provider for your IWorkbenchPart implementation, we are still propagating selection events for that part within the given workbench window.
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/application/ESelectionServiceTest.java
applicationContext, null);
		assertEquals(selection, handler.selection);
		handler.selection = null;
		ContextInjectionFactory.invoke(handler, Execute.class, windowContext,
				null);
		assertEquals(selection, handler.selection);
		handler.selection = null;
		ContextInjectionFactory.invoke(handler, Execute.class, partContextA,
				null);
		assertEquals(selection, handler.selection);
		handler.selection = null;
		ContextInjectionFactory.invoke(handler, Execute.class, partContextB,
				null);
		assertNull(handler.selection);
		EPartService partService = (EPartService) windowContext
				.get(EPartService.class.getName());
		partService.activate(partB);
		ContextInjectionFactory.invoke(handler, Execute.class,
				applicationContext, null);
		assertNull(handler.selection);
		handler.selection = null;
		ContextInjectionFactory.invoke(handler, Execute.class, windowContext,
				null);
		assertNull(handler.selection);
		handler.selection = null;
		ContextInjectionFactory.invoke(handler, Execute.class, partContextA,
				null);
		assertEquals(selection, handler.selection);
		handler.selection = null;
		ContextInjectionFactory.invoke(handler, Execute.class, partContextB,