[ImageJ-devel] @parameter choice update in component callback

MEYENHOFER Felix felix.meyenhofer at unifr.ch
Thu Aug 20 03:06:21 CDT 2015


Hi 

I couldn’t find any hint that it is possible to update the choices of a parameter (declared with the annotator) in a callback that for another parameter. For example; I have a file chooser and once a file hase been chosen, I want to read some file metadata and then update the choices of the combobox that allows to select the images series.
Since I could not figure a way to do it, I wanted to ask here if it is possible at all?

Furthermore, is it possible to get a directory chooser instead of a file chooser in the configuration dialog of a command using the @Parameter annotation?

Best regards, 

-------------------------------------
Felix Meyenhofer
University of Fribourg
Departement of Medicine - Anatomy
1, Rte. Albert Gockel
CH-1700 Fribourg 

Tel:  +41 26 300 85 45
Web:  www.unifr.ch/anatomy
      www.unifr.ch/bioimage
-------------------------------------



More information about the ImageJ-devel mailing list