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); } }
@Override public void addListener(final Listener listener) { fListeners.add(listener); }
@Override public void removeListener(final Listener listener) { fListeners.remove(listener); }
public List<? extends IERGraphic> getAllGraphics() { return new ConstList<EclipseRGraphic>(fGraphics.toArray()); }