scijava-ui-swingrepo contains all the widget implementations for Swing, e.g.
LegacyUIfrom imagej-legacy; it has higher priority than the
SwingSDIUIfrom imagej-ui-swing. If you exclude imagej-legacy than imagej-ui-swing's takes precedence. If you have a barebones environment without those, then the
HeadlessUIof scijava-common is picked up.
imagej-legacyissue. I am looking at
String => ImagePlusand
String => Datasetconversion for opened images, and added a test (imagej/imagej-legacy@b13c8f9) that I am planning to flesh out to cover most use cases. JaCoCo tells me that this line in
StringToImagePlusConverteris never executed.
canConvert(Object, Type), then it hangs in the test. I suspect some infinite loop, but can’t wrap my head around it. Do you have any ideas/pointers?
LegacyInjector.preinit()into the static block, but even this didn't work for me.)
imp2field declarations and just making them local vars.
Datasetconversion (mostly for macro calls), and I am puzzled why some of my tests pass where I’d expect them to fail. See https://github.com/imagej/imagej-legacy/pull/261#issuecomment-753386846.