org.autoplot.jythonsupport.ui.Util

utility methods, for example getting parameters from a script.

Util( )


getParams

getParams( java.util.Map env, String src, java.util.Map params, ProgressMonitor mon ) → java.util.Map

get the parameters for the script.

Parameters

env - null, or a script context that can contain values such as dom and PWD.
src - the script, all in one string.
params - null or default values for the parameters.
mon - a ProgressMonitor

Returns:

list of parameters.

See Also:

org.autoplot.jythonsupport.ui.ParametersFormPanel#doVariables(java.util.Map, java.lang.String, java.util.Map, javax.swing.JPanel)


[search for examples] [view on GitHub] [view on old javadoc] [view source]