Example #1
0
 private void fireUpdate(final Event event) {
   if (event.reposChanged() == 0 && event.pkgsChanged() == 0 && event.viewsChanged() == 0) {
     return;
   }
   final Listener[] listeners = fListeners.toArray();
   for (int i = 0; i < listeners.length; i++) {
     listeners[i].handleChange(event);
   }
 }
Example #2
0
 @Override
 public void addListener(final Listener listener) {
   fListeners.add(listener);
 }
Example #3
0
 @Override
 public void removeListener(final Listener listener) {
   fListeners.remove(listener);
 }
 public List<? extends IERGraphic> getAllGraphics() {
   return new ConstList<EclipseRGraphic>(fGraphics.toArray());
 }