LightToolWindow (@NotNull DesignerEditorPanelFacade designer) { PalettePanel palettePanel = new PalettePanel(); palettePanel.loadPalette((DesignerEditorPanel)designer); return createContent(designer, palettePanel, DesignerBundle.message("palette.toolwindow.title"), AllIcons.Toolwindows.ToolWindowPalette, palettePanel, palettePanel, 180, null); }