I have created ImageJ plugin by modifying https://imagej.nih.gov/ij/plugins/raw-file-opener.html
I managed to get it associated with the ImageJ menu by providing new item File->Open Format
When I want to open this format, I have to click File->Open Format. My users would wish if drag and drop work out of the box and that my file is associated with ImageJ and ImageJ knows that my plugin is able to open it so that if user clicks in explorer it opens.
How to implement this? I am using this https://imagej.net/develop/building-a-pom to build jar package containing my package.