Hello, I am writing a QuPath extension to inject a custom input mode. I noticed that in
Modes is an enum, which makes it a bit difficult to extend.
I’ve looked at the
jpen extension, and since the jpen tool is a natural extension of the brush tool, subclassing and replacing the brush tool makes sense. In our case though, we would like to have an arc + line (= bow) tool that indicates an area of local drug diffusion, and I’m hesitant to subclass line or polyline, since we have uses cases for those tools as well.
Since our use is an edge case though, I have no complaints about it being an enum (
GUIActions being an enum seems odd though).
Any insight is much appreciated.