Search in sources :

Example 1 with AntExplorer

use of com.intellij.lang.ant.config.explorer.AntExplorer in project intellij-community by JetBrains.

the class AntToolWindowFactory method createToolWindowContent.

@Override
public void createToolWindowContent(@NotNull Project project, @NotNull ToolWindow toolWindow) {
    AntExplorer explorer = new AntExplorer(project);
    final ContentManager contentManager = toolWindow.getContentManager();
    final Content content = contentManager.getFactory().createContent(explorer, null, false);
    contentManager.addContent(content);
    Disposer.register(project, explorer);
}
Also used : AntExplorer(com.intellij.lang.ant.config.explorer.AntExplorer) Content(com.intellij.ui.content.Content) ContentManager(com.intellij.ui.content.ContentManager)

Aggregations

AntExplorer (com.intellij.lang.ant.config.explorer.AntExplorer)1 Content (com.intellij.ui.content.Content)1 ContentManager (com.intellij.ui.content.ContentManager)1