LightToolWindow (@NotNull DesignerEditorPanelFacade designer) { DesignerToolWindow toolWindowContent = new DesignerToolWindow(myProject, false); toolWindowContent.update((DesignerEditorPanel)designer); return createContent(designer, toolWindowContent, DesignerBundle.message("designer.toolwindow.title"), AllIcons.Toolwindows.ToolWindowUIDesigner, toolWindowContent.getToolWindowPanel(), toolWindowContent.getComponentTree(), 320, toolWindowContent.createActions()); }