loadValidatedSettingsFrom

In this method the user values are applied to the corresponding member variables of the NodeModel. You can safely assume, that the argument object has passed the validate method. The validate method is always called before this method and must finish without exception for this method to be called. This method should actually not throw an exception.

Example #1:

  	protected void loadValidatedSettingsFrom(final NodeSettingsRO settings)              throws InvalidSettingsException {          m_percentage = settings.getInt(CFG_PERCENTAGE);          m_replace = settings.getBoolean(CFG_REPLACE);      }  

If DefaultComponents with their SettingsModels are used, the method would look as in Example #2.

Example #2:

  	protected void loadValidatedSettingsFrom(final NodeSettingsRO settings)              throws InvalidSettingsException {          m_settingsModel.loadSettingsFrom(settings);      }