Пример #1
0
  /** Replace working files with the selected checked-in files. */
  @Override
  public void doApply() {
    super.doApply();

    if (pIsFrozen) return;

    TreeMap<String, VersionID> files = new TreeMap<String, VersionID>();
    for (JFileSeqPanel panel : pFileSeqPanels.values()) files.putAll(panel.getFilesToRevert());

    RevertTask task = new RevertTask(files);
    task.start();
  }
Пример #2
0
  /** Register the name of a panel property which has just been modified. */
  @Override
  public void unsavedChange(String name) {
    for (JFileSeqPanel panel : pFileSeqPanels.values()) panel.setApplyItemEnabled(true);

    super.unsavedChange(name);
  }
Пример #3
0
 /** Reset the caches of toolset plugins and plugin menu layouts. */
 @Override
 public void clearPluginCache() {
   super.clearPluginCache();
   for (JFileSeqPanel panel : pFileSeqPanels.values()) panel.clearPluginCache();
 }
Пример #4
0
  /**
   * Perform any operations needed after an panel operation has completed.
   *
   * <p>This method is run by the Swing Event thread.
   */
  @Override
  public void postPanelOp() {
    for (JFileSeqPanel panel : pFileSeqPanels.values()) panel.setApplyItemEnabled(false);

    super.postPanelOp();
  }