public static void registerAntExplorer(@NotNull Project project, @NotNull ToolWindow toolWindow) {
    AntExplorer explorer = new AntExplorer(project);
    ContentManager contentManager = toolWindow.getContentManager();
    Content content = contentManager.getFactory().createContent(explorer, null, false);
    contentManager.addContent(content);
    toolWindow.setHelpId(HelpID.ANT);
    content.setDisposer(explorer);
  }
public static void registerAntExplorer(@NotNull Project project, @NotNull ToolWindow toolWindow)