Org.simantics.views
Modelled views are structural models of graphical user interfaces defined in org.simantics.views*
Basic concepts
A modelled view is defined as a hierarchy of parametrized controls. The model generates scene graph models defined in org.simantics.scenegraph. The created scene graphs can then be used to populate e.g. a SWT containers or PDF documents.
The hierarchy and properties of the modelled view is defined in the context of org.simantics.db.layer0.variable.Variable e.g. all modelled properties are evaluated using ReadGraph.getRelatedValue2 with a Variable context.
The properties of controls in a modelled view are often defined as functions of an external input assigned to the evaluation context e.g. a view can be defined to represent the current workspace selection.
In the control hierarchy, relative references can also be modelled e.g. an action can be applied on an output of a specific control.
It is also possible to declare a substructure of controls as a type such that some properties in the substructure are defined as functions of some interface properties declared in the type and defined in instances of that type.