ISettingsDataExchange#

class ansys.scade.guitools.interfaces.ISettingsDataExchange#

Bases: abc.ABC

Interface for exchanging data between a settings page and the model.

Overview#

model_to_page

Update the page with the properties read from the project for a given configuration.

page_to_model

Update the project with the properties read from the page for a given configuration.

Import detail#

from ansys.scade.guitools.interfaces import ISettingsDataExchange

Method detail#

abstract ISettingsDataExchange.model_to_page(project: scade.model.project.stdproject.Project, configuration: scade.model.project.stdproject.Configuration)#

Update the page with the properties read from the project for a given configuration.

Parameters#

projectProject

Input Project.

configurationConfiguration

Input configuration.

abstract ISettingsDataExchange.page_to_model(project: scade.model.project.stdproject.Project, configuration: scade.model.project.stdproject.Configuration)#

Update the project with the properties read from the page for a given configuration.

Parameters#

projectProject

Input Project.

configurationConfiguration

Input configuration.