|
Gridarta Editor
|
Makes basic Gridarta classes available to scripts. More...
Collaboration diagram for net.sf.gridarta.plugin.PluginParameters:Public Member Functions | |
| void | addPluginParameter (@NotNull final String name, @Nullable final Object value) |
| Defines a variable to be passed to plugins. More... | |
| void | setInterpreterValues (@NotNull final Interpreter interpreter, @NotNull final PluginRunMode pluginRunMode) throws EvalError |
| Adds variables to a Interpreter instance. More... | |
Private Attributes | |
| final Map< String, Object > | variables = new HashMap<>() |
| All defined variables for new plugins. More... | |
Makes basic Gridarta classes available to scripts.
Definition at line 33 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 46 of file PluginParameters.java.
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 56 of file PluginParameters.java.
Here is the caller graph for this function:
|
private |
All defined variables for new plugins.
Maps variable name to value.
Definition at line 39 of file PluginParameters.java.