|
Gridarta Editor
|
Collaboration diagram for net.sf.gridarta.plugin.PluginParameters:Public Member Functions | |
| void | addPluginParameter (@NotNull final String name, @Nullable final Object value) |
| void | setInterpreterValues (@NotNull final Interpreter interpreter, @NotNull final PluginRunMode pluginRunMode) throws EvalError |
Private Attributes | |
| final Map< String, Object > | variables = new HashMap<>() |
Makes basic Gridarta classes available to scripts.
Definition at line 34 of file PluginParameters.java.
| void net.sf.gridarta.plugin.PluginParameters.addPluginParameter | ( | @NotNull final String | name, |
| @Nullable final Object | value | ||
| ) |
Defines a variable to be passed to plugins.
| name | the variable name |
| value | the variable's value |
Definition at line 47 of file PluginParameters.java.
References net.sf.gridarta.plugin.PluginParameters.variables.
Referenced by net.sf.gridarta.project.ProjectModel<?, ?, ?>.newPluginParameters().
Here is the caller graph for this function:| void net.sf.gridarta.plugin.PluginParameters.setInterpreterValues | ( | @NotNull final Interpreter | interpreter, |
| @NotNull final PluginRunMode | pluginRunMode | ||
| ) | throws EvalError |
Adds variables to a Interpreter instance.
| interpreter | the interpreter to modify |
| pluginRunMode | the plugin run mode to use |
| EvalError | if a variable cannot be set |
Definition at line 57 of file PluginParameters.java.
References net.sf.gridarta.plugin.PluginParameters.variables.
Here is the caller graph for this function:
|
private |
All defined variables for new plugins. Maps variable name to value.
Definition at line 40 of file PluginParameters.java.
Referenced by net.sf.gridarta.plugin.PluginParameters.addPluginParameter(), and net.sf.gridarta.plugin.PluginParameters.setInterpreterValues().