Login  Register

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

Posted by Joachim Wesner on Oct 24, 2006; 4:30pm
URL: http://imagej.273.s1.nabble.com/can-i-draw-cylinders-tp3701211p3701223.html

Hi,

YEP, that seems to be one. Thanx a lot! I will give it a try!

Sometimes things can be very easy! This field somehow missed my attention,
it also seems not to be mentioned in the plugin tutorial.
There is the NO_CHANGES mask, but I need to also force newly created
ImagePlus and Stacks to be saved!

Is there a way to access this flag from a macro, too??

Joachim




|---------+--------------------------->
|         |           Gabriel Landini |
|         |           <G.Landini@BHAM.|
|         |           AC.UK>          |
|         |           Gesendet von:   |
|         |           ImageJ Interest |
|         |           Group           |
|         |           <[hidden email]|
|         |           .GOV>           |
|         |                           |
|         |                           |
|         |           24.10.2006 17:18|
|         |           Bitte antworten |
|         |           an ImageJ       |
|         |           Interest Group  |
|---------+--------------------------->
  >-------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                               |
  |        An:      [hidden email]                                                                                           |
  |        Kopie:   (Blindkopie: Joachim Wesner/DEWET/LMSCentral/Leica)                                                           |
  |        Thema:   Re: Setting "Data changed flag" from plugin/macro?                                                            |
  >-------------------------------------------------------------------------------------------------------------------------------|




On Tuesday 24 October 2006 16:03, you wrote:
> On Tuesday 24 October 2006 14:53, Joachim Wesner wrote:
> > How can I force Imagej to consider data processed by a macro or plugin
to
> > be considered "changed" and in need of saving when one tries to close
the
> > resp. window/stack ?
>
> Would this work?
>
> imp.chages=true;

Actually it is :
 imp.changes=true;

Sorry for the typo.

G.



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________