public void addRootGroup(Directory dir) { if (imageFileTreeModel.containsRootGroup(dir)) { return; } dir.addPropertyChangeListener(this); imageFileTreeModel.addRootGroup(dir); }
public void removeRootGroup(Directory dir) { imageFileTreeModel.removeRootGroup(dir); dir.removePropertyChangeListener(this); }