예제 #1
0
 private void notifySourcepathChanged() {
   ArrayList<SourceListener> l = new ArrayList<SourceListener>(sourceListeners);
   SourcepathChangedEvent evt = new SourcepathChangedEvent(this);
   for (int i = 0; i < l.size(); i++) {
     l.get(i).sourcepathChanged(evt);
   }
 }
예제 #2
0
 public void removeSourceListener(SourceListener l) {
   sourceListeners.remove(l);
 }
예제 #3
0
 public void addSourceListener(SourceListener l) {
   sourceListeners.add(l);
 }