ScadePropertiesDataExchange#

class ansys.scade.guitools.data.ScadePropertiesDataExchange(id: str)#

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

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

Initialize the SCADE properties data exchange instance.

Overview#

model_to_page

Update the page with the properties read from the model element.

page_to_model

Update the model element with the properties read from the page.

Import detail#

from ansys.scade.guitools.data import ScadePropertiesDataExchange

Method detail#

ScadePropertiesDataExchange.model_to_page(object_: scade.model.suite.Annotable)#

Update the page with the properties read from the model element.

ScadePropertiesDataExchange.page_to_model(object_: scade.model.suite.Annotable)#

Update the model element with the properties read from the page.