mastodon-sc / mastodon-sciview

A bridge between Mastodon and sciview
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

driving window example #2

Open xulman opened 3 years ago

xulman commented 3 years ago

When attempting to have synchronized views on the same data in both Mastodon and sciview, there was this concept of a driving window in Mastodon that dictated what is the current time point were are looking at in sciview, the deal is that the driving window is the one from whose menu the sciview is started... not very initiutive solution

perhaps, when a sciview is started from Mastodon, a mini-controlling window can come up with the following controls

Example code for the former, the locks bar:

The code ATM in the repo is always taking the first view, ignores the others... but I have a "mini-lib" with GUI/scijava dialog to choose the view, and inspect around....

hope it helps to get us started :-)

xulman commented 3 years ago

actually the locks bar is added here: https://github.com/CellTrackingChallenge/CTC-FijiPlugins/blob/7382557c8c35e65f56656c16f3542cdf15a5a53f/CTC-related/src/main/java/de/mpicbg/ulman/ctc/Mastodon/TRAreviewPlugin.java#L221

RuoshanLan commented 3 years ago

I just built a mini controlling window with several synchronize choices: image

RuoshanLan commented 3 years ago

a window with locks bar is added and works as expected image