Exemplo n.º 1
0
 /**
  * Notify our listeners about a removed track.
  *
  * @param track the removed track
  */
 private void notifyRemoveTrack(final GpsTrack track) {
   for (ITracksChangeListener listener : myListeners) {
     listener.updateTrack(TrackEvent.REMOVE, track);
   }
 }
Exemplo n.º 2
0
 /**
  * Notify our listeners about an added track.
  *
  * @param track the added track
  */
 private void notifyAddTrack(final GpsTrack track) {
   for (ITracksChangeListener listener : myListeners) {
     listener.updateTrack(TrackEvent.ADD, track);
   }
 }