public void setMarkedTracks(final IMp3Track[] tracks) {
   if (Arrays.equals(tracks, markedTracks)) {
     return;
   }
   this.markedTracks = tracks;
   trackDetailModel.setSelectedTrack(tracks.length > 0 ? tracks[0] : null);
 }
 public void clearCurrentSelection() {
   currentSelection.clear();
   trackDetailModel.setSelectedTrack(null);
   fireTrackSelectionChanged();
 }
 public void removeFromCurrentSelection(int[] selectedIndices) {
   currentSelection.removeTracks(selectedIndices);
   trackDetailModel.setSelectedTrack(markedTracks.length > 0 ? markedTracks[0] : null);
   fireTrackSelectionChanged();
 }