Пример #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);
 }