void (@NotNull ToolWindowContentUiType type) { if (this.type == type) { return; } if (this.type != null) { getCurrentLayout().reset(); } this.type = type; getCurrentLayout().init(contentManager); rebuild(); }