Project: Eclipse_Platform_UI
Bug 278369 [ui] ExitHandler fails on dependency injection
Reported: 2009-05-29 07:25:10 | Status: resolved fixed

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

Files changed in fix:
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/internal/Workbench.java