use of com.intellij.ide.favoritesTreeView.FavoritesTreeViewPanel in project intellij-community by JetBrains.
the class FavoritesViewToolWindowFactory method createToolWindowContent.
@Override
public void createToolWindowContent(@NotNull Project project, @NotNull ToolWindow toolWindow) {
final ContentManager contentManager = toolWindow.getContentManager();
final FavoritesTreeViewPanel panel = new FavoritesPanel(project).getPanel();
panel.setupToolWindow((ToolWindowEx) toolWindow);
final Content content = contentManager.getFactory().createContent(panel, null, false);
contentManager.addContent(content);
}
Aggregations