Content (@NotNull XDebugSessionImpl session, @Nullable XWatchesViewImpl watchesView) { myWatchesView = watchesView != null ? watchesView : new XWatchesViewImpl(session, myWatchesInVariables); registerView(DebuggerContentInfo.WATCHES_CONTENT, myWatchesView); Content watchesContent = myUi.createContent(DebuggerContentInfo.WATCHES_CONTENT, myWatchesView.getPanel(), XDebuggerBundle.message("debugger.session.tab.watches.title"), null, myWatchesView.getDefaultFocusedComponent()); watchesContent.setCloseable(false); return watchesContent; }