/** 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(); }
/** 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); }
/** Reset the caches of toolset plugins and plugin menu layouts. */ @Override public void clearPluginCache() { super.clearPluginCache(); for (JFileSeqPanel panel : pFileSeqPanels.values()) panel.clearPluginCache(); }
/** * 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(); }