1 L0 = <http://www.simantics.org/Layer0-1.1>
2 L0X = <http://www.simantics.org/Layer0X-1.1>
3 VP = <http://www.simantics.org/Viewpoint-1.2>
4 VIEW = <http://www.simantics.org/Views-1.2>
5 MOD = <http://www.simantics.org/Modeling-1.2>
7 SEL_BASE = <http://www.simantics.org/SelectionView-1.2> : L0.Ontology
9 SEL = <http://www.simantics.org/SelectionViewUI-1.1> : L0.Ontology
11 L0.HasResourceClass "org.simantics.selectionview.ui.ontology.SelectionViewUIResources"
13 SEL.SCLMain : L0.SCLModule
14 L0.SCLModule.definition _ : L0.String
15 @L0.loadString "scl/SCLMain.scl"
17 SEL.CategoryNode : VP.NodeType
18 VP.HasContentType "org.simantics.selectionview.CategoryNode"
19 VP.HasBundle "org.simantics.selectionview"
21 SEL.CategoryNodeLabelRule : VP.LabelRule
22 SEL.CategoryDecorationRule : VP.ConstantLabelDecorationRule
23 VP.ConstantLabelDecorationRule.HasStyle "B"
25 SEL.VariableDecorationRule : VP.ConstantLabelDecorationRule
26 VP.ConstantLabelDecorationRule.HasFormat " %s"
28 SEL.VariableColoringDecorationRule : VP.LabelDecorationRule
30 SEL.VariablePropertyCategoryRule <T VP.ChildRule
31 SEL.VariablePropertyLabelRule : VP.LabelRule
32 SEL.VariablePropertyModifierRule : VP.ModifierRule
33 L0.HasDescription """Modifier rule based on variable."""
35 SEL.StandardPropertySorterRuleType <T VP.SorterRule
36 >-- SEL_BASE.getSpecialCategory
38 SEL.StandardPropertySorterRule : SEL.StandardPropertySorterRuleType
41 @VIEW.Explorer.Column.full "HasDisplayProperty" "Property" "LEFT" 150 "The name of the property" true 1
43 @VIEW.Explorer.Column.full "HasDisplayValue" "Value" "RIGHT" 60 "The representation of the property value" true 1
45 @VIEW.Explorer.Column.full "HasDisplayUnit" "Unit" "LEFT" 60 "The selected unit for the value" false 0
47 SEL.StandardPropertiesBase <T VIEW.Explorer
48 @L0.assert VIEW.Control.layoutData
49 _ : VIEW.GridLayout.GridData
50 VIEW.GridLayout.GridData.horizontalGrab true
51 VIEW.GridLayout.GridData.verticalGrab true
52 @L0.assert VIEW.Control.style
53 _ : VIEW.Control.Style
54 VIEW.Control.Style.HasConstant VIEW.Control.Style.Constant.Multi
55 VIEW.Control.Style.HasConstant VIEW.Control.Style.Constant.FullSelection
56 @L0.assert VIEW.Explorer.columns
57 _ : VIEW.Explorer.ColumnList
62 @L0.assert VIEW.Explorer.editingColumns
63 _ : VIEW.Explorer.ColumnList
66 @L0.assert VIEW.Explorer.input MOD.Functions.singleVariableSelection
67 @L0.assert VIEW.Explorer.browseContext
69 VIEW.ResourceURI.HasResource SEL.StandardPropertiesBase.BrowseContext : SEL.StandardProperties.BrowseContextStandardChildren
70 @L0.assert VIEW.Explorer.uiContext "org.simantics.modeling.ui.properties"
71 @L0.assert VIEW.Explorer.useNodeBrowseContexts true
72 @L0.assert VIEW.Explorer.useNodeActionContexts true
74 SEL.StandardProperties : SEL.StandardPropertiesBase
76 SEL.StandardProperties.BrowseContextStandardChildren <T SEL.StandardProperties.BrowseContextWithoutChildren
77 @L0.assert VP.BrowseContext.HasChildContribution
78 _ : VP.ChildContribution
79 VP.ChildContribution.HasParentNodeType MOD.ModelingBrowseContext.Variable
80 VP.ChildContribution.HasChildNodeType MOD.ModelingBrowseContext.Variable
81 VP.ChildContribution.HasRule
82 SEL.StandardProperties.BrowseContextStandardChildren.Var : MOD.ModelingBrowseContext.VariablePropertyRule
83 MOD.ModelingBrowseContext.VariablePropertyRule.RequireProperty "HasStandardPropertyInfo"
84 @L0.assert VP.BrowseContext.HasChildContribution
85 SEL.StandardProperties.BrowseContextStandardChildren.CatContribution : VP.ChildContribution
86 VP.ChildContribution.HasParentNodeType MOD.ModelingBrowseContext.Variable
87 VP.ChildContribution.HasChildNodeType SEL.CategoryNode
88 VP.ChildContribution.HasRule
89 SEL.StandardProperties.BrowseContextStandardChildren.Cat : SEL.VariablePropertyCategoryRule
90 @MOD.scl SEL_BASE.getSpecialCategory "layer0Categories" "Resource -> <ReadGraph> Maybe Resource"
91 @L0.assert VP.BrowseContext.HasVisualsContribution
92 _ : VP.VisualsContribution
93 VP.VisualsContribution.HasNodeType MOD.ModelingBrowseContext.Variable
94 VP.VisualsContribution.HasRule
95 SEL.StandardProperties.BrowseContextStandardChildren.Sorter : SEL.StandardPropertySorterRuleType
96 @MOD.scl SEL_BASE.getSpecialCategory "layer0Categories" "Resource -> <ReadGraph> Maybe Resource"
97 @L0.assert VP.BrowseContext.HasVisualsContribution
98 _ : VP.VisualsContribution
99 VP.VisualsContribution.HasNodeType MOD.ModelingBrowseContext.Variable
100 VP.VisualsContribution.HasRule VP.DescriptionTooltipRule
102 SEL.StandardProperties.BrowseContextWithoutChildren <T VP.BrowseContext
103 @L0.assert VP.BrowseContext.HasVisualsContribution
104 _ : VP.VisualsContribution
105 VP.VisualsContribution.HasNodeType MOD.ModelingBrowseContext.Variable
106 VP.VisualsContribution.HasRule SEL.VariablePropertyLabelRule
107 @L0.assert VP.BrowseContext.HasVisualsContribution
108 _ : VP.VisualsContribution
109 VP.VisualsContribution.HasNodeType SEL.CategoryNode
110 VP.VisualsContribution.HasRule SEL.CategoryNodeLabelRule
111 @L0.assert VP.BrowseContext.HasVisualsContribution
112 _ : VP.VisualsContribution
113 VP.VisualsContribution.HasNodeType MOD.ModelingBrowseContext.Variable
114 VP.VisualsContribution.HasRule SEL.VariablePropertyModifierRule
115 @L0.assert VP.BrowseContext.HasVisualsContribution
116 _ : VP.VisualsContribution
117 VP.VisualsContribution.HasNodeType MOD.ModelingBrowseContext.Variable
118 VP.VisualsContribution.HasRule SEL.VariableDecorationRule
119 @L0.assert VP.BrowseContext.HasVisualsContribution
120 _ : VP.VisualsContribution
121 VP.VisualsContribution.HasNodeType MOD.ModelingBrowseContext.Variable
122 VP.VisualsContribution.HasRule SEL.VariableColoringDecorationRule
123 @L0.assert VP.BrowseContext.HasVisualsContribution
124 _ : VP.VisualsContribution
125 VP.VisualsContribution.HasNodeType SEL.CategoryNode
126 VP.VisualsContribution.HasRule SEL.CategoryDecorationRule