use of com.intellij.ui.content.ContentFactory in project android by JetBrains.
the class AndroidModelView method createToolWindowContent.
public void createToolWindowContent(@NotNull ToolWindow toolWindow) {
ContentFactory contentFactory = ContentFactory.SERVICE.getInstance();
JPanel toolWindowPanel = ToolWindowAlikePanel.createTreePanel(myProject.getName(), myTree);
Content content = contentFactory.createContent(toolWindowPanel, "", false);
toolWindow.getContentManager().addContent(content);
updateContents();
}
use of com.intellij.ui.content.ContentFactory in project android by JetBrains.
the class InternalAndroidModelView method createToolWindowContent.
public void createToolWindowContent(@NotNull ToolWindow toolWindow) {
ContentFactory contentFactory = ContentFactory.SERVICE.getInstance();
JPanel toolWindowPanel = ToolWindowAlikePanel.createTreePanel(myProject.getName(), myTree);
Content content = contentFactory.createContent(toolWindowPanel, "", false);
toolWindow.getContentManager().addContent(content);
updateContents();
}
use of com.intellij.ui.content.ContentFactory in project android by JetBrains.
the class AndroidMonitorToolWindowFactory method createToolWindowContent.
@Override
public void createToolWindowContent(@NotNull Project project, @NotNull ToolWindow toolWindow) {
AndroidMonitorToolWindow view = new AndroidMonitorToolWindow(project);
ContentFactory contentFactory = ContentFactory.SERVICE.getInstance();
Content content = contentFactory.createContent(view.getComponent(), "", false);
toolWindow.getContentManager().addContent(content);
}
use of com.intellij.ui.content.ContentFactory in project android by JetBrains.
the class BuildVariantView method createToolWindowContent.
/**
* Creates the contents of the "Build Variants" tool window.
*
* @param toolWindow the tool window whose contents will be created.
*/
public void createToolWindowContent(@NotNull ToolWindow toolWindow) {
ContentFactory contentFactory = ContentFactory.SERVICE.getInstance();
Content content = contentFactory.createContent(myToolWindowPanel, "", false);
toolWindow.getContentManager().addContent(content);
updateContents();
}
use of com.intellij.ui.content.ContentFactory in project android by JetBrains.
the class CapturesToolWindowFactory method createToolWindowContent.
@Override
public void createToolWindowContent(@NotNull Project project, @NotNull ToolWindow toolWindow) {
CapturesToolWindow view = new CapturesToolWindow(project);
ContentFactory contentFactory = ContentFactory.SERVICE.getInstance();
Content content = contentFactory.createContent(view.getComponent(), "", false);
toolWindow.getContentManager().addContent(content);
}
Aggregations