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