Hi @tpietzsch,
I'm trying to simplify a bit bdv-playground by using the AbstractViewerPanel interface instead of my own ViewerAdapter. That dates from the time when BdvHandle and BvvHandle did not implement this interface.
It mostly works, except for timepoint listeners. Indeed, the access to timepointListeners is not part of AbstractViewerPanel interface. And there is currently a difference between the way to add a timepoint listener between bvv and bdv:
BdvHandle bdvh = null;
bdvh.getViewerPanel().timePointListeners().add(listener);
BvvHandle bvvh = null;
bvvh.getViewerPanel().addTimePointListener(listener);
AbstractViewerPanel avp = null;
avp.timepointListeners does not exist
Do you think you could homogeneize this ? I can try to do a PR if you want.
Hi @tpietzsch,
I'm trying to simplify a bit bdv-playground by using the AbstractViewerPanel interface instead of my own ViewerAdapter. That dates from the time when BdvHandle and BvvHandle did not implement this interface.
It mostly works, except for timepoint listeners. Indeed, the access to timepointListeners is not part of AbstractViewerPanel interface. And there is currently a difference between the way to add a timepoint listener between bvv and bdv:
Do you think you could homogeneize this ? I can try to do a PR if you want.