LSPS documentation logo
LSPS Documentation
Defining Properties

Every element or item with a semantic execution value, be it a Goal, Task, global variable, a Form component, etc. needs to define some set of properties related to its execution or behavior. Generally you can edit the properties in the Properties view, in the editor intended for the element, or in a dedicated popup editor.

Below each property name, you can see the data type of the expression or its return value.

For example, the Properties view below contains the Visible and Root property:

  • Visible property accepts a Boolean value: you can insert any expression that will return a Boolean value on runtime.
  • Root property accepts a Collection of TreeItems (the TreeItem type is defined in the ui module) as stated by (Collection<ui::TreeItem>) below the property name.
propertiesFormat.png
Properties view of a form component
The Save action is a closure that takes Todo as its first and SavedDocument as its second parameter and returns an Object value:

closureHint.png
Editing Save action property

Some properties have a tooltip with useful information.

propertiesTooltip.png
Note that any tab with changes to the property values is marked with an asterisk.