Bug 327925 Deprecate EPartService's deactivate(MPart) method
It has been marked as @noreference for some time. Now that part activation history has been implemented and the hidePart(*) methods have been altered to take care of this, the deactivate(MPart) method should be removed.
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/application/HeadlessContextPresentationEngine.java
@Inject
	private IEventBroker eventBroker;
	@Inject
	private IContributionFactory contributionFactory;
	private EventHandler childHandler;
	private EventHandler activeChildHandler;
	private EventHandler toBeRenderedHandler;
	private boolean createContributions = true;
	@Inject
	private EModelService modelService;
	protected IEclipseContext getParentContext(MUIElement element) {
		return modelService.getContainingContext(element);
	}
	private static void populateModelInterfaces(MContext contextModel,
			IEclipseContext context, Class<?>[] interfaces) {
		for (Class<?> intf : interfaces) {
			Activator.trace(Policy.DEBUG_CONTEXTS,
					"Adding " + intf.getName() + " for " 
							+ contextModel.getClass().getName(), null);
			context.set(intf.getName(), contextModel);
			populateModelInterfaces(contextModel, context, intf.getInterfaces());
		}
	}
	@PostConstruct
	void postConstruct() {
		childHandler = new EventHandler() {
			public void handleEvent(Event event) {