mastodon-sc / mastodon

Mastodon – a large-scale tracking and track-editing framework for large, multi-view images.
BSD 2-Clause "Simplified" License
66 stars 20 forks source link

Change the "edit label action" to rename all spots of a branch at once (Branch&Hierarchy TrackScheme) #186

Closed maarzt closed 2 years ago

maarzt commented 2 years ago

Mastodon users usually would like to assign the same name to all the spots in a (BranchGraph) branch. Both the Branch TrackScheme and Hierarchy TrackScheme could be very useful in this context.

The normal TrackScheme has a EditFocusVertexLabelAction for renaming individual spots. This PR extend this class as a new BranchTrackSchemeEditLabelAction. This BranchTrackSchemeEditLabelAction is used in the Branch- and Hierarchy TrackScheme to rename all the spots that belong to a branch at once.

tinevez commented 2 years ago

Hello @maarzt I made some small changes. Could you check them?