Package enomalism2 :: Package modules :: Package template_selector :: Module model
[hide private]

Module model

Defines the hooks and abstractions required by the template selector.


Requires: enomalism2.model

Status: Stable

Classes [hide private]
  template_selector_tools
An abstract class that defines helper methods for the template selector extension module.
Functions [hide private]
enomalism2.configuration.ConfigEditorModel.get_widgets
hook_cfg_get_widgets(fn, self)
Hook that is invoked when retrieving configuration editor widgets.
enomalism2.configuration.ConfigEditorModel.get_template
hook_cfg_get_template(fn, self)
Hook that is invoked when retrieving the template for the configuration editor.
enomalism2.configuration.ConfigEditorModel.get_defaults
hook_cfg_get_defaults(fn, self)
Hook that is invoked when the configuration default values are retrieved.
enomalism2.configuration.ConfigEditorModel.save_values
hook_cfg_save_values(fn, self, values)
Hook that is invoked when the configuration values are saved.
Variables [hide private]
  uuid = 'ff32d488-57fd-11dd-8c2e-001a929face2'
Function Details [hide private]

hook_cfg_get_widgets(fn, self)

 

Hook that is invoked when retrieving configuration editor widgets.

Parameters:
Returns: enomalism2.configuration.ConfigEditorModel.get_widgets
The original method invocation.
Decorators:
  • @model.hook(model.ConfigEditorModel, model.ConfigEditorModel.get_widgets)
Raises:
  • None - No exceptions are raised by this method.

Status: Stable

hook_cfg_get_template(fn, self)

 

Hook that is invoked when retrieving the template for the configuration editor.

Parameters:
Returns: enomalism2.configuration.ConfigEditorModel.get_template
The original method invocation.
Decorators:
  • @model.hook(model.ConfigEditorModel, model.ConfigEditorModel.get_template)
Raises:
  • None - No exceptions are raised by this method.

Status: Stable

hook_cfg_get_defaults(fn, self)

 

Hook that is invoked when the configuration default values are retrieved.

Parameters:
Returns: enomalism2.configuration.ConfigEditorModel.get_defaults
The original method invocation.
Decorators:
  • @model.hook(model.ConfigEditorModel, model.ConfigEditorModel.get_defaults)
Raises:
  • None - No exceptions are raised by this method.

Status: Stable

hook_cfg_save_values(fn, self, values)

 

Hook that is invoked when the configuration values are saved.

Parameters:
Returns: enomalism2.configuration.ConfigEditorModel.save_values
The original method invocation.
Decorators:
  • @model.hook(model.ConfigEditorModel, model.ConfigEditorModel.save_values)
Raises:
  • None - No exceptions are raised by this method.

Status: Stable