public final class ToolWindowHeadlessManagerImpl extends ToolWindowManagerEx
Modifier and Type | Class and Description |
---|---|
static class |
ToolWindowHeadlessManagerImpl.MockToolWindow |
Constructor and Description |
---|
ToolWindowHeadlessManagerImpl(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
activateEditorComponent() |
boolean |
canShowNotification(java.lang.String toolWindowId) |
void |
clearSideStack() |
ToolWindow |
doRegisterToolWindow(java.lang.String id) |
java.lang.String |
getActiveToolWindowId() |
IdeFocusManager |
getFocusManager() |
java.util.List<java.lang.String> |
getIdsOn(ToolWindowAnchor anchor) |
java.lang.String |
getLastActiveToolWindowId() |
java.lang.String |
getLastActiveToolWindowId(Condition<? super javax.swing.JComponent> condition) |
DesktopLayout |
getLayout() |
DesktopLayout |
getLayoutToRestoreLater() |
javax.swing.Icon |
getLocationIcon(java.lang.String id,
javax.swing.Icon fallbackIcon) |
ToolWindow |
getToolWindow(java.lang.String id) |
Balloon |
getToolWindowBalloon(java.lang.String id) |
java.lang.String [] |
getToolWindowIds() |
java.util.Set<java.lang.String> |
getToolWindowIdSet() |
void |
hideToolWindow(java.lang.String id,
boolean hideSide) |
void |
init(ProjectFrameHelper frameHelper) |
void |
initToolWindow(ToolWindowEP bean) |
void |
invokeLater(java.lang.Runnable runnable) |
boolean |
isEditorComponentActive() |
boolean |
isMaximized(ToolWindow wnd) |
void |
notifyByBalloon(java.lang.String toolWindowId,
MessageType type,
java.lang.String htmlBody) |
void |
notifyByBalloon(java.lang.String toolWindowId,
MessageType type,
java.lang.String text,
javax.swing.Icon icon,
javax.swing.event.HyperlinkListener listener) |
ToolWindow |
registerToolWindow(RegisterToolWindowTask task) |
void |
setLayout(DesktopLayout layout)
Copied
layout into internal layout and rearranges tool windows. |
void |
setLayoutToRestoreLater(DesktopLayout layout) |
void |
setMaximized(ToolWindow window,
boolean maximized) |
void |
unregisterToolWindow(java.lang.String id) |
addToolWindowManagerListener, addToolWindowManagerListener, getInstanceEx, removeToolWindowManagerListener
public ToolWindowHeadlessManagerImpl(Project project)
public boolean canShowNotification(java.lang.String toolWindowId)
public void notifyByBalloon(java.lang.String toolWindowId, MessageType type, java.lang.String htmlBody)
public ToolWindow doRegisterToolWindow(java.lang.String id)
public ToolWindow registerToolWindow(RegisterToolWindowTask task)
public void unregisterToolWindow(java.lang.String id)
public void activateEditorComponent()
public boolean isEditorComponentActive()
public java.lang.String [] getToolWindowIds()
public java.util.Set<java.lang.String> getToolWindowIdSet()
public java.lang.String getActiveToolWindowId()
public ToolWindow getToolWindow(java.lang.String id)
public void invokeLater(java.lang.Runnable runnable)
public IdeFocusManager getFocusManager()
public void notifyByBalloon(java.lang.String toolWindowId, MessageType type, java.lang.String text, javax.swing.Icon icon, javax.swing.event.HyperlinkListener listener)
public Balloon getToolWindowBalloon(java.lang.String id)
public boolean isMaximized(ToolWindow wnd)
public void setMaximized(ToolWindow window, boolean maximized)
public void initToolWindow(ToolWindowEP bean)
initToolWindow
in class ToolWindowManagerEx
public void init(ProjectFrameHelper frameHelper)
init
in class ToolWindowManagerEx
public java.lang.String getLastActiveToolWindowId()
getLastActiveToolWindowId
in class ToolWindowManagerEx
ID
of tool window that was activated last time.public java.lang.String getLastActiveToolWindowId(Condition<? super javax.swing.JComponent> condition)
getLastActiveToolWindowId
in class ToolWindowManagerEx
ID
of tool window which was last activated among tool windows satisfying the current conditionpublic DesktopLayout getLayout()
getLayout
in class ToolWindowManagerEx
public void setLayoutToRestoreLater(DesktopLayout layout)
setLayoutToRestoreLater
in class ToolWindowManagerEx
public DesktopLayout getLayoutToRestoreLater()
getLayoutToRestoreLater
in class ToolWindowManagerEx
public void setLayout(DesktopLayout layout)
ToolWindowManagerEx
layout
into internal layout and rearranges tool windows.setLayout
in class ToolWindowManagerEx
public void clearSideStack()
clearSideStack
in class ToolWindowManagerEx
public void hideToolWindow(java.lang.String id, boolean hideSide)
hideToolWindow
in class ToolWindowManagerEx
public java.util.List<java.lang.String> getIdsOn(ToolWindowAnchor anchor)
getIdsOn
in class ToolWindowManagerEx
public javax.swing.Icon getLocationIcon(java.lang.String id, javax.swing.Icon fallbackIcon)
getLocationIcon
in class ToolWindowManagerEx