Is it possible to open a file and have it sent directly to a plugin?
Posted by kacollins on Dec 11, 2010; 5:31am
URL: http://imagej.273.s1.nabble.com/Is-it-possible-to-open-a-file-and-have-it-sent-directly-to-a-plugin-tp3686194.html
Hi all. I am working on a plugin that displays an image in a frame along with other GUI objects. I am currently using the ImageListener interface to grab any image that is opened, and then send the associated ImagePlus to the plugin. The downside to this method is that the image flashes on the screen briefly before being sent to the plugin and is then redisplayed.
Does anyone know of a cleaner way to send an image directly to a plugin when it is opened by double clicking on a file (and when using the File/Open... dialog)?
Karen