Login  Register

ImageJ undo notification

Posted by Jon Harman on Jul 10, 2007; 3:07am
URL: http://imagej.273.s1.nabble.com/ImageJ-undo-notification-tp3698860.html

Hi,

Just wondering if there is any way my plugin can find out if undo has
been done on an image.  I have set up my plugin to implement ImageJ's
undo command and undo works within my plugin.  My plugin can do many
different things to an image.  For the output result I create a name
that reflects what has been done to the image. So I would like to know
if the user has undone a step.

More generally I'd like to know the sequence of ImageJ commands that
have been performed on an image.  Does ImageJ keep a log of this
somewhere?  It must have some capability to do this in the macro
recorder.  My goal will be to document exactly what has been done to an
input image to get the output image.  I can keep track of  this for my
own plugin commands, but would like to also keep track of any ImageJ
commands (smoothing, sharpen, etc) that have been done to the image.

Thanks,
Jon