ProjectPropertiesDataExchange#

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

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

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

Initialize the project properties 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 ProjectPropertiesDataExchange

Method detail#

ProjectPropertiesDataExchange.model_to_page(model: scade.model.project.stdproject.ProjectEntity)#

Update the page with the properties read from the model.

ProjectPropertiesDataExchange.page_to_model(model: scade.model.project.stdproject.ProjectEntity)#

Update the model with the properties read from the page.