public void reset(String intentionCategory) {
    try {
      DescriptionEditorPaneKt.readHTML(myDescriptionBrowser,
                                       CodeInsightBundle.message("intention.settings.category.text", intentionCategory));

      TextDescriptor beforeTemplate =
        new PlainTextDescriptor(CodeInsightBundle.message("templates.intention.settings.category.before"), BEFORE_TEMPLATE);
      showUsages(myBeforePanel, myBeforeUsagePanels, new TextDescriptor[]{beforeTemplate});
      TextDescriptor afterTemplate =
        new PlainTextDescriptor(CodeInsightBundle.message("templates.intention.settings.category.after"), AFTER_TEMPLATE);
      myBeforeWrapperPanel.setVisible(true);
      myAfterWrapperPanel.setVisible(true);
      showUsages(myAfterPanel, myAfterUsagePanels, new TextDescriptor[]{afterTemplate});

      SwingUtilities.invokeLater(() -> myPanel.revalidate());
    }
    catch (IOException e) {
      LOG.error(e);
    }
  }
public void reset(String intentionCategory)