1 L0 = <http://www.simantics.org/Layer0-1.1>
2 DATA = <http://www.simantics.org/Datatypes-1.1>
3 SEL = <http://www.simantics.org/SelectionView-1.2>
4 SWT = <http://www.simantics.org/SWT-1.0>
5 DOC = <http://www.simantics.org/Documentation-1.2>
6 FUNCTIONS = <http://www.simantics.org/SWT-1.0/Functions>
7 LITERALS = <http://www.simantics.org/SWT-1.0/Literals>
9 PROPERTIES = SWT.Properties : L0.Library
11 defAttribute : L0.Template
12 @template %subject %range
13 %subject <R L0.HasProperty : DOC.Document.AttributeRelation : L0.FunctionalRelation
16 defExtraAttribute : L0.Template
17 @template %subject %range
18 %subject <R L0.HasProperty : L0.FunctionalRelation
21 PROPERTIES.ParameterType <T SEL.GenericParameterType
22 >-- PROPERTIES.ParameterType.sclValueProperty --> L0.String <R L0.HasProperty : L0.FunctionalRelation
23 @L0.assert SEL.HasDisplayValue
25 L0.HasValueType "String"
26 SEL.HasDisplayColumn "HasDisplayValue"
27 L0.ConvertsToValueWith FUNCTIONS.propertyDisplayValue : L0.ExternalValue
28 SEL.HasCustomModifier FUNCTIONS.propertyDisplayValueModifier : L0.Function
31 PROPERTIES.background : PROPERTIES.ParameterType
32 @defAttribute DATA.RGB.Integer
33 L0.RequiresValueType "(Integer,Integer,Integer)"
35 PROPERTIES.foreground : PROPERTIES.ParameterType
36 @defAttribute DATA.RGB.Integer
37 L0.RequiresValueType "(Integer,Integer,Integer)"
39 PROPERTIES.font : PROPERTIES.ParameterType
40 @defAttribute DATA.Font
41 L0.RequiresValueType "(String,Integer,String)"
43 PROPERTIES.extendedMargins : PROPERTIES.ParameterType
44 @defAttribute LITERALS.Margins
45 L0.RequiresValueType "(Integer,Integer,Integer,Integer)"
47 PROPERTIES.text : PROPERTIES.ParameterType
48 @defAttribute L0.String
49 L0.RequiresValueType "String"
51 PROPERTIES.numColumns : PROPERTIES.ParameterType
52 @defAttribute L0.Integer
53 L0.RequiresValueType "Integer"
55 PROPERTIES.grabVertical : PROPERTIES.ParameterType
56 @defAttribute L0.Boolean
57 L0.RequiresValueType "Boolean"
59 PROPERTIES.grabHorizontal : PROPERTIES.ParameterType
60 @defAttribute L0.Boolean
61 L0.RequiresValueType "Boolean"
63 PROPERTIES.browseContext : PROPERTIES.ParameterType
64 @defAttribute L0.String
65 L0.RequiresValueType "String"
67 PROPERTIES.explorerInput : PROPERTIES.ParameterType <R L0.HasProperty : DOC.Document.AttributeRelation : L0.FunctionalRelation
68 L0.RequiresValueType "Variable"
70 PROPERTIES.columns : PROPERTIES.ParameterType
71 @defAttribute LITERALS.Columns
72 L0.RequiresValueType "Columns"
74 PROPERTIES.editingColumn : PROPERTIES.ParameterType
75 @defAttribute L0.String
76 L0.RequiresValueType "String"
78 PROPERTIES.available : PROPERTIES.ParameterType <R L0.HasProperty : DOC.Document.AttributeRelation : L0.FunctionalRelation
79 L0.RequiresValueType "[String]"
81 PROPERTIES.selected : PROPERTIES.ParameterType
82 @defAttribute L0.String
83 L0.RequiresValueType "String"
85 PROPERTIES.onModify <R L0.HasProperty : PROPERTIES.ParameterType : DOC.Document.AttributeRelation : L0.FunctionalRelation
88 PROPERTIES.onPress <R L0.HasProperty : PROPERTIES.ParameterType : DOC.Document.AttributeRelation : L0.FunctionalRelation