Login  Register

Re: Setting "Data changed flag" from plugin/macro?

Posted by Wayne Rasband on Oct 25, 2006; 2:30pm
URL: http://imagej.273.s1.nabble.com/can-i-draw-cylinders-tp3701211p3701220.html

> Using the call() macro function you can call a static method somewhere
> in your plugins that sets the current ImagePlus to changes = true

In ImageJ 1.38a or later you can use the setOption() macro function.

      setOption("changes", true);

-wayne