public void removeTrack(ResourceLocator locator) { if (resourceTree != null) resourceTree.remove(locator); if (encodeAction != null) encodeAction.remove(locator); trackManager.removeTrack(locator); }
public void removeTrack(HiCTrack track) { if (resourceTree != null) resourceTree.remove(track.getLocator()); if (encodeAction != null) encodeAction.remove(track.getLocator()); trackManager.removeTrack(track); }