Posted by
Vincenzo Della Mea on
Feb 10, 2006; 10:02am
URL: http://imagej.273.s1.nabble.com/an-interesting-patch-tp3703781.html
I just found a somewhat old message to which I'm interested, by
Johannes Schindelin:
> - call-java-functions-from-macros: in the same complex setup mentioned
> above, sometimes it is overkill to run a plugin to set local
> variables.
> Instead, this patch provides the macro function "runJava", which can
> call public static methods returning a String with an arbitrary
> number
> of String parameters. Example:
>
> org.anism.SomeClass contains the method
>
> public static String getName(String id);
>
> the macro can now call that method:
>
> theName =
> runJava("org.anism.SomeClass","getName","0023");
Has this patch been approved and put in the ImageJ distribution?
By the way, I would be interested in obtaining some result from
plugins, that could be used into macros.
Thanks for the attention,
Vincenzo
------------------------------------------------------------------------
------------------------
----------------------------- Vincenzo Della Mea, PhD
------------------------------
------------ Medical Informatics, Telemedicine and e-health Lab
------------
Dept. of Mathematics and Computer Science - University of Udine, Italy
-----------------------
http://www.dimi.uniud.it/dellamea/
-------------------------
-------------------------------
http://mitel.dimi.uniud.it
---------------------------------