ContentManagerUI

A ContentManagerUI is an interface to modify the ui behaviours of a content manager. See the related page in the plaf module for the how-to mount a ContentManagerUI and how implement one by yourself.

MyDoggy provides three kind of ContentManagerUI...

MyDoggyMultiSplitContentManagerUI

MultisplitContentManagerUI

This interface represents a ui that use a component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon. The position of each tab can be customized from the ui or by code.

MyDoggyTabbedContentManagerUI

TabbedContentManagerUI

This interface represents a ui that use a component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon (i.e. JTabbedPane).

MyDoggyDesktopContentManagerUI

DesktopContentManagerUI

This interface represents a ui that use a container to create a multiple-document interface or a virtual desktop.

If you want to change the ContentManagerUI use the following :

ToolWindowManager toolWindowManager = new...;
ContentManager contentManager = toolWindowManager.getContentManager();
ContentManagerUI contentManagerUI = new
... TODO
contentManager.setContentManagerUI(contentManagerUI);
            

ContentUI

This interface is used to modify the ui behaviours of a single content. When you define a new ContentManagerUI you can also extend the ContentUI interface. In fact relative to TabbedContentManagerUI, DesktopContentManagerUI and MultiSplitContentManagerUI you can found TabbedContentUI, DesktopContentUI and MultiSplitContentUI interfaces. Using the default ContentUI interface you can manage transparent support and decide if a content is closeable and/or detachable using the ui.