LightToolWindowManager () { AbstractToolWindowManager designerManager = DesignerToolWindowManager.getInstance(myProject); AbstractToolWindowManager paletteManager = PaletteToolWindowManager.getInstance(myProject); return myManager == designerManager ? paletteManager : designerManager; }