void (@Nullable DesignerEditorPanelFacade designer) { myToolWindowPanel.update((GuiEditor)designer); if (designer == null) { myToolWindow.setAvailable(false); } else { myToolWindow.setAvailable(true); myToolWindow.show(null); } }