void (XValueNodeImpl node, @NotNull String nodeName, AnActionEvent e) { final Project project = e.getProject(); final MyTabbedConfigurable configurable = new MyTabbedConfigurable(); SingleConfigurableEditor editor = new SingleConfigurableEditor(project, configurable) { @Override protected void doOKAction() { //noinspection AssignmentToStaticFieldFromInstanceMethod ourLastSelectedTabIndex = configurable.getSelectedIndex(); super.doOKAction(); } @Override public void doCancelAction() { //noinspection AssignmentToStaticFieldFromInstanceMethod ourLastSelectedTabIndex = configurable.getSelectedIndex(); super.doCancelAction(); } }; editor.show(); }