1 33 34 package edu.rice.cs.drjava.model; 35 36 import java.io.File ; 37 38 70 class JavadocEventNotifier extends EventNotifier<JavadocListener> 71 implements JavadocListener { 72 73 74 public void javadocStarted() { 75 _lock.startRead(); 76 try { for (JavadocListener jl: _listeners) { jl.javadocStarted(); } } 77 finally { _lock.endRead(); } 78 } 79 80 86 public void javadocEnded(boolean success, File destDir, boolean allDocs) { 87 _lock.startRead(); 88 try { for (JavadocListener jl: _listeners) { jl.javadocEnded(success, destDir, allDocs); } } 89 finally { _lock.endRead();} 90 } 91 92 95 public void saveBeforeJavadoc() { 96 _lock.startRead(); 97 try { for (JavadocListener jl: _listeners) { jl.saveBeforeJavadoc(); } } 98 finally { _lock.endRead(); } 99 } 100 } 101 102 | Popular Tags |