docs: private static IInfoPanel getInfoPanel(ElementBase element, boolean activeOnly) {
          if (element instanceof ElementPlugin) {
              ElementPlugin plugin = (ElementPlugin) element;
              
              if ((!activeOnly || plugin.isActivated()) && (plugin.getDefinition().getId().equals("infoPanelPlugin"))) {
                  plugin.load();
                  BaseComponent top = plugin.getOuterComponent().findByName("infoPanelRoot");
                  return (IInfoPanel) FrameworkController.getController(top);
              }
          }
          
          return null;
      }