User Tools

Site Tools


01_user_documentation:03_interacting_with_groimp:08_parameter:05_parameter_manager:01_default

Default

By default all parameters are added to the current default parameter manager. It is possible to change the default parameter manager of an rgg file with the annotation de.grogra.xl.parameter.DefaultParameterManager. The annotation has two arguments: a name and a class. Only the class is required. If no name is given, one is generated automatically.

By default, the parameter manager is of the type text file.

Example

@DefaultParameterManager(type=de.grogra.rgg.parameter.XMLFilePM.class)
 
@IsParameter
float myparam;
 
// myparam is added to the default parameter manager of type XMLFilePM
 
protected void init ()
[
]
01_user_documentation/03_interacting_with_groimp/08_parameter/05_parameter_manager/01_default.txt · Last modified: 2025/11/21 11:05 by gaetan