LoadContextUndoableAction (WorkingContextManager manager, boolean clear, final String contextName) { return new LoadContextUndoableAction(manager, clear) { @Override protected void doLoad() { myManager.loadContext(contextName); } }; }