void (XStackFrame frame, InlineWatch watch, int index, boolean navigateToWatchNode) { InlineWatchNodeImpl message = new InlineWatchNodeImpl(myTree, myInlinesRootNode, watch, frame); if (index == -1) { myInlinesGroup.getChildren().add(message); index = myInlinesGroup.getChildren().size() - 1; } else { myInlinesGroup.getChildren().add(index, message); } if (myInlinesGroup.getChildren().size() == 1) { myTree.getTreeModel().reload(); } fireInlineNodeInserted(index); message.computePresentationIfNeeded(); TreeUtil.selectNode(myTree, message); if (navigateToWatchNode) { myTree.scrollPathToVisible(message.getPath()); } }