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
windowHandler.setBounds(appWindow, wbw.getX(), wbw.getY(), wbw
					.getWidth(), wbw.getHeight());
			windowHandler.layout(appWindow);
			windowHandler.open(appWindow);
			processHandlers(wbw);
		}
	}
	public void close() {
		final EList<? extends MWindow> windows = workbench.getWindows();
		for (MWindow window : windows) {
			windowHandler.dispose(window.getWidget());
		}
	}
	
	
	
	public void closeWindow(MWorkbenchWindow workbenchWindow) {
		windowHandler.close(workbenchWindow.getWidget());
	}
	public Object getWindow() {
		return workbench.getWindows().get(0).getWidget();
	}
}