public final class UsageViewContentManagerImpl extends UsageViewContentManager
Constructor and Description |
---|
UsageViewContentManagerImpl(Project project) |
UsageViewContentManagerImpl(Project project,
ToolWindowManager toolWindowManager) |
Modifier and Type | Method and Description |
---|---|
Content |
addContent(java.lang.String contentName,
boolean reusable,
javax.swing.JComponent component,
boolean toOpenInNewTab,
boolean isLockable) |
Content |
addContent(java.lang.String contentName,
java.lang.String tabName,
java.lang.String toolwindowTitle,
boolean reusable,
javax.swing.JComponent component,
boolean toOpenInNewTab,
boolean isLockable) |
void |
closeContent(Content content) |
int |
getReusableContentsCount() |
Content |
getSelectedContent() |
Content |
getSelectedContent(boolean reusable) |
getInstance
public UsageViewContentManagerImpl(Project project)
public UsageViewContentManagerImpl(Project project, ToolWindowManager toolWindowManager)
public Content addContent(java.lang.String contentName, boolean reusable, javax.swing.JComponent component, boolean toOpenInNewTab, boolean isLockable)
addContent
in class UsageViewContentManager
public Content addContent(java.lang.String contentName, java.lang.String tabName, java.lang.String toolwindowTitle, boolean reusable, javax.swing.JComponent component, boolean toOpenInNewTab, boolean isLockable)
addContent
in class UsageViewContentManager
public int getReusableContentsCount()
getReusableContentsCount
in class UsageViewContentManager
public Content getSelectedContent(boolean reusable)
getSelectedContent
in class UsageViewContentManager
public Content getSelectedContent()
getSelectedContent
in class UsageViewContentManager
public void closeContent(Content content)
closeContent
in class UsageViewContentManager