protected void doHelpAction() {
   String helpTopic = null;
   final Collection<Configurable> v = myEnvToConfMap.values();
   final Configurable[] configurables = v.toArray(new Configurable[v.size()]);
   if (myMainPanel instanceof JTabbedPane) {
     final int tabIndex = ((JTabbedPane) myMainPanel).getSelectedIndex();
     if (tabIndex >= 0 && tabIndex < configurables.length) {
       helpTopic = configurables[tabIndex].getHelpTopic();
     }
   } else {
     helpTopic = configurables[0].getHelpTopic();
   }
   if (helpTopic != null) {
     HelpManager.getInstance().invokeHelp(helpTopic);
   } else {
     super.doHelpAction();
   }
 }