1 L0 = <http://www.simantics.org/Layer0-1.1>
2 ISSUE = <http://www.simantics.org/Issue-1.2>
3 VP = <http://www.simantics.org/Viewpoint-1.2>
4 PROJECT = <http://www.simantics.org/Project-1.2>
5 SIMU = <http://www.simantics.org/Simulation-1.1>
6 ACT = <http://www.simantics.org/Action-1.1>
7 SG = <http://www.simantics.org/Scenegraph-1.1>
8 VIEWS = <http://www.simantics.org/Views-1.2>
9 SILK = <http://www.simantics.org/Silk-1.1>
10 MOD = <http://www.simantics.org/Modeling-1.2>
12 UI = <http://www.simantics.org/IssueUI-1.1> : L0.Ontology
14 L0.HasResourceClass "org.simantics.issues.ui.ontology.IssueUIResource"
16 //--------------------------------------------------------------------------
18 UI.Functions : L0.Library
21 //--------------------------------------------------------------------------
24 UI.ShowHiddenIssues <R L0.HasProperty : L0.FunctionalRelation
25 L0.HasRange L0.Boolean
27 UI.ShowNormalIssues <R L0.HasProperty : L0.FunctionalRelation
28 L0.HasRange L0.Boolean
30 UI.ShowUserIssues <R L0.HasProperty : L0.FunctionalRelation
31 L0.HasRange L0.Boolean
33 //--------------------------------------------------------------------------
34 // Issue Browse context
36 IBC = UI.IssueBrowseContext : VP.BrowseContext
39 IBC.IssueLabelDecorationRule : VP.LabelDecorationRule
40 IBC.IssueImageDecorationRule : VP.ImageDecorationRule
41 IBC.IssueContextDropAction : ACT.DropAction
42 IBC.UserIssueTest : VP.Test
46 @VP.customLabelDecorationRule ISSUE.Issue IBC.IssueLabelDecorationRule
47 @VP.dropActionContribution ISSUE.Issue IBC.IssueContextDropAction 1.0
49 //--------------------------------------------------------------------------
50 // Batch Issue Source Browse context
52 BISBC = UI.BatchIssueSourceBrowseContext : VP.BrowseContext
55 BISBC.IssueSourceRule : VP.ChildRule
56 BISBC.IssueSourceLabelRule : VP.LabelRule
57 BISBC.IssueSourceCheckRule : VP.CheckedStateRule
61 @VP.relationChildRule SIMU.Model L0.ConsistsOf ISSUE.IssueSource
62 @VP.customLabelRule ISSUE.IssueSource VP.ResourceLabelLabelRule
63 @VP.customCheckedStateRule ISSUE.IssueSource BISBC.IssueSourceCheckRule
65 IBC.FatalFolder : VP.ResourceNodeType
66 IBC.ErrorFolder : VP.ResourceNodeType
67 IBC.WarningFolder : VP.ResourceNodeType
68 IBC.InfoFolder : VP.ResourceNodeType
69 IBC.NoteFolder : VP.ResourceNodeType
70 IBC.UnknownFolder : VP.ResourceNodeType
72 IBC.Issue : VP.NodeType
73 VP.HasContentType "Variable"
75 IBC.SeverityFolderRule <T VP.ChildRule
76 >-- IBC.SeverityFolderRule.HasSeverity --> ISSUE.Severity <R L0.DependsOn : L0.FunctionalRelation
78 IBC.SeverityChildRule <T VP.ChildRule
79 >-- IBC.SeverityChildRule.HasSeverity --> ISSUE.Severity <R L0.DependsOn : L0.FunctionalRelation
81 IBC.SeverityFolderLabelRule <T VP.LabelRule
82 >-- IBC.SeverityFolderLabelRule.HasSeverity --> ISSUE.Severity <R L0.DependsOn : L0.FunctionalRelation
86 @VP.customChildRule PROJECT.Project
87 _ : IBC.SeverityFolderRule
88 IBC.SeverityFolderRule.HasSeverity ISSUE.Severity.Fatal
90 @VP.customChildRule PROJECT.Project
91 _ : IBC.SeverityFolderRule
92 IBC.SeverityFolderRule.HasSeverity ISSUE.Severity.Error
94 @VP.customChildRule PROJECT.Project
95 _ : IBC.SeverityFolderRule
96 IBC.SeverityFolderRule.HasSeverity ISSUE.Severity.Warning
98 @VP.customChildRule PROJECT.Project
99 _ : IBC.SeverityFolderRule
100 IBC.SeverityFolderRule.HasSeverity ISSUE.Severity.Info
102 @VP.customChildRule PROJECT.Project
103 _ : IBC.SeverityFolderRule
104 IBC.SeverityFolderRule.HasSeverity ISSUE.Severity.Note
108 @VP.customChildRule IBC.FatalFolder
109 _ : IBC.SeverityChildRule
110 IBC.SeverityChildRule.HasSeverity ISSUE.Severity.Fatal
112 @VP.customChildRule IBC.ErrorFolder
113 _ : IBC.SeverityChildRule
114 IBC.SeverityChildRule.HasSeverity ISSUE.Severity.Error
116 @VP.customChildRule IBC.WarningFolder
117 _ : IBC.SeverityChildRule
118 IBC.SeverityChildRule.HasSeverity ISSUE.Severity.Warning
120 @VP.customChildRule IBC.InfoFolder
121 _ : IBC.SeverityChildRule
122 IBC.SeverityChildRule.HasSeverity ISSUE.Severity.Info
124 @VP.customChildRule IBC.NoteFolder
125 _ : IBC.SeverityChildRule
126 IBC.SeverityChildRule.HasSeverity ISSUE.Severity.Note
130 @VP.customLabelRule IBC.FatalFolder
131 _ : IBC.SeverityFolderLabelRule
132 IBC.SeverityFolderLabelRule.HasSeverity ISSUE.Severity.Fatal
133 @VP.customLabelRule IBC.ErrorFolder
134 _ : IBC.SeverityFolderLabelRule
135 IBC.SeverityFolderLabelRule.HasSeverity ISSUE.Severity.Error
136 @VP.customLabelRule IBC.WarningFolder
137 _ : IBC.SeverityFolderLabelRule
138 IBC.SeverityFolderLabelRule.HasSeverity ISSUE.Severity.Warning
139 @VP.customLabelRule IBC.InfoFolder
140 _ : IBC.SeverityFolderLabelRule
141 IBC.SeverityFolderLabelRule.HasSeverity ISSUE.Severity.Info
142 @VP.customLabelRule IBC.NoteFolder
143 _ : IBC.SeverityFolderLabelRule
144 IBC.SeverityFolderLabelRule.HasSeverity ISSUE.Severity.Note
145 @VP.customLabelRule IBC.Issue
146 IBC.IssueLabelRule : VP.ChildRule
147 @VP.customVisualsRuleWithPriorityAndTest IBC.Issue VP.VariableLabelModifierRule 1.0 IBC.UserIssueTest
150 @VP.constantImageRule IBC.FatalFolder SILK.bomb
151 @VP.constantImageRule IBC.ErrorFolder SILK.exclamation
152 @VP.constantImageRule IBC.WarningFolder SILK.error
153 @VP.constantImageRule IBC.InfoFolder SILK.information
154 @VP.constantImageRule IBC.NoteFolder SILK.note
155 @VP.constantImageRule IBC.UnknownFolder SILK.help
156 @VP.customLabelRule IBC.Issue
157 IBC.IssueImageRule : VP.ImageRule
161 ACTIONS = UI.Actions : L0.Library
163 ACTIONS.SeverityActionCategory : VP.ActionCategory
164 L0.HasLabel "Set Severity"
165 VP.ActionCategory.IsSubmenu L0.True
167 ACTIONS.SetSeverityAction <T ACT.Action
168 >-- ACTIONS.SetSeverityAction.HasSeverity --> ISSUE.Severity <R L0.DependsOn : L0.FunctionalRelation
170 IAC = UI.ActionContext : VP.BrowseContext
172 @VP.actionContribution "Fatal" IBC.Issue SILK.bomb ACTIONS.SeverityActionCategory
173 _ : ACTIONS.SetSeverityAction
174 ACTIONS.SetSeverityAction.HasSeverity ISSUE.Severity.Fatal
175 @VP.actionContribution "Error" IBC.Issue SILK.exclamation ACTIONS.SeverityActionCategory
176 _ : ACTIONS.SetSeverityAction
177 ACTIONS.SetSeverityAction.HasSeverity ISSUE.Severity.Error
178 @VP.actionContribution "Warning" IBC.Issue SILK.error ACTIONS.SeverityActionCategory
179 _ : ACTIONS.SetSeverityAction
180 ACTIONS.SetSeverityAction.HasSeverity ISSUE.Severity.Warning
181 @VP.actionContribution "Info" IBC.Issue SILK.information ACTIONS.SeverityActionCategory
182 _ : ACTIONS.SetSeverityAction
183 ACTIONS.SetSeverityAction.HasSeverity ISSUE.Severity.Info
184 @VP.actionContribution "Note" IBC.Issue SILK.note ACTIONS.SeverityActionCategory
185 _ : ACTIONS.SetSeverityAction
186 ACTIONS.SetSeverityAction.HasSeverity ISSUE.Severity.Note
187 @VP.actionContribution "Resolve" IBC.Issue SILK.tick VP.EditActionCategory
188 ACTIONS.Resolve : ACT.Action
189 @VP.actionContribution "Unresolve" IBC.Issue SILK.lightbulb_off VP.EditActionCategory
190 ACTIONS.Unresolve : ACT.Action
191 @VP.actionContribution "Hide" IBC.Issue SILK.shading VP.EditActionCategory
192 ACTIONS.Hide : ACT.Action
193 @VP.actionContribution "Unhide" IBC.Issue SILK.shading VP.EditActionCategory
194 ACTIONS.Unhide : ACT.Action
196 UI.IssueView.Description
197 @VIEWS.Explorer.Column.full "single" "Description" "LEFT" 150 "Description" true 1
198 UI.IssueView.Resource
199 @VIEWS.Explorer.Column.full "Resource" "Resource" "LEFT" 60 "Resource" false 1
201 @VIEWS.Explorer.Column.full "Path" "Path" "LEFT" 150 "Path" false 1
203 UI.IssueView.BatchColumn
204 @VIEWS.Explorer.Column.full "single" "Validations" "LEFT" 150 "Validations" true 1
206 UI.IssueView : VIEWS.TabFolder
207 VIEWS.Control.layoutData _ : VIEWS.GridLayout.GridData
208 VIEWS.GridLayout.GridData.horizontalGrab true
209 VIEWS.GridLayout.GridData.verticalGrab true
210 SG.Node.children _ : L0.List
212 UI.IssueView.Active : VIEWS.Composite
213 SG.Node.children _ : L0.List
215 UI.IssueView.Active.Explorer : VIEWS.Explorer
216 @VIEWS.Control.style2 VIEWS.Control.Style.Constant.FullSelection VIEWS.Control.Style.Constant.Multi
217 VIEWS.Explorer.input VIEWS.Functions.singleResourceSelection
218 VIEWS.Control.layoutData _ : VIEWS.GridLayout.GridData
219 VIEWS.GridLayout.GridData.horizontalGrab true
220 VIEWS.GridLayout.GridData.verticalGrab true
221 VIEWS.Explorer.columns _ : VIEWS.Explorer.ColumnList
223 UI.IssueView.Description
224 UI.IssueView.Resource
226 VIEWS.Explorer.persistor MOD.Functions.standardPersistor
227 VIEWS.Explorer.browseContext _ : VIEWS.ResourceURI
228 VIEWS.ResourceURI.HasResource IBC
229 UI.IssueView.Batch : VIEWS.Composite
230 SG.Node.children _ : L0.List
232 UI.IssueView.Batch.Explorer : VIEWS.Explorer
233 @VIEWS.Control.style2 VIEWS.Control.Style.Constant.FullSelection VIEWS.Control.Style.Constant.Check
234 VIEWS.Explorer.input UI.Functions.activeModel : L0.Function
236 VIEWS.Explorer.selectionListener UI.Functions.issueSourceSelected : L0.Function
237 L0.HasValueType "a -> Boolean"
238 VIEWS.Control.layoutData _ : VIEWS.GridLayout.GridData
239 VIEWS.GridLayout.GridData.horizontalGrab true
240 VIEWS.GridLayout.GridData.verticalGrab true
241 VIEWS.Explorer.columns _ : VIEWS.Explorer.ColumnList
243 UI.IssueView.BatchColumn
244 VIEWS.Explorer.browseContext _ : VIEWS.ResourceURI
245 VIEWS.ResourceURI.HasResource BISBC