configName of SettingsModelString

Hi,

Anyone can explain me what is the use of configName into the SettingsModelString?

I thought that was an id for grouping variables, but if i use:

private final SettingsModelString m_count = new SettingsmodelString("tmp",""); 

Into the console i see:

Loading model settings failed: String for key "tmp" not found.

Which is the right initialization?

 

Thanks

I believe the configName needs to be a unique value for that specific setting. You also must use the same string in the NodeDialog and NodeModel.