File tree Expand file tree Collapse file tree
mastodon-plugin/src/main/java/org/mastodon/blender Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858import org .mastodon .model .NavigationHandler ;
5959import org .mastodon .model .SelectionModel ;
6060import org .mastodon .model .TimepointModel ;
61- import org .mastodon .model .tag .TagSetModel ;
6261import org .mastodon .model .tag .TagSetStructure ;
6362
6463import java .util .List ;
65- import java .util .NoSuchElementException ;
6664import java .util .concurrent .TimeUnit ;
6765import java .util .function .Function ;
6866
@@ -355,16 +353,6 @@ private void transferColors()
355353 blockingStub .setSpotColors ( request .build () );
356354 }
357355
358- private static TagSetStructure .TagSet getSelectedTagSet ( Model model , String name ) {
359- TagSetModel <Spot , Link > tagSetModel = model .getTagSetModel ();
360- TagSetStructure tagSetStructure = tagSetModel .getTagSetStructure ();
361- for ( TagSetStructure .TagSet tagSet : tagSetStructure .getTagSets () ) {
362- if ( tagSet .getName ().equals ( name ))
363- return tagSet ;
364- }
365- throw new NoSuchElementException ();
366- }
367-
368356 private void transferTracklet ( ModelGraph graph , Spot start , AffineTransform3D transform )
369357 {
370358 Spot spot = graph .vertexRef ();
You can’t perform that action at this time.
0 commit comments