@Override
    protected AnAction @NotNull [] createExtraToolbarActions() {
      return myUserList ? super.createExtraToolbarActions() : ArrayUtil.append(
        super.createExtraToolbarActions(),
        new DumbAwareAction(ActionsBundle.message("action.ChangesView.Revert.text"), null, AllIcons.Actions.Rollback) {
          @Override
          public void actionPerformed(@NotNull AnActionEvent e) {
            stopEditing();
            List<EnvironmentVariable> variables = getSelection();
            for (EnvironmentVariable environmentVariable : variables) {
              if (myParent.isModifiedSysEnv(environmentVariable)) {
                environmentVariable.setValue(myParent.myParentDefaults.get(environmentVariable.getName()));
                setModified();
              }
            }
            getTableView().revalidate();
            getTableView().repaint();
          }

          @Override
          public void update(@NotNull AnActionEvent e) {
            List<EnvironmentVariable> selection = getSelection();
            for (EnvironmentVariable variable : selection) {
              if (myParent.isModifiedSysEnv(variable)) {
                e.getPresentation().setEnabled(true);
                return;
              }
            }
            e.getPresentation().setEnabled(false);
          }

          @Override
          public @NotNull ActionUpdateThread getActionUpdateThread() {
            return ActionUpdateThread.EDT;
          }
        });
    }
@Override
    protected AnAction @NotNull [] createExtraToolbarActions()