1 L0 = <http://www.simantics.org/Layer0-1.1>
\r
2 L0X = <http://www.simantics.org/Layer0X-1.1>
\r
3 VP = <http://www.simantics.org/Viewpoint-1.2>
\r
4 SIMU = <http://www.simantics.org/Simulation-1.1>
\r
5 STR = <http://www.simantics.org/Structural-1.2>
\r
6 PROJECT = <http://www.simantics.org/Project-1.2>
\r
7 MOD = <http://www.simantics.org/Modeling-1.2>
\r
8 IMAGE = <http://www.simantics.org/Image2-1.2>
\r
9 COLOR = <http://www.simantics.org/Color-1.1>
\r
10 DIA = <http://www.simantics.org/Diagram-2.2>
\r
11 ACT = <http://www.simantics.org/Action-1.1>
\r
12 VIEW = <http://www.simantics.org/Views-1.2>
\r
13 SILK = <http://www.simantics.org/Silk-1.1>
\r
14 DOC = <http://www.simantics.org/Document-1.2>
\r
15 SHEET = <http://www.simantics.org/Spreadsheet-1.2>
\r
17 // Library containing all modeling viewpoint contributions
\r
18 MOD.Contributions : L0.Library
\r
20 MOD.SCLChildRule <T VP.ChildRule
\r
21 >-- MOD.SCLChildRule.getChildren ==> "Resource -> <ReadGraph> [Resource]" <R L0.HasProperty : L0.FunctionalRelation
\r
23 MOD.SCLLabelRule <T VP.ChildRule
\r
24 >-- MOD.SCLLabelRule.getLabels ==> "Resource -> <ReadGraph> [String]" <R L0.HasProperty : L0.FunctionalRelation
\r
26 MOD.SCLAction <T ACT.Action
\r
27 --> MOD.SCLAction.action ==> "Resource -> <Proc> ()" <R L0.HasProperty : L0.FunctionalRelation
\r
29 MOD.SCLTest <T ACT.Action
\r
30 --> MOD.SCLTest.test ==> "Resource -> <ReadGraph> Boolean" <R L0.HasProperty : L0.FunctionalRelation
\r
32 // Legacy ModelingBrowseContext
\r
33 MBC = MOD.ModelingBrowseContext : VP.BrowseContext
\r
34 VP.BrowseContext.IsIncludedIn PROJECT.ProjectBrowseContext
\r
35 MAC = MOD.ModelingActionContext : VP.BrowseContext
\r
36 VP.BrowseContext.IsIncludedIn PROJECT.ProjectActionContext
\r
40 MOD.DefaultStructuralBrowseContext : VP.BrowseContext
\r
41 VP.BrowseContext.HasChildContribution MOD.Contributions.ModelConfiguration
\r
42 VP.BrowseContext.HasChildContribution MOD.Contributions.ComponentDefinition
\r
43 VP.BrowseContext.HasChildContribution MOD.Contributions.ComponentChildRule
\r
44 VP.BrowseContext.HasChildContribution MOD.Contributions.ComponentTypeToSymbol
\r
45 VP.BrowseContext.HasChildContribution MOD.Contributions.LocalLibrary
\r
46 VP.BrowseContext.HasChildContribution MOD.Contributions.LibraryChildren
\r
47 VP.BrowseContext.HasChildContribution MOD.Contributions.ImageChildren
\r
48 VP.BrowseContext.HasChildContribution MOD.Contributions.ElementClassChildren
\r
49 VP.BrowseContext.HasChildContribution MOD.Contributions.ConnectionsFolder
\r
50 VP.BrowseContext.HasChildContribution MOD.Contributions.ConfigurationBooks
\r
51 VP.BrowseContext.HasChildContribution MOD.Contributions.BookSheets
\r
52 VP.BrowseContext.HasChildContribution MOD.Contributions.SubscriptionItemChildren
\r
53 VP.BrowseContext.HasChildContribution MOD.Contributions.ChildrenInActiveExperiment
\r
54 VP.BrowseContext.HasChildContribution MOD.Contributions.VariableChildren
\r
55 VP.BrowseContext.HasChildContribution MOD.Contributions.ConfigurationComponents
\r
56 VP.BrowseContext.HasChildContribution MOD.Contributions.Code
\r
57 VP.BrowseContext.Includes MOD.DefaultStructuralLabelContext
\r
58 VP.BrowseContext.Includes MOD.DefaultStructuralLabelModifierContext
\r
59 VP.BrowseContext.Includes MOD.DefaultStructuralImageContext
\r
61 MOD.DefaultStructuralLabelContext : VP.BrowseContext
\r
62 VP.BrowseContext.HasVisualsContribution MOD.Contributions.ComponentTypesLabel
\r
63 VP.BrowseContext.HasVisualsContribution MOD.Contributions.ConfigurationLabel
\r
64 VP.BrowseContext.HasVisualsContribution MOD.Contributions.SubscriptionsLabel
\r
65 VP.BrowseContext.HasVisualsContribution MOD.Contributions.TerminalsLabel
\r
66 VP.BrowseContext.HasVisualsContribution MOD.Contributions.DocumentsLabel
\r
67 VP.BrowseContext.HasVisualsContribution MOD.Contributions.SymbolLabel
\r
68 VP.BrowseContext.HasVisualsContribution MOD.Contributions.SubscriptionLabel
\r
69 VP.BrowseContext.HasVisualsContribution MOD.Contributions.SubscriptionItemLabel
\r
70 VP.BrowseContext.HasVisualsContribution MOD.Contributions.SubscriptionItemLabelDecoration
\r
71 VP.BrowseContext.HasVisualsContribution MOD.Contributions.ConnectionRelationLabelDecoration
\r
72 VP.BrowseContext.HasVisualsContribution MOD.Contributions.VariableLabel
\r
73 VP.BrowseContext.HasVisualsContribution MOD.Contributions.CodeLabel
\r
75 MOD.DefaultStructuralLabelModifierContext : VP.BrowseContext
\r
76 VP.BrowseContext.HasVisualsContribution MOD.Contributions.SymbolLabelModifier
\r
77 VP.BrowseContext.HasVisualsContribution MOD.Contributions.SubscriptionLabelModifier
\r
78 VP.BrowseContext.HasVisualsContribution MOD.Contributions.SubscriptionItemLabelModifier
\r
81 MOD.DefaultStructuralImageContext : VP.BrowseContext
\r
82 VP.BrowseContext.HasVisualsContribution MOD.Contributions.SubscriptionImage
\r
83 VP.BrowseContext.HasVisualsContribution MOD.Contributions.SubscriptionsImage
\r
84 VP.BrowseContext.HasVisualsContribution MOD.Contributions.ComponentTypeImage
\r
85 VP.BrowseContext.HasVisualsContribution MOD.Contributions.ComponentImage
\r
86 VP.BrowseContext.HasVisualsContribution MOD.Contributions.CompositeImage
\r
87 VP.BrowseContext.HasVisualsContribution MOD.Contributions.ConfigurationImage
\r
88 VP.BrowseContext.HasVisualsContribution MOD.Contributions.ComponentTypesImage
\r
89 VP.BrowseContext.HasVisualsContribution MOD.Contributions.ConnectionPointDefinitionsImage
\r
90 VP.BrowseContext.HasVisualsContribution MOD.Contributions.SubscriptionItemImage
\r
91 VP.BrowseContext.HasVisualsContribution MOD.Contributions.SymbolImage
\r
92 VP.BrowseContext.HasVisualsContribution MOD.Contributions.ConnectionRelationImage
\r
93 VP.BrowseContext.HasVisualsContribution MOD.Contributions.DocumentsImage
\r
94 VP.BrowseContext.HasVisualsContribution MOD.Contributions.DocumentImage
\r
95 VP.BrowseContext.HasVisualsContribution MOD.Contributions.LibraryImage
\r
96 VP.BrowseContext.HasVisualsContribution MOD.Contributions.ProfileImage
\r
97 VP.BrowseContext.HasVisualsContribution MOD.Contributions.ProfileEntryImage
\r
98 VP.BrowseContext.HasVisualsContribution MOD.Contributions.StyleImage
\r
99 VP.BrowseContext.HasVisualsContribution MOD.Contributions.GroupImage
\r
100 VP.BrowseContext.HasVisualsContribution MOD.Contributions.VariableImage
\r
101 VP.BrowseContext.HasVisualsContribution MOD.Contributions.ImageImage
\r
102 VP.BrowseContext.HasVisualsContribution MOD.Contributions.CodeImage
\r
104 MOD.DefaultStructuralActionContext : VP.BrowseContext
\r
106 MOD.HasLocalLibrary <R L0.DependsOn
\r
107 L0.HasDescription "A relation used for binding libraries to a model for UI viewing purposes. Allows the creation of specific rules for UI viewpoints."
\r
108 L0.InverseOf MOD.IsLocalLibraryOf <R L0.IsWeaklyRelatedTo
\r
112 MOD.NewComposite <T ACT.Action
\r
113 MOD.NewComposite.HasCompositeType <R L0.IsRelatedTo : L0.TotalFunction
\r
114 L0.HasDomain MOD.NewComposite
\r
115 L0.HasRange L0.Type
\r
116 MOD.NewComposite.HasDefaultName <R L0.HasProperty : L0.TotalFunction
\r
117 L0.HasDomain MOD.NewComposite
\r
118 L0.HasRange L0.String
\r
120 MOD.ExportModel <T ACT.Action
\r
121 >-- MOD.ExportModel.extension --> L0.String <R L0.HasProperty : L0.FunctionalRelation
\r
122 >-- MOD.ExportModel.format --> L0.String <R L0.HasProperty : L0.FunctionalRelation
\r
125 MBC.SubscriptionLabelRule : VP.LabelRule
\r
126 MBC.SubscriptionImageRule : VP.ImageRule
\r
127 MBC.SubscriptionItemLabelRule : VP.LabelRule
\r
128 MBC.SubscriptionItemLabelDecorationRule : VP.LabelDecorationRule
\r
129 MBC.ExperimentLabelRule : VP.LabelRule
\r
130 MBC.ConnectionRelationLabelDecorationRule : VP.LabelDecorationRule
\r
131 MBC.ConnectionRelationModifierRule : VP.ModifierRule
\r
134 MBC.ComponentTypesFolder : VP.ResourceNodeType
\r
135 MBC.DocumentsFolder : VP.ResourceNodeType
\r
136 MBC.SubscriptionsFolder : VP.ResourceNodeType
\r
139 MBC.IsComponent : VP.Test
\r
140 L0.HasDescription "Returns true if the specified input Resource/Variable refers to a structural component."
\r
141 MBC.IsUserDefinedComponentTest : VP.Test
\r
142 L0.HasDescription "Returns true if the specified input Resource/Variable refers to an instance of a user-defined structural component type."
\r
144 MOD.Contributions.ModelLibraries
\r
145 @VP.defineRelationChildRule SIMU.Model L0.ConsistsOf L0.Library
\r
146 MOD.Contributions.Experiments
\r
147 @VP.defineRelationChildRule SIMU.Model L0.ConsistsOf SIMU.Experiment
\r
148 MOD.Contributions.ExperimentRuns
\r
149 @VP.defineRelationChildRule SIMU.Experiment L0.ConsistsOf SIMU.Run
\r
150 MOD.Contributions.Subscriptions
\r
151 @VP.defineRelationChildRule L0.Entity L0.ConsistsOf MOD.Subscription
\r
155 // Rules that are specific to structural models
\r
156 @VP.namedRelationChildRule MOD.Contributions.ModelConfiguration MOD.StructuralModel SIMU.HasConfiguration MBC.Configuration
\r
158 @VP.namedRelationChildRule MOD.Contributions.ComponentDefinition STR.ComponentType STR.IsDefinedBy MBC.Configuration
\r
159 VP.BrowseContext.HasChildContribution MOD.Contributions.ComponentChildRule : VP.ChildContribution
\r
160 VP.ChildContribution.HasParentNodeType STR.Component
\r
161 VP.ChildContribution.HasChildNodeType STR.Component
\r
162 VP.ChildContribution.HasRule _ : VP.RelationChildRule
\r
163 VP.RelationChildRule.HasRelation L0.ConsistsOf
\r
164 VP.RelationChildRule.HasTest _ : VP.HasNegatedTest
\r
165 VP.HasNegatedTest.HasTest _ : VP.HasStatementTest
\r
166 VP.HasStatementTest.HasRelation MOD.HiddenComposite
\r
167 @VP.namedRelationChildRule MOD.Contributions.ComponentTypeToSymbol STR.ComponentType MOD.ComponentTypeToSymbol MBC.Symbol
\r
168 @VP.namedRelationChildRule MOD.Contributions.ComponentTypeScript STR.ComponentType STR.ComponentType.hasScript STR.ComponentTypeScript
\r
169 @VP.namedRelationChildRule MOD.Contributions.SymbolToTerminal MBC.Symbol L0.ConsistsOf STR.ConnectionRelation
\r
171 @VP.namedRelationChildRule MOD.Contributions.LocalLibrary MOD.StructuralModel MOD.HasLocalLibrary L0.Library
\r
173 @VP.namedRelationChildRule MOD.Contributions.LibraryChildren L0.Library L0.ConsistsOf L0.Library
\r
174 @VP.namedRelationChildRule MOD.Contributions.ImageChildren L0.Library L0.ConsistsOf IMAGE.Image
\r
175 @VP.namedRelationChildRule MOD.Contributions.ElementClassChildren L0.Library L0.ConsistsOf DIA.ElementClass
\r
176 @VP.namedRelationChildRule MOD.Contributions.ConfigurationBooks MBC.Configuration L0.ConsistsOf SHEET.Book
\r
177 @VP.namedRelationChildRule MOD.Contributions.LibraryBooks L0.Library L0.ConsistsOf SHEET.Book
\r
178 @VP.namedRelationChildRule MOD.Contributions.BookSheets L0.Entity L0.ConsistsOf SHEET.Spreadsheet
\r
180 @VP.namedRelationChildRule MOD.Contributions.SCLModules L0.Entity L0.ConsistsOf L0.SCLModule
\r
182 @VP.namedRelationChildRule MOD.Contributions.SCLQueries L0.Library L0.ConsistsOf MOD.SCLQuery
\r
184 @VP.namedRelationChildRule MOD.Contributions.PGraphs L0.Ontology L0.ConsistsOf L0.PGraph
\r
186 // Contribute in product-specific browse context.
\r
187 //@VP.relationChildRuleWithFolder MOD.StructuralModel L0.ConsistsOf STR.ComponentType
\r
188 // MBC.ComponentTypesFolder
\r
190 @VP.namedRelationChildRuleWithFolder MOD.Contributions.ConnectionsFolder MOD.Contributions.ConnectionRelationChildren STR.ComponentType L0.ConsistsOf STR.ConnectionRelation
\r
191 MBC.ConnectionPointDefinitionsFolder : VP.ResourceNodeType
\r
193 // Contribute in product-specific browse context.
\r
194 //@VP.relationChildRuleWithFolder MOD.StructuralModel L0.ConsistsOf MOD.Subscription
\r
195 // MBC.SubscriptionsFolder
\r
197 @VP.namedRelationChildRule MOD.Contributions.SubscriptionItemChildren MOD.Subscription L0.ConsistsOf MOD.Subscription.Item
\r
199 @VP.namedRelationChildRule MOD.Contributions.Code STR.ProceduralComponentType STR.ProceduralComponentType.code STR.ProceduralComponentTypeCode
\r
201 // Contribute in product-specific browse context.
\r
202 //@VP.relationChildRuleWithFolder MOD.StructuralModel L0.ConsistsOf DOC.Document
\r
203 // MBC.DocumentsFolder
\r
205 VP.BrowseContext.HasChildContribution MOD.Contributions.ChildrenInActiveExperiment : VP.ChildContribution
\r
206 VP.ChildContribution.HasParentNodeType STR.Component
\r
207 VP.ChildContribution.HasChildNodeType MBC.Variable
\r
208 VP.ChildContribution.HasRule MBC.ChildrenInActiveExperiment : VP.ChildRule
\r
209 VP.BrowseContext.HasChildContribution MOD.Contributions.VariableChildren : VP.ChildContribution
\r
210 VP.ChildContribution.HasParentNodeType MBC.Variable
\r
211 VP.ChildContribution.HasChildNodeType MBC.Variable
\r
212 VP.ChildContribution.HasRule MBC.VariableChildRule
\r
213 VP.BrowseContext.HasChildContribution MOD.Contributions.SharedOntologies : VP.ChildContribution
\r
214 VP.ChildContribution.HasParentNodeType PROJECT.Project
\r
215 VP.ChildContribution.HasChildNodeType L0.SharedOntology
\r
216 VP.ChildContribution.HasRule MBC.SharedOntologies : MOD.SCLChildRule
\r
217 @MOD.scl MOD.SCLChildRule.getChildren """\_ -> (getSharedOntologies ())""" "Resource -> <ReadGraph> [Resource]"
\r
218 VP.BrowseContext.HasChildContribution MOD.Contributions.Ontologies : VP.ChildContribution
\r
219 VP.ChildContribution.HasParentNodeType PROJECT.Project
\r
220 VP.ChildContribution.HasChildNodeType L0.Ontology
\r
221 VP.ChildContribution.HasRule MBC.Ontologies : MOD.SCLChildRule
\r
222 @MOD.scl MOD.SCLChildRule.getChildren """\_ -> (getVisibleSystemOntologies ())""" "Resource -> <ReadGraph> [Resource]"
\r
223 VP.BrowseContext.HasChildContribution MOD.Contributions.ConfigurationComponents : VP.ChildContribution
\r
224 VP.ChildContribution.HasParentNodeType MBC.Configuration
\r
225 VP.ChildContribution.HasChildNodeType STR.Component
\r
226 VP.ChildContribution.HasRule _ : VP.RelationChildRule
\r
227 VP.RelationChildRule.HasRelation L0.ConsistsOf
\r
228 VP.RelationChildRule.HasTest _ : VP.HasNegatedTest
\r
229 VP.HasNegatedTest.HasTest _ : VP.HasStatementTest
\r
230 VP.HasStatementTest.HasRelation MOD.HiddenComposite
\r
232 MBC.VariableChildRule : VP.ChildRule
\r
234 MBC.VariablePropertyRule <T VP.ChildRule
\r
235 MBC.VariablePropertyRule.RequireProperty <R L0.DependsOn
\r
236 MBC.VariablePropertyRule.FilterProperty <R L0.DependsOn
\r
238 MBC.VariableLabelRule : VP.LabelRule
\r
239 MBC.VariableLabelRule.browseName ==> "String" <R L0.HasProperty : L0.FunctionalRelation
\r
240 L0.HasDescription "This property can be asserted for a type to customize the label returned by VariableLabelRule. By default VariableLabelRule will return the value of Variable.getName."
\r
242 MBC.Configuration : VP.ResourceNodeType
\r
244 MBC.Variable : VP.NodeType
\r
245 VP.HasContentType "Variable"
\r
247 MBC.Symbol : VP.ResourceNodeType
\r
248 // We cannot use DIA.ElementClass, because it inherits DIA.ComponentType
\r
249 // that has already unwanted contributions.
\r
251 MBC.ComponentTypeLockStatusImageDecorationRule : VP.ImageDecorationRule
\r
255 @VP.namedConstantLabelRule MOD.Contributions.ComponentTypesLabel MBC.ComponentTypesFolder "User components"
\r
256 @VP.namedConstantLabelRule MOD.Contributions.ConfigurationLabel MBC.Configuration "Configuration"
\r
257 @VP.namedConstantLabelRule MOD.Contributions.SubscriptionsLabel MBC.SubscriptionsFolder "Subscriptions"
\r
258 @VP.namedConstantLabelRule MOD.Contributions.TerminalsLabel MBC.ConnectionPointDefinitionsFolder "Terminals"
\r
259 @VP.namedConstantLabelRule MOD.Contributions.DocumentsLabel MBC.DocumentsFolder "Documents"
\r
260 @VP.namedConstantLabelRule MOD.Contributions.CodeLabel STR.ProceduralComponentTypeCode "Code"
\r
262 @VP.namedCustomLabelRule MOD.Contributions.ComponentTypeScriptLabel STR.ComponentTypeScript VP.ResourceNameLabelRule
\r
263 @VP.namedCustomLabelRule MOD.Contributions.SymbolLabel MBC.Symbol VP.ResourceNameLabelRule
\r
264 @VP.namedCustomLabelRule MOD.Contributions.SymbolLabelModifier MBC.Symbol VP.ResourceNameModifierRule
\r
265 @VP.namedCustomLabelRule MOD.Contributions.SubscriptionLabel MOD.Subscription MBC.SubscriptionLabelRule
\r
266 @VP.namedCustomLabelRuleWithPriority MOD.Contributions.SubscriptionLabelModifier MOD.Subscription VP.ResourceLabelModifierRule 1.0
\r
267 @VP.namedCustomLabelRule MOD.Contributions.SubscriptionItemLabel MOD.Subscription.Item MBC.SubscriptionItemLabelRule
\r
268 @VP.namedCustomLabelDecorationRule MOD.Contributions.SubscriptionItemLabelDecoration MOD.Subscription.Item MBC.SubscriptionItemLabelDecorationRule
\r
269 @VP.namedCustomLabelRule MOD.Contributions.SubscriptionItemLabelModifier MOD.Subscription.Item VP.ResourceLabelModifierRule
\r
270 @VP.namedCustomLabelDecorationRule MOD.Contributions.ConnectionRelationLabelDecoration STR.ConnectionRelation MBC.ConnectionRelationLabelDecorationRule
\r
271 @VP.namedCustomLabelRule MOD.Contributions.ConnectionRelationModifier STR.ConnectionRelation MBC.ConnectionRelationModifierRule
\r
273 VP.BrowseContext.HasVisualsContribution MOD.Contributions.VariableLabel : VP.VisualsContribution
\r
274 VP.VisualsContribution.HasNodeType MBC.Variable
\r
275 VP.VisualsContribution.HasRule MBC.VariableLabelRule
\r
279 @VP.namedCustomImageRule MOD.Contributions.SubscriptionImage MOD.Subscription MBC.SubscriptionImageRule
\r
280 @VP.namedConstantImageRule MOD.Contributions.SubscriptionsImage MBC.SubscriptionsFolder IMAGES.SubscriptionsFolder
\r
281 @VP.namedConstantImageRule MOD.Contributions.ComponentTypeImage STR.ComponentType IMAGES.ComponentType
\r
282 @VP.namedConstantImageRule MOD.Contributions.ComponentImage STR.Component SILK.brick
\r
283 @VP.namedConstantImageRule MOD.Contributions.CompositeImage STR.Composite SILK.bricks
\r
284 @VP.namedConstantImageRule MOD.Contributions.ConfigurationImage MBC.Configuration SILK.bricks
\r
285 @VP.namedConstantImageRule MOD.Contributions.ComponentTypesImage MBC.ComponentTypesFolder SILK.folder
\r
286 @VP.namedConstantImageRule MOD.Contributions.ConnectionPointDefinitionsImage MBC.ConnectionPointDefinitionsFolder SILK.folder
\r
287 @VP.namedConstantImageRule MOD.Contributions.SubscriptionItemImage MOD.Subscription.Item SILK.tag_blue
\r
288 @VP.namedConstantImageRule MOD.Contributions.SymbolImage MBC.Symbol SILK.image
\r
289 @VP.namedConstantImageRule MOD.Contributions.ConnectionRelationImage STR.ConnectionRelation SILK.bullet_green
\r
290 @VP.namedConstantImageRule MOD.Contributions.DocumentsImage MBC.DocumentsFolder SILK.folder
\r
291 @VP.namedConstantImageRule MOD.Contributions.DocumentImage DOC.Document SILK.page_white
\r
292 @VP.namedConstantImageRule MOD.Contributions.UrlDocumentImage DOC.UrlDocument SILK.page_white_world
\r
293 @VP.namedConstantImageRule MOD.Contributions.LibraryImage L0.Library SILK.folder
\r
294 @VP.namedConstantImageRule MOD.Contributions.SharedOntologyImage L0.SharedOntology SILK.folder_brick
\r
295 @VP.namedConstantImageRule MOD.Contributions.ProfileImage DIA.Profile SILK.bullet_green
\r
296 @VP.namedConstantImageRule MOD.Contributions.ProfileEntryImage DIA.ProfileEntry SILK.bullet_green
\r
297 @VP.namedConstantImageRule MOD.Contributions.StyleImage DIA.Style SILK.bullet_green
\r
298 @VP.namedConstantImageRule MOD.Contributions.GroupImage DIA.Group SILK.bullet_green
\r
299 @VP.namedConstantImageRule MOD.Contributions.VariableImage MBC.Variable SILK.bullet_black
\r
300 VP.BrowseContext.HasVisualsContribution MOD.Contributions.ConfiguredComponentImage : VP.VisualsContribution
\r
301 VP.VisualsContribution.HasNodeType MBC.Variable
\r
302 VP.VisualsContribution.HasPriority 1.0
\r
303 VP.VisualsContribution.HasRule MOD.Contributions.ComponentImage : VP.ConstantImageRule
\r
304 VP.ConstantImageRule.HasColumnKey "single"
\r
305 VP.ConstantImageRule.HasImage SILK.brick
\r
306 VP.VisualsContribution.HasCondition MBC.IsComponent
\r
307 VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution
\r
308 VP.VisualsContribution.HasNodeType MBC.Variable
\r
309 VP.VisualsContribution.HasPriority 2.0
\r
310 VP.VisualsContribution.HasRule MOD.Contributions.UserDefinedComponentImage : VP.ConstantImageRule
\r
311 VP.ConstantImageRule.HasColumnKey "single"
\r
312 VP.ConstantImageRule.HasImage IMAGES.UserDefinedComponent
\r
313 VP.VisualsContribution.HasCondition MBC.IsUserDefinedComponentTest
\r
314 VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution
\r
315 VP.VisualsContribution.HasNodeType L0.Library
\r
316 VP.VisualsContribution.HasPriority 2.0
\r
317 VP.VisualsContribution.HasRule MOD.Contributions.FolderLockImage : VP.ConstantImageRule
\r
318 VP.ConstantImageRule.HasColumnKey "single"
\r
319 VP.ConstantImageRule.HasImage IMAGES.FolderLock
\r
320 VP.VisualsContribution.HasCondition TESTS.IsPublished
\r
321 VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution
\r
322 VP.VisualsContribution.HasNodeType STR.ComponentType
\r
323 VP.VisualsContribution.HasPriority 2.0
\r
324 VP.VisualsContribution.HasRule MOD.Contributions.ComponentLockImage : VP.ConstantImageRule
\r
325 VP.ConstantImageRule.HasColumnKey "single"
\r
326 VP.ConstantImageRule.HasImage IMAGES.ComponentLock
\r
327 VP.VisualsContribution.HasCondition TESTS.IsPublished
\r
328 VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution
\r
329 VP.VisualsContribution.HasNodeType STR.Component
\r
330 VP.VisualsContribution.HasPriority 1.0
\r
331 VP.VisualsContribution.HasRule MOD.Contributions.UserDefinedComponentImage
\r
332 VP.VisualsContribution.HasCondition MBC.IsUserDefinedComponentTest
\r
333 @VP.namedConstantImageRule MOD.Contributions.ImageImage IMAGE.Image SILK.image
\r
334 @VP.namedConstantImageRule MOD.Contributions.ModuleImage L0.SCLModule SILK.box
\r
335 @VP.namedConstantImageRule MOD.Contributions.PGraphImage L0.PGraph SILK.box
\r
336 @VP.namedConstantImageRule MOD.Contributions.QueryImage MOD.SCLQuery SILK.script
\r
337 @VP.namedConstantImageRule MOD.Contributions.CodeImage STR.ProceduralComponentTypeCode SILK.book_open
\r
338 @VP.namedConstantImageRule MOD.Contributions.ComponentTypeScriptImage STR.ComponentTypeScript SILK.book_open
\r
339 @VP.namedConstantImageRule MOD.Contributions.SheetBookImage SHEET.Book SILK.folder_table
\r
340 @VP.namedConstantImageRule MOD.Contributions.SheetImage SHEET.Spreadsheet SILK.table
\r
341 @VP.customImageDecorationRule STR.ComponentType MBC.ComponentTypeLockStatusImageDecorationRule
\r
343 IMAGES = MBC.Images : L0.Library
\r
344 IMAGES.SubscriptionsFolder : IMAGE.PngImage
\r
345 @L0.loadBytes "images/subscriptions.png"
\r
346 IMAGES.ComponentType : IMAGE.PngImage
\r
347 @L0.loadBytes "images/shape_3d.png"
\r
348 IMAGES.UserDefinedComponent : IMAGE.PngImage
\r
349 @L0.loadBytes "images/shape_3d_gray.png"
\r
350 IMAGES.FolderLock : IMAGE.PngImage
\r
351 @L0.loadBytes "images/folder_lock.png"
\r
352 IMAGES.ComponentLock : IMAGE.PngImage
\r
353 @L0.loadBytes "images/shape_3d_lock.png"
\r
356 @VP.dropActionContribution MOD.Subscription MAC.Actions.SubscriptionDropAction 1.0
\r
358 MOD.sclAction : L0.Template
\r
359 @template %action %expression
\r
360 %action : MOD.SCLAction
\r
361 MOD.SCLAction.action _ : MOD.SCLValue
\r
362 L0.SCLValue.expression %expression
\r
363 L0.HasValueType "Resource -> <Proc> ()"
\r
365 MOD.sclTest : L0.Template
\r
366 @template %subject %expression
\r
367 %subject : MOD.SCLTest
\r
368 MOD.SCLTest.test _ : MOD.SCLValue
\r
369 L0.SCLValue.expression %expression
\r
370 L0.HasValueType "Resource -> <ReadGraph> Boolean"
\r
372 MOD.Contributions.NewSheetBook : VP.ActionContribution
\r
373 L0.HasLabel "Spreadsheet"
\r
374 VP.ActionContribution.HasImage SILK.star
\r
375 VP.ActionContribution.HasCategory VP.NewActionCategory
\r
376 VP.ActionContribution.HasNodeType L0.Library
\r
377 VP.ActionContribution.HasAction ACTIONS.NewSheetBook
\r
379 MOD.Contributions.ActivateModel : VP.ActionContribution
\r
380 L0.HasLabel "Activate"
\r
381 VP.ActionContribution.HasImage SILK.bullet_go
\r
382 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
383 VP.ActionContribution.HasNodeType SIMU.Model
\r
384 VP.ActionContribution.HasAction ACTIONS.ActivateModel
\r
386 MOD.Contributions.Help : VP.ActionContribution
\r
388 VP.ActionContribution.HasImage SILK.help
\r
389 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
390 VP.ActionContribution.HasNodeType L0.Entity
\r
391 VP.ActionContribution.HasAction ACTIONS.Help
\r
395 VP.BrowseContext.HasActionContribution MOD.Contributions.Help
\r
396 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
397 L0.HasLabel "Migrate"
\r
398 VP.ActionContribution.HasImage SILK.star
\r
399 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
400 VP.ActionContribution.HasNodeType STR.ComponentType
\r
401 VP.ActionContribution.HasAction ACTIONS.MigrateComponentType
\r
402 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
403 L0.HasLabel "Migrate"
\r
404 VP.ActionContribution.HasImage SILK.star
\r
405 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
406 VP.ActionContribution.HasNodeType L0.SharedOntology
\r
407 VP.ActionContribution.HasAction ACTIONS.MigrateComponentType
\r
408 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
409 L0.HasLabel "Compile Ontology Definitions"
\r
410 VP.ActionContribution.HasImage SILK.star
\r
411 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
412 VP.ActionContribution.HasNodeType L0.SharedOntology
\r
413 VP.ActionContribution.HasAction ACTIONS.CompilePGraphs
\r
414 // VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
415 // L0.HasLabel "Migrate"
\r
416 // VP.ActionContribution.HasImage SILK.star
\r
417 // VP.ActionContribution.HasCategory VP.EditActionCategory
\r
418 // VP.ActionContribution.HasNodeType MOD.MasterTypicalCompositeType
\r
419 // VP.ActionContribution.HasAction ACTIONS.MigrateMasterTypical
\r
420 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
421 L0.HasLabel "Create New Version"
\r
422 VP.ActionContribution.HasImage SILK.new
\r
423 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
424 VP.ActionContribution.HasNodeType STR.ComponentType
\r
425 VP.ActionContribution.HasAction ACTIONS.CreateNewVersion
\r
426 VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
\r
427 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
428 L0.HasLabel "Create New Version"
\r
429 VP.ActionContribution.HasImage SILK.new
\r
430 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
431 VP.ActionContribution.HasNodeType L0.SharedOntology
\r
432 VP.ActionContribution.HasAction ACTIONS.CreateNewVersion
\r
433 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
434 L0.HasLabel "Finish for Publishing"
\r
435 VP.ActionContribution.HasImage SILK.lock
\r
436 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
437 VP.ActionContribution.HasNodeType STR.ComponentType
\r
438 VP.ActionContribution.IsVisibleIf TESTS.IsNotPublished
\r
439 VP.ActionContribution.HasAction ACTIONS.FinishComponentTypeForPublishing
\r
440 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
441 L0.HasLabel "Finish for Publishing"
\r
442 VP.ActionContribution.HasImage SILK.lock
\r
443 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
444 VP.ActionContribution.HasNodeType L0.SharedOntology
\r
445 VP.ActionContribution.IsVisibleIf TESTS.IsNotPublished
\r
446 VP.ActionContribution.HasAction ACTIONS.FinishSharedOntologyForPublishing
\r
447 VP.BrowseContext.HasActionContribution MOD.Contributions.NewSCLModule : VP.ActionContribution
\r
448 L0.HasLabel "SCL Module"
\r
449 VP.ActionContribution.HasImage SILK.page_white_text
\r
450 VP.ActionContribution.HasCategory VP.NewActionCategory
\r
451 VP.ActionContribution.HasNodeType
\r
454 VP.ActionContribution.HasAction ACTIONS.NewSCLModule
\r
455 VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
\r
456 VP.BrowseContext.HasActionContribution MOD.Contributions.NewPGraph : VP.ActionContribution
\r
457 L0.HasLabel "Ontology Definition File"
\r
458 VP.ActionContribution.HasImage SILK.page_white_text
\r
459 VP.ActionContribution.HasCategory VP.NewActionCategory
\r
460 VP.ActionContribution.HasNodeType L0.Ontology
\r
461 VP.ActionContribution.HasAction ACTIONS.NewPGraph
\r
462 VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
\r
463 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
464 L0.HasLabel "SCL Query"
\r
465 VP.ActionContribution.HasImage SILK.script_add
\r
466 VP.ActionContribution.HasCategory VP.NewActionCategory
\r
467 VP.ActionContribution.HasNodeType L0.Library
\r
468 VP.ActionContribution.HasAction ACTIONS.NewSCLQuery
\r
469 VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
\r
470 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
471 L0.HasLabel "SCL Query Type"
\r
472 VP.ActionContribution.HasImage SILK.script_add
\r
473 VP.ActionContribution.HasCategory VP.NewActionCategory
\r
474 VP.ActionContribution.HasNodeType L0.Library
\r
475 VP.ActionContribution.HasAction ACTIONS.NewSCLQueryType
\r
476 VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
\r
477 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
478 L0.HasLabel "User Component"
\r
479 VP.ActionContribution.HasImage IMAGES.ComponentType
\r
480 VP.ActionContribution.HasCategory VP.NewActionCategory
\r
481 VP.ActionContribution.HasNodeType MBC.ComponentTypesFolder
\r
482 VP.ActionContribution.HasAction ACTIONS.NewComponentType : ACT.Action
\r
483 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
484 L0.HasLabel "User Component"
\r
485 VP.ActionContribution.HasImage IMAGES.ComponentType
\r
486 VP.ActionContribution.HasCategory VP.NewActionCategory
\r
487 VP.ActionContribution.HasNodeType L0.Library
\r
488 VP.ActionContribution.HasAction ACTIONS.NewComponentType : ACT.Action
\r
489 VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
\r
490 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
491 L0.HasLabel "Procedural User Component"
\r
492 VP.ActionContribution.HasImage IMAGES.ComponentType
\r
493 VP.ActionContribution.HasCategory VP.NewActionCategory
\r
494 VP.ActionContribution.HasNodeType MBC.ComponentTypesFolder
\r
495 VP.ActionContribution.HasAction ACTIONS.NewProceduralComponentType : ACT.Action
\r
496 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
497 L0.HasLabel "Procedural User Component"
\r
498 VP.ActionContribution.HasImage IMAGES.ComponentType
\r
499 VP.ActionContribution.HasCategory VP.NewActionCategory
\r
500 VP.ActionContribution.HasNodeType L0.Library
\r
501 VP.ActionContribution.HasAction ACTIONS.NewProceduralComponentType : ACT.Action
\r
502 VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
\r
503 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
504 L0.HasLabel "Assign Symbol Group..."
\r
505 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
506 VP.ActionContribution.HasNodeType MBC.Symbol
\r
507 VP.ActionContribution.HasAction ACTIONS.AssignSymbolGroup : ACT.Action
\r
508 VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
\r
509 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
510 L0.HasLabel "Configure Connection Types..."
\r
511 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
512 VP.ActionContribution.HasNodeType STR.ConnectionRelation
\r
513 VP.ActionContribution.HasAction ACTIONS.ConfigureConnectionTypes : ACT.Action
\r
514 VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
\r
515 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
516 L0.HasLabel "Document"
\r
517 VP.ActionContribution.HasImage SILK.page_white
\r
518 VP.ActionContribution.HasCategory VP.NewActionCategory
\r
519 VP.ActionContribution.HasNodeType MBC.DocumentsFolder
\r
520 VP.ActionContribution.HasAction ACTIONS.NewDocument : ACT.Action
\r
521 VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
\r
522 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
523 L0.HasLabel "Library"
\r
524 VP.ActionContribution.HasImage SILK.folder
\r
525 VP.ActionContribution.HasCategory VP.NewActionCategory
\r
526 VP.ActionContribution.HasNodeType L0.Library
\r
527 VP.ActionContribution.HasAction ACTIONS.NewLibrary : ACT.Action
\r
528 VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
\r
529 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
530 L0.HasLabel "Merge Flags"
\r
531 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
532 VP.ActionContribution.HasNodeType STR.Composite
\r
533 VP.ActionContribution.HasAction ACTIONS.MergeFlags : ACT.Action
\r
534 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
535 L0.HasLabel "Rename Diagram Components"
\r
536 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
537 VP.ActionContribution.HasNodeType STR.Composite
\r
538 VP.ActionContribution.HasAction ACTIONS.RenameDiagramComponents
\r
539 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
540 L0.HasLabel "Connection Point"
\r
541 VP.ActionContribution.HasCategory VP.NewActionCategory
\r
542 VP.ActionContribution.HasNodeType STR.ProceduralComponentType
\r
543 VP.ActionContribution.HasNodeType MBC.ConnectionPointDefinitionsFolder
\r
544 VP.ActionContribution.HasAction ACTIONS.NewConnectionPoint : ACT.Action
\r
545 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
546 L0.HasLabel "Symbol"
\r
547 VP.ActionContribution.HasImage SILK.image
\r
548 VP.ActionContribution.HasCategory VP.NewActionCategory
\r
549 VP.ActionContribution.HasNodeType STR.ComponentType
\r
550 VP.ActionContribution.HasAction ACTIONS.NewSymbol : ACT.Action
\r
551 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
553 VP.ActionContribution.HasImage SILK.page_copy
\r
554 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
555 VP.ActionContribution.HasNodeType STR.ComponentType
\r
556 VP.ActionContribution.HasAction ACTIONS.Copy : ACT.Action
\r
557 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
559 VP.ActionContribution.HasImage SILK.cut
\r
560 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
561 VP.ActionContribution.HasNodeType STR.ComponentType
\r
562 VP.ActionContribution.HasAction ACTIONS.Cut : ACT.Action
\r
563 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
564 L0.HasLabel "Paste"
\r
565 VP.ActionContribution.HasImage SILK.page_paste
\r
566 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
567 VP.ActionContribution.HasNodeType L0.Library
\r
568 VP.ActionContribution.HasAction ACTIONS.Paste : ACT.Action
\r
569 VP.ActionContribution.IsVisibleIf TESTS.HasSomethingToPaste
\r
570 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
572 VP.ActionContribution.HasImage SILK.lock
\r
573 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
574 VP.ActionContribution.HasNodeType STR.ComponentType
\r
575 VP.ActionContribution.HasAction ACTIONS.Lock : ACT.Action
\r
576 VP.ActionContribution.IsVisibleIf TESTS.IsNotLocked
\r
577 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
\r
578 L0.HasLabel "Unlock"
\r
579 VP.ActionContribution.HasImage SILK.lock_open
\r
580 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
581 VP.ActionContribution.HasNodeType STR.ComponentType
\r
582 VP.ActionContribution.HasAction ACTIONS.Unlock : ACT.Action
\r
583 VP.ActionContribution.IsVisibleIf TESTS.IsLocked
\r
584 VP.BrowseContext.SupportsRemovalOf MBC.Symbol
\r
585 VP.BrowseContext.SupportsRenamingOf MBC.Symbol
\r
586 VP.BrowseContext.HasActionContribution
\r
587 MOD.Contributions.NewSheetBook
\r
589 @VP.renamingTestContribution
\r
594 @VP.actionContributionWithVisibility "Images" L0.Library SILK.image VP.ImportActionCategory ACTIONS.ImportImages MAC.Tests.IsContainerNotPublished
\r
596 MOD.Contributions.Delete : VP.ActionContribution
\r
597 L0.HasLabel "Delete"
\r
598 VP.ActionContribution.HasImage SILK.cross
\r
599 VP.ActionContribution.HasCategory VP.EditActionCategory
\r
600 VP.ActionContribution.HasNodeType L0.Entity
\r
601 VP.ActionContribution.HasAction ACTIONS.Delete
\r
602 VP.ActionContribution.IsVisibleIf TESTS.CanDelete
\r
604 ACTIONS = MAC.Actions : L0.Library
\r
605 ACTIONS.ImportImages : ACT.Action
\r
606 ACTIONS.Delete : ACT.Action
\r
607 ACTIONS.NewLocalLibrary : ACT.Action
\r
608 ACTIONS.SubscriptionDropAction : ACT.DropAction
\r
609 ACTIONS.FinishComponentTypeForPublishing
\r
610 @MOD.sclAction "publishComponentTypeAction"
\r
611 ACTIONS.FinishSharedOntologyForPublishing
\r
612 @MOD.sclAction "publishSharedOntologyAction"
\r
613 ACTIONS.CreateNewVersion
\r
614 @MOD.sclAction "newVersionAction"
\r
615 ACTIONS.NewSCLModule
\r
616 @MOD.sclAction "createSCLModuleAction"
\r
618 @MOD.sclAction "createPGraphAction"
\r
619 ACTIONS.NewSCLQuery : ACT.Action
\r
620 ACTIONS.NewSCLQueryType
\r
621 @MOD.sclAction "createSCLQueryTypeAction"
\r
622 ACTIONS.NewSheetBook
\r
623 @MOD.sclAction "createSpreadsheetBookAction"
\r
624 ACTIONS.ActivateModel
\r
625 @MOD.sclAction "activateModelAction"
\r
626 ACTIONS.MigrateComponentType : ACT.Action
\r
627 ACTIONS.CompilePGraphs : ACT.Action
\r
628 //ACTIONS.MigrateMasterTypical : ACT.Action
\r
629 ACTIONS.RenameDiagramComponents : ACT.Action
\r
630 ACTIONS.Help : ACT.Action
\r
632 TESTS = MAC.Tests : L0.Library
\r
633 TESTS.IsNotPublished
\r
634 @MOD.sclTest "isNotPublished"
\r
636 @MOD.sclTest "isPublished"
\r
638 @MOD.sclTest "isNotLocked"
\r
640 @MOD.sclTest "isLocked"
\r
641 TESTS.IsContainerNotPublished
\r
642 @MOD.sclTest "isContainerNotPublished"
\r
643 TESTS.HasSomethingToPaste
\r
644 @MOD.sclTest "hasSomethingToPaste"
\r
646 @MOD.sclTest "canDelete"
\r
648 @MOD.sclTest "canRename"
\r
651 MOD.Functions : L0.Library
\r
652 MOD.Functions.singleVariableSelection : L0.Function
\r
653 L0.HasValueType "a"
\r
654 MOD.Functions.projectSelection : L0.Function
\r
655 L0.HasValueType "a"
\r
656 MOD.Functions.standardPersistor : L0.Function
\r
657 L0.HasValueType "StatePersistor"
\r
660 //MOD.ModelBrowser : MOD.ModelBrowser
\r