Exemple #1
0
 /** A repository root has been added. Notify any listeners. */
 public void rootAdded(ICVSRepositoryLocation root) {
   Iterator it = listeners.iterator();
   while (it.hasNext()) {
     IRepositoryListener listener = (IRepositoryListener) it.next();
     listener.repositoryAdded(root);
   }
 }
Exemple #2
0
 private void broadcastRepositoriesChanged(ICVSRepositoryLocation[] roots) {
   if (roots.length == 0) return;
   Iterator it = listeners.iterator();
   while (it.hasNext()) {
     IRepositoryListener listener = (IRepositoryListener) it.next();
     listener.repositoriesChanged(roots);
   }
 }