public static void addCollectionHistoryTab(@NotNull XDebugSession session,
                                             @NotNull String clsName,
                                             @NotNull String fieldName,
                                             @Nullable XValueNodeImpl node) {
    XDebugProcess process = session.getDebugProcess();
    RunnerLayoutUi ui = session.getUI();
    String title = JavaDebuggerBundle.message("collection.history.tab.title", clsName + "." + fieldName);
    for (Content content : ui.getContents()) {
      if (title.equals(content.getDisplayName())) {
        ui.removeContent(content, true);
      }
    }
    JComponent view = new CollectionHistoryView(clsName, fieldName, process, node).getComponent();
    Content content = ui.createContent(title, view, title, null, null);
    content.setCloseable(true);
    content.setDescription(JavaDebuggerBundle.message("collection.history"));
    ui.addContent(content);
    ui.selectAndFocus(content, true, true);
  }
public static void addCollectionHistoryTab(@NotNull XDebugSession session,
                                             @NotNull String clsName,
                                             @NotNull String fieldName,
                                             @Nullable XValueNodeImpl node)