toolwindow combo content ui - default state (+applied for hierarchy) - 2

This commit is contained in:
Kirill Kalishev
2009-11-03 14:45:42 +03:00
parent 92ed41b128
commit 4624eb4cf3
2 changed files with 1 additions and 2 deletions
@@ -48,7 +48,6 @@ public final class HierarchyBrowserManager implements PersistentStateComponent<H
public HierarchyBrowserManager(final Project project) {
final ToolWindowManager toolWindowManager=ToolWindowManager.getInstance(project);
final ToolWindow toolWindow = toolWindowManager.registerToolWindow(ToolWindowId.HIERARCHY, true, ToolWindowAnchor.RIGHT, project);
toolWindow.setDefaultContentUiType(ToolWindowContentUiType.COMBO);
myContentManager = toolWindow.getContentManager();
toolWindow.setIcon(IconLoader.getIcon("/general/toolWindowHierarchy.png"));
new ContentManagerWatcher(toolWindow,myContentManager);
@@ -15,6 +15,6 @@
<!-- right stripe -->
<window_info id="Commander" active="false" anchor="right" order="0" auto_hide="false" internal_type="sliding" type="sliding" visible="false" weight="0.4" />
<window_info id="Ant Build" active="false" anchor="right" order="1" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" />
<window_info id="Hierarchy" active="false" anchor="right" order="2" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" />
<window_info id="Hierarchy" active="false" anchor="right" order="2" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" content_ui="combo"/>
</layout>
</component>