LoadContextUndoableAction (WorkingContextManager manager, boolean clear, final Task task) { return new LoadContextUndoableAction(manager, clear) { @Override protected void doLoad() { myManager.restoreContext(task); } }; }