ContentManagerUI contentManagerUI = toolWindowManager.getContentManager().getContentManagerUI();
if (contentManagerUI instanceof DesktopContentManagerUI)
this.desktopContentManagerUI = (DesktopContentManagerUI) contentManagerUI;
else
this.desktopContentManagerUI = new MyDoggyDesktopContentManagerUI();
}