Bug 278369 [ui] ExitHandler fails on dependency injection
Simple Example: Until yesterday, I could specify a Handler (that was bound to a command using the workbench model) like this: public class ExitHandler { public void execute(IWorkbench workbench) { workbench.close(); } } Today, I get the exception: java.lang.RuntimeException: could not find satisfiable method execute in class class org.eclipse.e4.demo.contacts.handlers.ExitHandler PW
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/internal/Workbench.java
workbench = model;
		init();
	}
	
	
	public void setWorkbenchModelURI(URI workbenchXmiURI) {
		createWorkbenchModel(workbenchXmiURI);
	}
	public static IEclipseContext createWorkbenchContext(
			final IEclipseContext applicationContext,
			IExtensionRegistry registry, IExceptionHandler exceptionHandler,
			IContributionFactory contributionFactory) {
		final IEclipseContext mainContext = EclipseContextFactory.create(
				applicationContext, UISchedulerStrategy.getInstance());
		mainContext.set(Logger.class.getName(), ContextInjectionFactory.inject(
				new WorkbenchLogger(), mainContext));
		mainContext.set(IContextConstants.DEBUG_STRING, "globalContext"); 
		
		if (contributionFactory != null) {
			mainContext.set(IContributionFactory.class.getName(),
					contributionFactory);
		}
		mainContext.set(CommandManager.class.getName(), new CommandManager());
		mainContext.set(ContextManager.class.getName(), new ContextManager());
		mainContext.set(ECommandService.class.getName(),
				new ContextCommandService(mainContext));
		mainContext.set(IServiceConstants.ACTIVE_CONTEXTS,
				new ActiveContextsFunction());