SettingsDataExchange#

class ansys.scade.guitools.data.SettingsDataExchange(tool: str)#

Bases: ansys.scade.guitools.interfaces.ISettingsDataExchange, ToolPropDataExchange

Default implementation to manage the persistence of most usual controls in the project.

Initialize the settings data exchange instance.

Overview#

model_to_page

Update the page with the properties read from the model.

page_to_model

Update the model with the properties read from the page.

Import detail#

from ansys.scade.guitools.data import SettingsDataExchange

Method detail#

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

Update the page with the properties read from the model.

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

Update the model with the properties read from the page.