ToolWindowGroup group = toolWindowManager.getToolWindowGroup("group_name");
Returns the tool window group to which this manager maps the specified name. If the manager contains no mapping for this name then the manager create a new instance of ToolWindowGroup and associates the group created with the specified name in this manager.
toolWindowManager.removeToolWindowGroup("group_name");
Removes the tool window group for this name from this manager if it is present.
boolean contains = toolWindowManager.containsGroup("group_name");
Returns true if this manager contains a group for the specified name.
ToolWindowGroup group = toolWindowManager.getToolWindowGroup("group_name");
ToolWindow debugTool = toolWindowManager.getToolWindow("Debug");
group.addToolWindow(debugTool);
Appends the specified tool window to the end of this group.
ToolWindowGroup group = toolWindowManager.getToolWindowGroup("group_name");
ToolWindow debugTool = toolWindowManager.getToolWindow("Debug");
group.removeToolWindow(debugTool);
Removes the occurrence in this group of the specified tool window.
ToolWindowGroup group = toolWindowManager.getToolWindowGroup("group_name");
group.setVisible(true);
Invokes setVisible(visible) on all toolwindows contained in this group
in proper sequence.
ToolWindowGroup group = toolWindowManager.getToolWindowGroup("group_name");
group.addToolWindowGroupListener(listener);
Registers listener so that it will receive events when
the groups are made visibile or invisible, when a tool is added or removed.
If listener listener is null,
no exception is thrown and no action is performed.