예제 #1
0
 public void addRootGroup(Directory dir) {
   if (imageFileTreeModel.containsRootGroup(dir)) {
     return;
   }
   dir.addPropertyChangeListener(this);
   imageFileTreeModel.addRootGroup(dir);
 }
예제 #2
0
 public void removeRootGroup(Directory dir) {
   imageFileTreeModel.removeRootGroup(dir);
   dir.removePropertyChangeListener(this);
 }