User Tools

Site Tools


01_user_documentation:03_interacting_with_groimp:08_parameter:05_parameter_manager:02_custom

Custom

It is possible to declare a new parameter manager with the annotation de.grogra.xl.parameter.AddParameterManager, which take two required arguments: a type and a name.

Example

// create a parameter manager called env_param
@AddParameterManager(name="env_param", type=de.grogra.rgg.parameter.TextFilePM.class)
 
// set the parameter manager env_param to be the default in this file
@DefaultParameterManager("env_param")
 
// add the parameter to env_param
@IsParameter
float myparam;
 
protected void init ()
[]
01_user_documentation/03_interacting_with_groimp/08_parameter/05_parameter_manager/02_custom.txt · Last modified: 2025/10/13 13:04 by gaetan