1 L0 = <http://www.simantics.org/Layer0-1.1>
2 VP = <http://www.simantics.org/Viewpoint-1.2>
3 VIEW = <http://www.simantics.org/Views-1.2>
4 SG = <http://www.simantics.org/Scenegraph-1.1>
5 SEL = <http://www.simantics.org/SelectionView-1.2>
6 SEL_UI = <http://www.simantics.org/SelectionViewUI-1.1>
7 MOD = <http://www.simantics.org/Modeling-1.2>
8 ANNO = <http://www.simantics.org/Annotation-1.0>
10 ANNO.HasDefaultAnnotationType <R L0.IsRelatedTo
11 L0.HasDescription "Stores preference information related to the type of the previously user selected annotation type"
12 ANNO.HasDefaultAnnotationName <R L0.IsRelatedTo
13 L0.HasDescription "Stores preference information related to the type of the previously user selected annotation name"
14 ANNO.DefaultAnnotationSource <R L0.IsRelatedTo
15 L0.HasDescription "Stores preference information about which object to show in the annotation tab"
17 ANNO.Functions.availableAnnotations : L0.Function
18 L0.HasValueType "[(String, Resource)]"
19 ANNO.Functions.selectedAnnotation : L0.Function
20 L0.HasValueType "String"
21 ANNO.Functions.selectedAnnotationModifier : L0.Function
22 L0.HasValueType "String -> String"
23 ANNO.Functions.availableSources : L0.Function
24 L0.HasValueType "[(String, Resource)]"
25 ANNO.Functions.selectedSource : L0.Function
26 L0.HasValueType "String"
27 ANNO.Functions.selectedSourceModifier : L0.Function
28 L0.HasValueType "String -> String"
29 ANNO.Functions.newAnnotationModifier : L0.Function
30 L0.HasValueType "String"
31 ANNO.Functions.removeAnnotationModifier : L0.Function
32 L0.HasValueType "String"
33 ANNO.Functions.saveAnnotationModifier : L0.Function
34 L0.HasValueType "String"
35 ANNO.Functions.explorerInput : L0.Function
37 ANNO.Functions.explorerInput2 : L0.Function
39 ANNO.Functions.descriptionText : L0.Function
40 L0.HasValueType "String"
42 ANNO.SelectionTabContribution : SEL.TypedVariableTabContribution
43 SEL.TypedVariableTabContribution.HasType L0.Entity
44 SEL.VariableTabContribution.HasView ANNO.SelectionTab
45 SEL.VariableTabContribution.HasPriority -10
46 L0.HasLabel "Annotations"
48 ANNO.SelectionTabContribution2 : SEL.TypedVariableTabContribution
49 SEL.TypedVariableTabContribution.HasType ANNO.Annotation
50 SEL.VariableTabContribution.HasView ANNO.SelectionTab2
51 SEL.VariableTabContribution.HasPriority -9
52 L0.HasLabel "Annotation Properties"
54 ANNO.SelectionTab.BC : SEL_UI.StandardProperties.BrowseContextStandardChildren
55 VP.BrowseContext.HasChildContribution
56 MOD.Contributions.VariableChildren
58 ANNO.SelectionTab : VIEW.Composite
59 VIEW.Composite.layout _ : VIEW.GridLayout
60 VIEW.GridLayout.columnCount 5
61 VIEW.Control.layoutData _ : VIEW.GridLayout.GridData
62 VIEW.GridLayout.GridData.horizontalGrab true
63 VIEW.GridLayout.GridData.verticalGrab true
64 SG.Node.children _ : L0.List
66 ANNO.SelectionTab.Combo1 : VIEW.Combo
67 @VIEW.Control.style1 VIEW.Control.Style.Constant.ReadOnly
68 VIEW.Control.layoutData _ : VIEW.GridLayout.GridData
69 VIEW.GridLayout.GridData.horizontalGrab true
70 VIEW.Combo.available ANNO.Functions.availableSources
71 VIEW.Combo.selected ANNO.Functions.selectedSource
72 VIEW.Combo.modifier ANNO.Functions.selectedSourceModifier
73 ANNO.SelectionTab.Combo2 : VIEW.Combo
74 @VIEW.Control.style1 VIEW.Control.Style.Constant.ReadOnly
75 VIEW.Control.layoutData _ : VIEW.GridLayout.GridData
76 VIEW.GridLayout.GridData.horizontalGrab true
77 VIEW.Combo.available ANNO.Functions.availableAnnotations
78 VIEW.Combo.selected ANNO.Functions.selectedAnnotation
79 VIEW.Combo.modifier ANNO.Functions.selectedAnnotationModifier
80 ANNO.SelectionTab.Add : VIEW.Button
81 VIEW.Control.layoutData _ : VIEW.GridLayout.GridData
82 VIEW.Button.text "Add"
83 VIEW.Button.tooltip "Add New or Attach Existing Annotation to Selected Entity"
84 VIEW.Button.modifier ANNO.Functions.newAnnotationModifier
85 ANNO.SelectionTab.Remove : VIEW.Button
86 VIEW.Control.layoutData _ : VIEW.GridLayout.GridData
87 VIEW.Button.text "Remove"
88 VIEW.Button.tooltip "Remove Current Annotation from Selected Entity"
89 VIEW.Button.modifier ANNO.Functions.removeAnnotationModifier
90 ANNO.SelectionTab.Save : VIEW.Button
91 VIEW.Control.layoutData _ : VIEW.GridLayout.GridData
92 VIEW.Button.text "Save"
93 VIEW.Button.tooltip "Attach Current Annotation to a Library"
94 VIEW.Button.modifier ANNO.Functions.saveAnnotationModifier
95 ANNO.SelectionTab.Description : VIEW.Label
96 @VIEW.Control.style1 VIEW.Control.Style.Constant.Border
97 VIEW.Control.layoutData _ : VIEW.GridLayout.GridData
98 VIEW.GridLayout.GridData.horizontalGrab true
99 VIEW.GridLayout.GridData.verticalGrab false
100 VIEW.GridLayout.GridData.horizontalSpan 5
101 VIEW.TextContainer.text ANNO.Functions.descriptionText
102 ANNO.SelectionTab.Properties : SEL_UI.StandardPropertiesBase
103 VIEW.Control.layoutData _ : VIEW.GridLayout.GridData
104 VIEW.GridLayout.GridData.horizontalGrab true
105 VIEW.GridLayout.GridData.verticalGrab true
106 VIEW.GridLayout.GridData.horizontalSpan 5
107 VIEW.Explorer.input ANNO.Functions.explorerInput
108 VIEW.Explorer.browseContext _ : VIEW.ResourceURI
109 VIEW.ResourceURI.HasResource ANNO.SelectionTab.BC
111 ANNO.SelectionTab2 : VIEW.Composite
112 VIEW.Composite.layout _ : VIEW.GridLayout
113 VIEW.GridLayout.columnCount 2
114 VIEW.Control.layoutData _ : VIEW.GridLayout.GridData
115 VIEW.GridLayout.GridData.horizontalGrab true
116 VIEW.GridLayout.GridData.verticalGrab true
117 SG.Node.children _ : L0.List
119 ANNO.SelectionTab2.Properties : SEL_UI.StandardPropertiesBase
120 VIEW.Control.layoutData _ : VIEW.GridLayout.GridData
121 VIEW.GridLayout.GridData.horizontalGrab true
122 VIEW.GridLayout.GridData.verticalGrab true
123 VIEW.GridLayout.GridData.horizontalSpan 2
124 VIEW.Explorer.input ANNO.Functions.explorerInput2