Пример #1
0
 // TODO zgire - why iterate through tracksToRemove if you end up calling clearFeatures() at the
 // end?
 public void clearTracksForReloadState() {
   ArrayList<HiCTrack> tracksToRemove = new ArrayList<HiCTrack>(trackManager.getLoadedTracks());
   for (HiCTrack trackToRemove : tracksToRemove) {
     if (trackToRemove.getName().equals(eigString)) {
       eigenvectorTrack = null;
     } else if (trackToRemove.getName().equals(ctrlEigString)) {
       controlEigenvectorTrack = null;
     } else {
       trackManager.removeTrack(trackToRemove);
     }
   }
   clearFeatures();
   superAdapter.updateTrackPanel();
 }
Пример #2
0
 public List<HiCTrack> getLoadedTrackList() {
   return trackManager.getLoadedTracks();
 }
Пример #3
0
 public java.util.List<HiCTrack> getLoadedTracks() {
   return trackManager == null ? new ArrayList<HiCTrack>() : trackManager.getLoadedTracks();
 }