This PR adds a SearchVertexLabel action that is added to the BDV and TrackScheme views (last item on their settings panel). It shows up as a search field with a checkbox for options. Ctrl F, meta F, / move the focus to the search field.
Search starts from the selected vertex if there is exactly one. If not, it starts from the focused vertex. If no vertices are focused, it starts from the first one.
Search processes in breadth-first order, connected-component by cc. Iterated CCs are sorted by their label, as in TrackScheme.
This PR requires several changes:
TrackSchemeVertex now implements HasLabel and HasTimepoint. It does in practice, but we need the interface to be declared.
The ViewFrames expose their settings panel via the getSettingsPanel() method. This is needed to added elements to this settings panel such as the search field.
ESC releases the focus from the search field.
The search starts from the last focused vertex.
(This last image is taken from a merge with #105 )
This PR adds a
SearchVertexLabel
action that is added to the BDV and TrackScheme views (last item on their settings panel). It shows up as a search field with a checkbox for options.Ctrl F
,meta F
,/
move the focus to the search field.Search starts from the selected vertex if there is exactly one. If not, it starts from the focused vertex. If no vertices are focused, it starts from the first one.
Search processes in breadth-first order, connected-component by cc. Iterated CCs are sorted by their label, as in TrackScheme.
This PR requires several changes:
TrackSchemeVertex
now implementsHasLabel
andHasTimepoint
. It does in practice, but we need the interface to be declared.ViewFrame
s expose their settings panel via thegetSettingsPanel()
method. This is needed to added elements to this settings panel such as the search field.ESC
releases the focus from the search field.(This last image is taken from a merge with #105 )
Supersedes and replace #49