Example #1
0
 /** Adds a directory to the internal list, resetting 'dirty' only if it wasn't dirty already. */
 void addAndKeepDirtyStatus(Set<File> foldersToShare, Set<File> foldersToExclude) {
   for (File folder : foldersToShare) {
     sharingPanel.addRoot(folder);
   }
   sharingPanel.addFoldersToExclude(foldersToExclude);
 }