I am trying to write a plugin for ImageJ2. I used the tutorial repository as a guide. I manged to get EventHandlers working in my test, when I was running the application from my IDE. However when I tested my Plugin in Fiji (added the resulting jar to the plugin directory) the events were not called. I found out, that the events only work in the new UI and not in the legacy UI that is the default in the current Fiji release. Is there any way to make the nice EventHandler annotation work in the old legacy UI?
Hi
I am trying to write a plugin for ImageJ2. I used the tutorial repository as a guide. I manged to get EventHandlers working in my test, when I was running the application from my IDE. However when I tested my Plugin in Fiji (added the resulting jar to the plugin directory) the events were not called. I found out, that the events only work in the new UI and not in the legacy UI that is the default in the current Fiji release. Is there any way to make the nice EventHandler annotation work in the old legacy UI?
This is the url to my repo where my working code for the new UI can be found. https://github.com/spiderpig36/imagej-tutorial/tree/7b6b9ba74d9d856d1894517e70722c06f78237fe/maven-projects/measure
As a workaround I use the old ImageJ1 API which works, but is not as convenient as the new one.
Thanks for your Help!