LightToolWindow (@NotNull DesignerEditorPanelFacade designer) { PaletteWindow palettePanel = new PaletteWindow(myProject); palettePanel.refreshPaletteIfChanged((GuiEditor)designer); return createContent(designer, palettePanel, IdeBundle.message("toolwindow.palette"), AllIcons.Toolwindows.ToolWindowPalette, palettePanel, palettePanel, 180, null); }