Ejemplo n.º 1
0
  /**
   * Apply the updated information to this panel.
   *
   * @param author Owner of the current working area.
   * @param view Name of the current working area view.
   * @param status The current status for the node being displayed.
   * @param novelty The per-file novelty flags.
   * @param offline The revision numbers of the offline checked-in versions.
   */
  public synchronized void applyPanelUpdates(
      String author,
      String view,
      NodeStatus status,
      TreeMap<VersionID, TreeMap<FileSeq, boolean[]>> novelty,
      TreeSet<VersionID> offline) {
    if (!pAuthor.equals(author) || !pView.equals(view)) super.setAuthorView(author, view);

    updateNodeStatus(status, novelty, offline);
  }
Ejemplo n.º 2
0
  /** Set the author and view. */
  @Override
  public synchronized void setAuthorView(String author, String view) {
    super.setAuthorView(author, view);

    updatePanels();
  }