]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.modeling.ontology/graph/ModelingViewpoint.pgraph
Adopt spreadsheet changes made in Balas development
[simantics/platform.git] / bundles / org.simantics.modeling.ontology / graph / ModelingViewpoint.pgraph
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 SIMU = <http://www.simantics.org/Simulation-1.1>
5 STR = <http://www.simantics.org/Structural-1.2>
6 PROJECT = <http://www.simantics.org/Project-1.2>
7 MOD = <http://www.simantics.org/Modeling-1.2>
8 IMAGE = <http://www.simantics.org/Image2-1.2>
9 COLOR = <http://www.simantics.org/Color-1.1>
10 DIA = <http://www.simantics.org/Diagram-2.2>
11 ACT = <http://www.simantics.org/Action-1.1>
12 VIEW = <http://www.simantics.org/Views-1.2>
13 SILK = <http://www.simantics.org/Silk-1.1>
14 DOC = <http://www.simantics.org/Document-1.2>
15 SHEET = <http://www.simantics.org/Spreadsheet-1.2>
16
17 // Library containing all modeling viewpoint contributions
18 MOD.Contributions : L0.Library
19
20 MOD.SCLChildRule <T VP.ChildRule
21   >-- MOD.SCLChildRule.getChildren ==> "Resource -> <ReadGraph> [Resource]" <R L0.HasProperty : L0.FunctionalRelation
22
23 MOD.SCLLabelRule <T VP.VisualsRule
24   >-- MOD.SCLLabelRule.getLabels ==> "Resource -> <ReadGraph> [String]" <R L0.HasProperty : L0.FunctionalRelation
25
26 MOD.SCLImageRule <T VP.VisualsRule
27   >-- MOD.SCLImageRule.getImages ==> "Resource -> <ReadGraph> [(String,ImageDescriptor)]" <R L0.HasProperty : L0.FunctionalRelation
28
29 MOD.SCLLabelForegroundColorRule <T VP.VisualsRule
30   >-- MOD.SCLLabelForegroundColorRule.getColor ==> "Resource -> Maybe (Double, Double, Double) -> String -> Integer -> <ReadGraph> Maybe (Double, Double, Double)]" <R L0.HasProperty : L0.FunctionalRelation
31
32 MOD.SCLLabelBackgroundColorRule <T VP.VisualsRule
33   >-- MOD.SCLLabelBackgroundColorRule.getColor ==> "Resource -> Maybe (Double, Double, Double) -> String -> Integer -> <ReadGraph> Maybe (Double, Double, Double)]" <R L0.HasProperty : L0.FunctionalRelation
34
35 MOD.SCLCheckedStateRule <T VP.VisualsRule
36   >-- MOD.SCLCheckedStateRule.getState ==> "BrowseNodeRule CheckedState" <R L0.HasProperty : L0.FunctionalRelation
37
38 MOD.SCLAction <T ACT.Action
39   --> MOD.SCLAction.action ==> "Resource -> <Proc> ()" <R L0.HasProperty : L0.FunctionalRelation 
40
41 MOD.SCLDropAction <T ACT.Action
42   --> MOD.SCLDropAction.action ==> "Resource -> Dynamic -> Integer -> <Proc> ()" <R L0.HasProperty : L0.FunctionalRelation 
43
44 MOD.SCLTest <T VP.Test
45   --> MOD.SCLTest.test ==> "Resource -> <ReadGraph> Boolean" <R L0.HasProperty : L0.FunctionalRelation 
46
47 // Legacy ModelingBrowseContext
48 MBC = MOD.ModelingBrowseContext : VP.BrowseContext
49     VP.BrowseContext.IsIncludedIn PROJECT.ProjectBrowseContext
50 MAC = MOD.ModelingActionContext : VP.BrowseContext
51     VP.BrowseContext.IsIncludedIn PROJECT.ProjectActionContext
52     
53     
54 // Browse contexts
55 MOD.DefaultStructuralBrowseContext : VP.BrowseContext
56     VP.BrowseContext.HasChildContribution MOD.Contributions.ModelConfiguration
57     VP.BrowseContext.HasChildContribution MOD.Contributions.ComponentDefinition
58     VP.BrowseContext.HasChildContribution MOD.Contributions.ComponentChildRule
59     VP.BrowseContext.HasChildContribution MOD.Contributions.ComponentTypeToSymbol
60     VP.BrowseContext.HasChildContribution MOD.Contributions.LocalLibrary
61     VP.BrowseContext.HasChildContribution MOD.Contributions.LibraryChildren
62     VP.BrowseContext.HasChildContribution MOD.Contributions.ImageChildren
63     VP.BrowseContext.HasChildContribution MOD.Contributions.ElementClassChildren
64     VP.BrowseContext.HasChildContribution MOD.Contributions.ConnectionsFolder
65     VP.BrowseContext.HasChildContribution MOD.Contributions.ConfigurationBooks
66     VP.BrowseContext.HasChildContribution MOD.Contributions.BookSheets
67     VP.BrowseContext.HasChildContribution MOD.Contributions.SubscriptionItemChildren
68     VP.BrowseContext.HasChildContribution MOD.Contributions.ChildrenInActiveExperiment
69     VP.BrowseContext.HasChildContribution MOD.Contributions.VariableChildren
70     VP.BrowseContext.HasChildContribution MOD.Contributions.ConfigurationComponents
71     VP.BrowseContext.HasChildContribution MOD.Contributions.Code
72     VP.BrowseContext.Includes MOD.DefaultStructuralLabelContext
73     VP.BrowseContext.Includes MOD.DefaultStructuralLabelModifierContext
74     VP.BrowseContext.Includes MOD.DefaultStructuralImageContext
75     
76 MOD.DefaultStructuralLabelContext : VP.BrowseContext    
77     VP.BrowseContext.HasVisualsContribution MOD.Contributions.ComponentTypesLabel
78     VP.BrowseContext.HasVisualsContribution MOD.Contributions.ConfigurationLabel
79     VP.BrowseContext.HasVisualsContribution MOD.Contributions.SubscriptionsLabel
80     VP.BrowseContext.HasVisualsContribution MOD.Contributions.TerminalsLabel
81     VP.BrowseContext.HasVisualsContribution MOD.Contributions.DocumentsLabel
82     VP.BrowseContext.HasVisualsContribution MOD.Contributions.SymbolLabel
83     VP.BrowseContext.HasVisualsContribution MOD.Contributions.SubscriptionLabel
84     VP.BrowseContext.HasVisualsContribution MOD.Contributions.SubscriptionItemLabel
85     VP.BrowseContext.HasVisualsContribution MOD.Contributions.SubscriptionItemLabelDecoration
86     VP.BrowseContext.HasVisualsContribution MOD.Contributions.ConnectionRelationLabelDecoration
87     VP.BrowseContext.HasVisualsContribution MOD.Contributions.VariableLabel
88     VP.BrowseContext.HasVisualsContribution MOD.Contributions.CodeLabel
89
90 MOD.DefaultStructuralLabelModifierContext : VP.BrowseContext     
91     VP.BrowseContext.HasVisualsContribution MOD.Contributions.SymbolLabelModifier
92     VP.BrowseContext.HasVisualsContribution MOD.Contributions.SubscriptionLabelModifier
93     VP.BrowseContext.HasVisualsContribution MOD.Contributions.SubscriptionItemLabelModifier
94
95     
96 MOD.DefaultStructuralImageContext : VP.BrowseContext
97     VP.BrowseContext.HasVisualsContribution MOD.Contributions.SubscriptionImage
98     VP.BrowseContext.HasVisualsContribution MOD.Contributions.SubscriptionsImage
99     VP.BrowseContext.HasVisualsContribution MOD.Contributions.ComponentTypeImage
100     VP.BrowseContext.HasVisualsContribution MOD.Contributions.ComponentImage
101     VP.BrowseContext.HasVisualsContribution MOD.Contributions.CompositeImage
102     VP.BrowseContext.HasVisualsContribution MOD.Contributions.ConfigurationImage
103     VP.BrowseContext.HasVisualsContribution MOD.Contributions.ComponentTypesImage
104     VP.BrowseContext.HasVisualsContribution MOD.Contributions.ConnectionPointDefinitionsImage
105     VP.BrowseContext.HasVisualsContribution MOD.Contributions.SubscriptionItemImage
106     VP.BrowseContext.HasVisualsContribution MOD.Contributions.SymbolImage
107     VP.BrowseContext.HasVisualsContribution MOD.Contributions.ConnectionRelationImage
108     VP.BrowseContext.HasVisualsContribution MOD.Contributions.DocumentsImage
109     VP.BrowseContext.HasVisualsContribution MOD.Contributions.DocumentImage
110     VP.BrowseContext.HasVisualsContribution MOD.Contributions.LibraryImage
111     VP.BrowseContext.HasVisualsContribution MOD.Contributions.ProfileImage
112     VP.BrowseContext.HasVisualsContribution MOD.Contributions.ProfileEntryImage
113     VP.BrowseContext.HasVisualsContribution MOD.Contributions.StyleImage
114     VP.BrowseContext.HasVisualsContribution MOD.Contributions.GroupImage
115     VP.BrowseContext.HasVisualsContribution MOD.Contributions.VariableImage
116     VP.BrowseContext.HasVisualsContribution MOD.Contributions.ImageImage
117     VP.BrowseContext.HasVisualsContribution MOD.Contributions.CodeImage
118     
119 MOD.DefaultStructuralActionContext : VP.BrowseContext    
120
121 MOD.HasLocalLibrary <R L0.DependsOn
122     L0.HasDescription "A relation used for binding libraries to a model for UI viewing purposes. Allows the creation of specific rules for UI viewpoints."
123     L0.InverseOf MOD.IsLocalLibraryOf <R L0.IsWeaklyRelatedTo
124     <-- SIMU.Model
125     --> L0.Library
126
127 MOD.NewComposite <T ACT.Action
128 MOD.NewComposite.HasCompositeType <R L0.IsRelatedTo : L0.TotalFunction
129     L0.HasDomain MOD.NewComposite
130     L0.HasRange  L0.Type
131 MOD.NewComposite.HasDefaultName <R L0.HasProperty : L0.TotalFunction
132     L0.HasDomain MOD.NewComposite
133     L0.HasRange  L0.String
134
135 MOD.ExportModel <T ACT.Action
136     >-- MOD.ExportModel.extension --> L0.String <R L0.HasProperty : L0.FunctionalRelation
137     >-- MOD.ExportModel.format --> L0.String <R L0.HasProperty : L0.FunctionalRelation
138
139 // Rules
140 MBC.SubscriptionLabelRule : VP.LabelRule
141 MBC.SubscriptionImageRule : VP.ImageRule
142 MBC.SubscriptionItemLabelRule : VP.LabelRule
143 MBC.SubscriptionItemLabelDecorationRule : VP.LabelDecorationRule
144 MBC.ExperimentLabelRule : VP.LabelRule
145 MBC.ConnectionRelationLabelDecorationRule : VP.LabelDecorationRule
146 MBC.ConnectionRelationModifierRule : VP.ModifierRule
147
148 // Node types
149 MBC.ComponentTypesFolder : VP.ResourceNodeType
150 MBC.DocumentsFolder : VP.ResourceNodeType
151 MBC.SubscriptionsFolder : VP.ResourceNodeType
152
153 // Tests
154 MBC.IsComponent : VP.Test
155     L0.HasDescription "Returns true if the specified input Resource/Variable refers to a structural component."
156 MBC.IsUserDefinedComponentTest : VP.Test
157     L0.HasDescription "Returns true if the specified input Resource/Variable refers to an instance of a user-defined structural component type."
158
159 MOD.Contributions.ModelLibraries
160     @VP.defineRelationChildRule SIMU.Model L0.ConsistsOf L0.Library
161 MOD.Contributions.Experiments
162     @VP.defineRelationChildRule SIMU.Model L0.ConsistsOf SIMU.Experiment
163 MOD.Contributions.ExperimentRuns
164     @VP.defineRelationChildRule SIMU.Experiment L0.ConsistsOf SIMU.Run
165 MOD.Contributions.Subscriptions
166     @VP.defineRelationChildRule L0.Entity L0.ConsistsOf MOD.Subscription
167
168 // Viewpoint
169 MBC    
170     // Rules that are specific to structural models
171     @VP.namedRelationChildRule           MOD.Contributions.ModelConfiguration MOD.StructuralModel SIMU.HasConfiguration MBC.Configuration
172
173     @VP.namedRelationChildRule           MOD.Contributions.ComponentDefinition STR.ComponentType   STR.IsDefinedBy MBC.Configuration
174     VP.BrowseContext.HasChildContribution MOD.Contributions.ComponentChildRule : VP.ChildContribution
175         VP.ChildContribution.HasParentNodeType STR.Component
176         VP.ChildContribution.HasChildNodeType STR.Component
177         VP.ChildContribution.HasRule _ : VP.RelationChildRule
178             VP.RelationChildRule.HasRelation L0.ConsistsOf
179             VP.RelationChildRule.HasTest _ : VP.HasNegatedTest
180                 VP.HasNegatedTest.HasTest _ : VP.HasStatementTest
181                     VP.HasStatementTest.HasRelation MOD.HiddenComposite
182     @VP.namedRelationChildRule           MOD.Contributions.ComponentTypeToSymbol STR.ComponentType   MOD.ComponentTypeToSymbol MBC.Symbol
183     @VP.namedRelationChildRule           MOD.Contributions.ComponentTypeScript   STR.ComponentType   STR.ComponentType.hasScript STR.ComponentTypeScript
184     @VP.namedRelationChildRule           MOD.Contributions.SymbolToTerminal      MBC.Symbol L0.ConsistsOf STR.ConnectionRelation
185
186     @VP.namedRelationChildRule           MOD.Contributions.LocalLibrary MOD.StructuralModel MOD.HasLocalLibrary L0.Library
187
188     @VP.namedRelationChildRule           MOD.Contributions.LibraryChildren      L0.Library         L0.ConsistsOf   L0.Library
189     @VP.namedRelationChildRule           MOD.Contributions.ImageChildren        L0.Library         L0.ConsistsOf   IMAGE.Image
190     @VP.namedRelationChildRule           MOD.Contributions.ElementClassChildren L0.Library         L0.ConsistsOf   DIA.ElementClass
191     @VP.namedRelationChildRule           MOD.Contributions.ConfigurationBooks      MBC.Configuration L0.ConsistsOf  SHEET.Book
192     @VP.namedRelationChildRule           MOD.Contributions.LibraryBooks         L0.Library L0.ConsistsOf SHEET.Book
193     @VP.namedRelationChildRule           MOD.Contributions.BookSheets           L0.Entity L0.ConsistsOf  SHEET.Spreadsheet
194
195     @VP.namedRelationChildRule           MOD.Contributions.SCLModules L0.Entity   L0.ConsistsOf L0.SCLModule
196     
197     @VP.namedRelationChildRule           MOD.Contributions.SCLScripts L0.Entity   L0.ConsistsOf L0.SCLScript
198     
199     @VP.namedRelationChildRule           MOD.Contributions.SCLQueries L0.Library   L0.ConsistsOf MOD.SCLQuery
200     
201     @VP.namedRelationChildRule           MOD.Contributions.PGraphs L0.Ontology   L0.ConsistsOf L0.PGraph
202
203     // Contribute in product-specific browse context.
204     //@VP.relationChildRuleWithFolder MOD.StructuralModel L0.ConsistsOf   STR.ComponentType
205     //    MBC.ComponentTypesFolder
206
207     @VP.namedRelationChildRuleWithFolder MOD.Contributions.ConnectionsFolder MOD.Contributions.ConnectionRelationChildren STR.ComponentType   L0.ConsistsOf   STR.ConnectionRelation
208         MBC.ConnectionPointDefinitionsFolder : VP.ResourceNodeType
209
210     // Contribute in product-specific browse context.
211     //@VP.relationChildRuleWithFolder MOD.StructuralModel L0.ConsistsOf   MOD.Subscription
212     //    MBC.SubscriptionsFolder
213
214     @VP.namedRelationChildRule           MOD.Contributions.SubscriptionItemChildren MOD.Subscription    L0.ConsistsOf   MOD.Subscription.Item
215     
216     @VP.namedRelationChildRule           MOD.Contributions.Code STR.ProceduralComponentType STR.ProceduralComponentType.code STR.ProceduralComponentTypeCode
217
218     // Contribute in product-specific browse context.
219     //@VP.relationChildRuleWithFolder MOD.StructuralModel L0.ConsistsOf DOC.Document
220     //    MBC.DocumentsFolder
221
222     VP.BrowseContext.HasChildContribution MOD.Contributions.ChildrenInActiveExperiment : VP.ChildContribution
223         VP.ChildContribution.HasParentNodeType STR.Component    
224         VP.ChildContribution.HasChildNodeType MBC.Variable
225         VP.ChildContribution.HasRule MBC.ChildrenInActiveExperiment : VP.ChildRule
226     VP.BrowseContext.HasChildContribution MOD.Contributions.VariableChildren : VP.ChildContribution
227         VP.ChildContribution.HasParentNodeType MBC.Variable    
228         VP.ChildContribution.HasChildNodeType MBC.Variable
229         VP.ChildContribution.HasRule MBC.VariableChildRule
230     VP.BrowseContext.HasChildContribution MOD.Contributions.SharedOntologies : VP.ChildContribution
231         VP.ChildContribution.HasParentNodeType PROJECT.Project
232         VP.ChildContribution.HasChildNodeType L0.SharedOntology
233         VP.ChildContribution.HasRule MBC.SharedOntologies : MOD.SCLChildRule
234             @MOD.scl MOD.SCLChildRule.getChildren """\_ -> (getSharedOntologies ())""" "Resource -> <ReadGraph> [Resource]"
235     VP.BrowseContext.HasChildContribution MOD.Contributions.Ontologies : VP.ChildContribution
236         VP.ChildContribution.HasParentNodeType PROJECT.Project
237         VP.ChildContribution.HasChildNodeType L0.Ontology
238         VP.ChildContribution.HasRule MBC.Ontologies : MOD.SCLChildRule
239             @MOD.scl MOD.SCLChildRule.getChildren """\_ -> (getVisibleSystemOntologies ())""" "Resource -> <ReadGraph> [Resource]"
240     VP.BrowseContext.HasChildContribution MOD.Contributions.ConfigurationComponents : VP.ChildContribution
241         VP.ChildContribution.HasParentNodeType MBC.Configuration
242         VP.ChildContribution.HasChildNodeType STR.Component
243         VP.ChildContribution.HasRule _ : VP.RelationChildRule
244             VP.RelationChildRule.HasRelation L0.ConsistsOf
245             VP.RelationChildRule.HasTest _ : VP.HasNegatedTest
246                 VP.HasNegatedTest.HasTest _ : VP.HasStatementTest
247                     VP.HasStatementTest.HasRelation MOD.HiddenComposite
248
249 MBC.VariableChildRule : VP.ChildRule
250
251 MBC.VariablePropertyRule <T VP.ChildRule
252 MBC.VariablePropertyRule.RequireProperty <R L0.DependsOn
253 MBC.VariablePropertyRule.FilterProperty <R L0.DependsOn
254
255 MBC.VariableLabelRule : VP.LabelRule
256 MBC.VariableLabelRule.browseName ==> "String" <R L0.HasProperty : L0.FunctionalRelation
257     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."
258
259 MBC.Configuration : VP.ResourceNodeType
260
261 MBC.Variable : VP.NodeType
262     VP.HasContentType "Variable"
263
264 MBC.Symbol : VP.ResourceNodeType
265     // We cannot use DIA.ElementClass, because it inherits DIA.ComponentType
266     // that has already unwanted contributions.
267
268 MBC.ComponentTypeLockStatusImageDecorationRule : VP.ImageDecorationRule
269
270 // Labels
271 MBC
272     @VP.namedConstantLabelRule           MOD.Contributions.ComponentTypesLabel   MBC.ComponentTypesFolder             "User components"
273     @VP.namedConstantLabelRule           MOD.Contributions.ConfigurationLabel    MBC.Configuration                    "Configuration"
274     @VP.namedConstantLabelRule           MOD.Contributions.SubscriptionsLabel    MBC.SubscriptionsFolder              "Subscriptions"
275     @VP.namedConstantLabelRule           MOD.Contributions.TerminalsLabel        MBC.ConnectionPointDefinitionsFolder "Terminals"
276     @VP.namedConstantLabelRule           MOD.Contributions.DocumentsLabel        MBC.DocumentsFolder                  "Documents"
277     @VP.namedConstantLabelRule           MOD.Contributions.CodeLabel             STR.ProceduralComponentTypeCode      "Code"
278
279     @VP.namedCustomLabelRule             MOD.Contributions.ComponentTypeScriptLabel STR.ComponentTypeScript           VP.ResourceNameLabelRule
280     @VP.namedCustomLabelRule             MOD.Contributions.SymbolLabel           MBC.Symbol                           VP.ResourceNameLabelRule
281     @VP.namedCustomLabelRule             MOD.Contributions.SymbolLabelModifier   MBC.Symbol                           VP.ResourceNameModifierRule
282     @VP.namedCustomLabelRule             MOD.Contributions.SubscriptionLabel     MOD.Subscription                     MBC.SubscriptionLabelRule
283     @VP.namedCustomLabelRuleWithPriority MOD.Contributions.SubscriptionLabelModifier     MOD.Subscription                     VP.ResourceLabelModifierRule  1.0
284     @VP.namedCustomLabelRule             MOD.Contributions.SubscriptionItemLabel         MOD.Subscription.Item                MBC.SubscriptionItemLabelRule
285     @VP.namedCustomLabelDecorationRule   MOD.Contributions.SubscriptionItemLabelDecoration MOD.Subscription.Item                MBC.SubscriptionItemLabelDecorationRule
286     @VP.namedCustomLabelRule             MOD.Contributions.SubscriptionItemLabelModifier MOD.Subscription.Item                VP.ResourceLabelModifierRule
287     @VP.namedCustomLabelDecorationRule   MOD.Contributions.ConnectionRelationLabelDecoration STR.ConnectionRelation               MBC.ConnectionRelationLabelDecorationRule
288     @VP.namedCustomLabelRule             MOD.Contributions.ConnectionRelationModifier        STR.ConnectionRelation   MBC.ConnectionRelationModifierRule
289
290     VP.BrowseContext.HasVisualsContribution MOD.Contributions.VariableLabel : VP.VisualsContribution
291         VP.VisualsContribution.HasNodeType MBC.Variable
292         VP.VisualsContribution.HasRule MBC.VariableLabelRule
293
294
295 // Tooltips
296 MBC
297     VP.BrowseContext.HasVisualsContribution MOD.Contributions.VariableTooltip : VP.VisualsContribution
298         VP.VisualsContribution.HasNodeType MBC.Variable
299         VP.VisualsContribution.HasRule VP.DescriptionTooltipRule
300
301 // Images
302 MBC
303     @VP.namedCustomImageRule             MOD.Contributions.SubscriptionImage     MOD.Subscription                     MBC.SubscriptionImageRule
304     @VP.namedConstantImageRule           MOD.Contributions.SubscriptionsImage    MBC.SubscriptionsFolder              IMAGES.SubscriptionsFolder
305     @VP.namedConstantImageRule           MOD.Contributions.ComponentTypeImage    STR.ComponentType                    IMAGES.ComponentType
306     @VP.namedConstantImageRule           MOD.Contributions.ComponentImage        STR.Component                        SILK.brick
307     @VP.namedConstantImageRule           MOD.Contributions.CompositeImage        STR.Composite                        SILK.bricks
308     @VP.namedConstantImageRule           MOD.Contributions.ConfigurationImage    MBC.Configuration                    SILK.bricks
309     @VP.namedConstantImageRule           MOD.Contributions.ComponentTypesImage   MBC.ComponentTypesFolder             SILK.folder
310     @VP.namedConstantImageRule           MOD.Contributions.ConnectionPointDefinitionsImage MBC.ConnectionPointDefinitionsFolder SILK.folder
311     @VP.namedConstantImageRule           MOD.Contributions.SubscriptionItemImage MOD.Subscription.Item                SILK.tag_blue
312     @VP.namedConstantImageRule           MOD.Contributions.SymbolImage           MBC.Symbol                           SILK.image
313     @VP.namedConstantImageRule           MOD.Contributions.ConnectionRelationImage STR.ConnectionRelation               SILK.bullet_green
314     @VP.namedConstantImageRule           MOD.Contributions.DocumentsImage        MBC.DocumentsFolder                  SILK.folder
315     @VP.namedConstantImageRule           MOD.Contributions.DocumentImage         DOC.Document                         SILK.page_white
316     @VP.namedConstantImageRule           MOD.Contributions.UrlDocumentImage      DOC.UrlDocument                      SILK.page_white_world
317     @VP.namedConstantImageRule           MOD.Contributions.LibraryImage          L0.Library                           SILK.folder
318     @VP.namedConstantImageRule           MOD.Contributions.SharedOntologyImage   L0.SharedOntology                    SILK.folder_brick
319     @VP.namedConstantImageRule           MOD.Contributions.ProfileImage          DIA.Profile                          SILK.bullet_green
320     @VP.namedConstantImageRule           MOD.Contributions.ProfileEntryImage     DIA.ProfileEntry                     SILK.bullet_green
321     @VP.namedConstantImageRule           MOD.Contributions.StyleImage            DIA.Style                            SILK.bullet_green
322     @VP.namedConstantImageRule           MOD.Contributions.GroupImage            DIA.Group                            SILK.bullet_green
323     @VP.namedConstantImageRule           MOD.Contributions.VariableImage         MBC.Variable                         SILK.bullet_black
324     VP.BrowseContext.HasVisualsContribution MOD.Contributions.ConfiguredComponentImage : VP.VisualsContribution
325         VP.VisualsContribution.HasNodeType MBC.Variable
326         VP.VisualsContribution.HasPriority 1.0
327         VP.VisualsContribution.HasRule MOD.Contributions.ComponentImage : VP.ConstantImageRule
328             VP.ConstantImageRule.HasColumnKey "single"
329             VP.ConstantImageRule.HasImage SILK.brick
330         VP.VisualsContribution.HasCondition MBC.IsComponent
331     VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution
332         VP.VisualsContribution.HasNodeType MBC.Variable
333         VP.VisualsContribution.HasPriority 2.0
334         VP.VisualsContribution.HasRule MOD.Contributions.UserDefinedComponentImage : VP.ConstantImageRule
335             VP.ConstantImageRule.HasColumnKey "single"
336             VP.ConstantImageRule.HasImage IMAGES.UserDefinedComponent
337         VP.VisualsContribution.HasCondition MBC.IsUserDefinedComponentTest
338     VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution
339         VP.VisualsContribution.HasNodeType L0.Library
340         VP.VisualsContribution.HasPriority 2.0
341         VP.VisualsContribution.HasRule MOD.Contributions.FolderLockImage : VP.ConstantImageRule
342             VP.ConstantImageRule.HasColumnKey "single"
343             VP.ConstantImageRule.HasImage IMAGES.FolderLock
344         VP.VisualsContribution.HasCondition TESTS.IsPublished
345     VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution
346         VP.VisualsContribution.HasNodeType STR.ComponentType
347         VP.VisualsContribution.HasPriority 2.0
348         VP.VisualsContribution.HasRule MOD.Contributions.ComponentLockImage : VP.ConstantImageRule
349             VP.ConstantImageRule.HasColumnKey "single"
350             VP.ConstantImageRule.HasImage IMAGES.ComponentLock
351         VP.VisualsContribution.HasCondition TESTS.IsPublished
352     VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution
353         VP.VisualsContribution.HasNodeType STR.Component
354         VP.VisualsContribution.HasPriority 1.0
355         VP.VisualsContribution.HasRule MOD.Contributions.UserDefinedComponentImage
356         VP.VisualsContribution.HasCondition MBC.IsUserDefinedComponentTest
357     @VP.namedConstantImageRule           MOD.Contributions.ImageImage            IMAGE.Image                          SILK.image
358     @VP.namedConstantImageRule           MOD.Contributions.ModuleImage           L0.SCLModule                         SILK.box
359     @VP.namedConstantImageRule           MOD.Contributions.ScriptImage           L0.SCLScript                         SILK.script_go
360     @VP.namedConstantImageRule           MOD.Contributions.PGraphImage           L0.PGraph                            SILK.box
361     @VP.namedConstantImageRule           MOD.Contributions.QueryImage            MOD.SCLQuery                         SILK.script
362     @VP.namedConstantImageRule           MOD.Contributions.CodeImage             STR.ProceduralComponentTypeCode      SILK.book_open
363     @VP.namedConstantImageRule           MOD.Contributions.ComponentTypeScriptImage STR.ComponentTypeScript           SILK.book_open
364     @VP.namedConstantImageRule           MOD.Contributions.SheetBookImage        SHEET.Book                           SILK.folder_table
365     @VP.namedConstantImageRule           MOD.Contributions.SheetImage            SHEET.Spreadsheet                    SILK.table
366     @VP.customImageDecorationRule        STR.ComponentType                       MBC.ComponentTypeLockStatusImageDecorationRule
367     
368 IMAGES = MBC.Images : L0.Library
369 IMAGES.SubscriptionsFolder : IMAGE.PngImage
370     @L0.loadBytes "images/subscriptions.png"
371 IMAGES.ComponentType : IMAGE.PngImage
372     @L0.loadBytes "images/shape_3d.png"
373 IMAGES.UserDefinedComponent : IMAGE.PngImage
374     @L0.loadBytes "images/shape_3d_gray.png"
375 IMAGES.FolderLock : IMAGE.PngImage
376     @L0.loadBytes "images/folder_lock.png"
377 IMAGES.ComponentLock : IMAGE.PngImage
378     @L0.loadBytes "images/shape_3d_lock.png"
379
380 MBC
381     @VP.dropActionContribution MOD.Subscription MAC.Actions.SubscriptionDropAction 1.0
382
383 MOD.sclChildRule : L0.Template
384     @template %action %expression
385         %action : MOD.SCLChildRule
386           MOD.SCLChildRule.getChildren _ : MOD.SCLValue
387             L0.SCLValue.expression %expression
388             L0.HasValueType "Resource -> <ReadGraph> [Resource]"
389
390 MOD.sclLabelRule : L0.Template
391     @template %action %expression
392         %action : MOD.SCLLabelRule
393           MOD.SCLLabelRule.getLabels _ : MOD.SCLValue
394             L0.SCLValue.expression %expression
395             L0.HasValueType "Resource -> <ReadGraph> [String]"
396
397 MOD.sclImageRule : L0.Template
398     @template %action %expression
399         %action : MOD.SCLImageRule
400           MOD.SCLImageRule.getImages _ : MOD.SCLValue
401             L0.SCLValue.expression %expression
402             L0.HasValueType "Resource -> <ReadGraph> [(String,ImageDescriptor)]"
403
404 MOD.sclLabelForegroundColorRule : L0.Template
405     @template %action %expression
406         %action : MOD.SCLLabelForegroundColorRule
407           MOD.SCLLabelForegroundColorRule.getColor _ : MOD.SCLValue
408             L0.SCLValue.expression %expression
409             L0.HasValueType "Resource -> Maybe (Double, Double, Double) -> String -> Integer -> <ReadGraph> Maybe (Double, Double, Double)"
410
411 MOD.sclLabelBackgroundColorRule : L0.Template
412     @template %action %expression
413         %action : MOD.SCLLabelBackgroundColorRule
414           MOD.SCLLabelBackgroundColorRule.getColor _ : MOD.SCLValue
415             L0.SCLValue.expression %expression
416             L0.HasValueType "Resource -> Maybe (Double, Double, Double) -> String -> Integer -> <ReadGraph> Maybe (Double, Double, Double)"
417
418 MOD.sclCheckedStateRule : L0.Template
419     @template %action %expression
420         %action : MOD.SCLCheckedStateRule
421           MOD.SCLCheckedStateRule.getState _ : MOD.SCLValue
422             L0.SCLValue.expression %expression
423             L0.HasValueType "Browsable a => a -> <ReadGraph> CheckedState"
424
425 MOD.sclAction : L0.Template
426     @template %action %expression
427         %action : MOD.SCLAction
428           MOD.SCLAction.action _ : MOD.SCLValue
429             L0.SCLValue.expression %expression
430             L0.HasValueType "Resource -> <Proc> ()"
431
432 MOD.sclDropAction : L0.Template
433     @template %action %expression
434         %action : MOD.SCLDropAction
435           MOD.SCLDropAction.action _ : MOD.SCLValue
436             L0.SCLValue.expression %expression
437             L0.HasValueType "Resource -> Dynamic -> Integer -> <Proc> ()"
438
439 MOD.sclTest : L0.Template
440     @template %subject %expression
441         %subject : MOD.SCLTest
442             MOD.SCLTest.test _ : MOD.SCLValue
443                 L0.SCLValue.expression %expression
444                 L0.HasValueType "Resource -> <ReadGraph> Boolean"
445
446 MOD.Contributions.NewSheetBook : VP.ActionContribution
447     L0.HasLabel "Spreadsheet"
448     VP.ActionContribution.HasImage SILK.star
449     VP.ActionContribution.HasCategory VP.NewActionCategory
450     VP.ActionContribution.HasNodeType L0.Library
451     VP.ActionContribution.HasAction ACTIONS.NewSheetBook
452
453 MOD.Contributions.ImportSheetBook : VP.ActionContribution
454     L0.HasLabel "Spreadsheet"
455     VP.ActionContribution.HasImage SILK.star
456     VP.ActionContribution.HasCategory VP.ImportActionCategory
457     VP.ActionContribution.HasNodeType L0.Library
458     VP.ActionContribution.HasAction ACTIONS.ImportSheetBook
459
460 MOD.Contributions.ActivateModel : VP.ActionContribution
461     L0.HasLabel "Activate"
462     VP.ActionContribution.HasImage SILK.bullet_go
463     VP.ActionContribution.HasCategory VP.EditActionCategory
464     VP.ActionContribution.HasNodeType SIMU.Model
465     VP.ActionContribution.HasAction ACTIONS.ActivateModel
466
467 MOD.Contributions.ActivateExperiment : VP.ActionContribution
468     L0.HasLabel "Activate"
469     VP.ActionContribution.HasImage SILK.bullet_go
470     VP.ActionContribution.HasCategory VP.EditActionCategory
471     VP.ActionContribution.HasNodeType SIMU.Experiment
472     VP.ActionContribution.HasAction ACTIONS.ActivateExperiment
473
474 MOD.Contributions.Help : VP.ActionContribution
475     L0.HasLabel "Help"
476     VP.ActionContribution.HasImage SILK.help
477     VP.ActionContribution.HasCategory VP.EditActionCategory
478     VP.ActionContribution.HasNodeType L0.Entity
479     VP.ActionContribution.HasAction ACTIONS.Help
480
481 MOD.Contributions.CopyURI : VP.ActionContribution
482     L0.HasLabel "Copy URI"
483     VP.ActionContribution.HasImage SILK.clipboard
484     VP.ActionContribution.HasCategory VP.EditActionCategory
485     VP.ActionContribution.HasNodeType L0.Entity
486     VP.ActionContribution.HasNodeType MBC.Variable
487     VP.ActionContribution.HasAction ACTIONS.CopyURI
488     VP.ActionContribution.IsVisibleIf _ : VP.AndTest
489         VP.AndTest.HasTest
490             _ : VP.InDevelopmentModeTest
491             _ : VP.HasURITest
492
493 // Actions
494 MAC    
495     VP.BrowseContext.HasActionContribution MOD.Contributions.Help
496     VP.BrowseContext.HasActionContribution MOD.Contributions.CopyURI
497     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
498         L0.HasLabel "Migrate"
499         VP.ActionContribution.HasImage SILK.star
500         VP.ActionContribution.HasCategory VP.EditActionCategory
501         VP.ActionContribution.HasNodeType STR.ComponentType
502         VP.ActionContribution.HasAction ACTIONS.MigrateComponentType
503     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
504         L0.HasLabel "Migrate"
505         VP.ActionContribution.HasImage SILK.star
506         VP.ActionContribution.HasCategory VP.EditActionCategory
507         VP.ActionContribution.HasNodeType L0.SharedOntology
508         VP.ActionContribution.HasAction ACTIONS.MigrateComponentType
509     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
510         L0.HasLabel "Compile Ontology Definitions"
511         VP.ActionContribution.HasImage SILK.star
512         VP.ActionContribution.HasCategory VP.EditActionCategory
513         VP.ActionContribution.HasNodeType L0.SharedOntology
514         VP.ActionContribution.HasAction ACTIONS.CompilePGraphs
515 //    VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
516 //        L0.HasLabel "Migrate"
517 //        VP.ActionContribution.HasImage SILK.star
518 //        VP.ActionContribution.HasCategory VP.EditActionCategory
519 //        VP.ActionContribution.HasNodeType MOD.MasterTypicalCompositeType
520 //        VP.ActionContribution.HasAction ACTIONS.MigrateMasterTypical
521     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
522         L0.HasLabel "Create New Version"
523         VP.ActionContribution.HasImage SILK.new
524         VP.ActionContribution.HasCategory VP.EditActionCategory
525         VP.ActionContribution.HasNodeType STR.ComponentType
526         VP.ActionContribution.HasAction ACTIONS.CreateNewVersion
527         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
528     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
529         L0.HasLabel "Create New Version"
530         VP.ActionContribution.HasImage SILK.new
531         VP.ActionContribution.HasCategory VP.EditActionCategory
532         VP.ActionContribution.HasNodeType L0.SharedOntology
533         VP.ActionContribution.HasAction ACTIONS.CreateNewVersion
534     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
535         L0.HasLabel "Finish for Publishing"
536         VP.ActionContribution.HasImage SILK.lock
537         VP.ActionContribution.HasCategory VP.EditActionCategory
538         VP.ActionContribution.HasNodeType STR.ComponentType
539         VP.ActionContribution.IsVisibleIf TESTS.IsNotPublished
540         VP.ActionContribution.HasAction ACTIONS.FinishComponentTypeForPublishing
541     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
542         L0.HasLabel "Finish for Publishing"
543         VP.ActionContribution.HasImage SILK.lock
544         VP.ActionContribution.HasCategory VP.EditActionCategory
545         VP.ActionContribution.HasNodeType L0.SharedOntology
546         VP.ActionContribution.IsVisibleIf TESTS.IsNotPublished
547         VP.ActionContribution.HasAction ACTIONS.FinishSharedOntologyForPublishing
548     VP.BrowseContext.HasActionContribution MOD.Contributions.NewSCLModule : VP.ActionContribution
549         L0.HasLabel "SCL Module"
550         VP.ActionContribution.HasImage SILK.page_white_text
551         VP.ActionContribution.HasCategory VP.NewActionCategory
552         VP.ActionContribution.HasNodeType
553             L0.Library
554             STR.ComponentType
555         VP.ActionContribution.HasAction ACTIONS.NewSCLModule
556         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
557     VP.BrowseContext.HasActionContribution MOD.Contributions.NewSCLScript : VP.ActionContribution
558         L0.HasLabel "SCL Script"
559         VP.ActionContribution.HasImage SILK.script_go
560         VP.ActionContribution.HasCategory VP.NewActionCategory
561         VP.ActionContribution.HasNodeType
562             L0.Library
563         VP.ActionContribution.HasAction ACTIONS.NewSCLScript
564         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
565     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
566         L0.HasLabel "Run SCL Script"
567         VP.ActionContribution.HasImage SILK.script_start
568         VP.ActionContribution.HasCategory VP.EditActionCategory
569         VP.ActionContribution.HasNodeType L0.SCLScript
570         VP.ActionContribution.HasAction ACTIONS.RunSCLScript
571     VP.BrowseContext.HasActionContribution MOD.Contributions.NewPGraph : VP.ActionContribution
572         L0.HasLabel "Ontology Definition File"
573         VP.ActionContribution.HasImage SILK.page_white_text
574         VP.ActionContribution.HasCategory VP.NewActionCategory
575         VP.ActionContribution.HasNodeType L0.Ontology
576         VP.ActionContribution.HasAction ACTIONS.NewPGraph
577         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
578     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
579         L0.HasLabel "SCL Query"
580         VP.ActionContribution.HasImage SILK.script_add
581         VP.ActionContribution.HasCategory VP.NewActionCategory
582         VP.ActionContribution.HasNodeType L0.Library
583         VP.ActionContribution.HasAction ACTIONS.NewSCLQuery
584         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
585     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
586         L0.HasLabel "SCL Query Type"
587         VP.ActionContribution.HasImage SILK.script_add
588         VP.ActionContribution.HasCategory VP.NewActionCategory
589         VP.ActionContribution.HasNodeType L0.Library
590         VP.ActionContribution.HasAction ACTIONS.NewSCLQueryType
591         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
592     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
593         L0.HasLabel "User Component"
594         VP.ActionContribution.HasImage IMAGES.ComponentType
595         VP.ActionContribution.HasCategory VP.NewActionCategory
596         VP.ActionContribution.HasNodeType MBC.ComponentTypesFolder
597         VP.ActionContribution.HasAction ACTIONS.NewComponentType
598     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
599         L0.HasLabel "User Component"
600         VP.ActionContribution.HasImage IMAGES.ComponentType
601         VP.ActionContribution.HasCategory VP.NewActionCategory
602         VP.ActionContribution.HasNodeType L0.Library
603         VP.ActionContribution.HasAction ACTIONS.NewComponentType
604         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
605     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
606         L0.HasLabel "Procedural User Component"
607         VP.ActionContribution.HasImage IMAGES.ComponentType
608         VP.ActionContribution.HasCategory VP.NewActionCategory
609         VP.ActionContribution.HasNodeType MBC.ComponentTypesFolder
610         VP.ActionContribution.HasAction ACTIONS.NewProceduralComponentType
611     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
612         L0.HasLabel "Procedural User Component"
613         VP.ActionContribution.HasImage IMAGES.ComponentType
614         VP.ActionContribution.HasCategory VP.NewActionCategory
615         VP.ActionContribution.HasNodeType L0.Library
616         VP.ActionContribution.HasAction ACTIONS.NewProceduralComponentType
617         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
618     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
619         L0.HasLabel "Assign Symbol Group..."
620         VP.ActionContribution.HasCategory VP.EditActionCategory
621         VP.ActionContribution.HasNodeType MBC.Symbol
622         VP.ActionContribution.HasAction ACTIONS.AssignSymbolGroup : ACT.Action
623         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
624     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
625         L0.HasLabel "Configure Connection Types..."
626         VP.ActionContribution.HasCategory VP.EditActionCategory
627         VP.ActionContribution.HasNodeType STR.ConnectionRelation
628         VP.ActionContribution.HasAction ACTIONS.ConfigureConnectionTypes : ACT.Action
629         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
630     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
631         L0.HasLabel "Document"
632         VP.ActionContribution.HasImage SILK.page_white
633         VP.ActionContribution.HasCategory VP.NewActionCategory
634         VP.ActionContribution.HasNodeType MBC.DocumentsFolder
635         VP.ActionContribution.HasAction ACTIONS.NewDocument : ACT.Action
636         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
637     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
638         L0.HasLabel "Library"
639         VP.ActionContribution.HasImage SILK.folder
640         VP.ActionContribution.HasCategory VP.NewActionCategory
641         VP.ActionContribution.HasNodeType L0.Library
642         VP.ActionContribution.HasAction ACTIONS.NewLibrary : ACT.Action
643         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
644     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
645         L0.HasLabel "Merge Flags"
646         VP.ActionContribution.HasCategory VP.EditActionCategory
647         VP.ActionContribution.HasNodeType STR.Composite
648         VP.ActionContribution.HasAction ACTIONS.MergeFlags : ACT.Action
649     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
650         L0.HasLabel "Rename Diagram Components"
651         VP.ActionContribution.HasCategory VP.EditActionCategory
652         VP.ActionContribution.HasNodeType STR.Composite
653         VP.ActionContribution.HasAction ACTIONS.RenameDiagramComponents
654     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
655         L0.HasLabel "Connection Point"
656         VP.ActionContribution.HasCategory VP.NewActionCategory
657         VP.ActionContribution.HasNodeType STR.ProceduralComponentType
658         VP.ActionContribution.HasNodeType MBC.ConnectionPointDefinitionsFolder
659         VP.ActionContribution.HasAction ACTIONS.NewConnectionPoint : ACT.Action
660     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
661         L0.HasLabel "Symbol"
662         VP.ActionContribution.HasImage SILK.image
663         VP.ActionContribution.HasCategory VP.NewActionCategory
664         VP.ActionContribution.HasNodeType STR.ComponentType
665         VP.ActionContribution.HasAction ACTIONS.NewSymbol : ACT.Action
666     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
667         L0.HasLabel "Copy"
668         VP.ActionContribution.HasImage SILK.page_copy
669         VP.ActionContribution.HasCategory VP.EditActionCategory
670         VP.ActionContribution.HasNodeType STR.ComponentType
671         VP.ActionContribution.HasAction ACTIONS.Copy : ACT.Action        
672     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
673         L0.HasLabel "Cut"
674         VP.ActionContribution.HasImage SILK.cut
675         VP.ActionContribution.HasCategory VP.EditActionCategory
676         VP.ActionContribution.HasNodeType STR.ComponentType
677         VP.ActionContribution.HasAction ACTIONS.Cut : ACT.Action        
678     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
679         L0.HasLabel "Paste"
680         VP.ActionContribution.HasImage SILK.page_paste
681         VP.ActionContribution.HasCategory VP.EditActionCategory
682         VP.ActionContribution.HasNodeType L0.Library
683         VP.ActionContribution.HasAction ACTIONS.Paste : ACT.Action        
684         VP.ActionContribution.IsVisibleIf TESTS.HasSomethingToPaste
685     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
686         L0.HasLabel "Lock"
687         VP.ActionContribution.HasImage SILK.lock
688         VP.ActionContribution.HasCategory VP.EditActionCategory
689         VP.ActionContribution.HasNodeType STR.ComponentType
690         VP.ActionContribution.HasAction ACTIONS.Lock : ACT.Action
691         VP.ActionContribution.IsVisibleIf TESTS.IsNotLocked
692     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
693         L0.HasLabel "Unlock"
694         VP.ActionContribution.HasImage SILK.lock_open
695         VP.ActionContribution.HasCategory VP.EditActionCategory
696         VP.ActionContribution.HasNodeType STR.ComponentType
697         VP.ActionContribution.HasAction ACTIONS.Unlock : ACT.Action
698         VP.ActionContribution.IsVisibleIf TESTS.IsLocked
699     VP.BrowseContext.SupportsRemovalOf MBC.Symbol
700     VP.BrowseContext.SupportsRenamingOf MBC.Symbol
701     VP.BrowseContext.HasActionContribution
702         MOD.Contributions.NewSheetBook
703         MOD.Contributions.ImportSheetBook
704
705     @VP.renamingTestContribution
706         L0.SharedOntology
707         TESTS.CanRename
708         0.0
709
710     @VP.actionContributionWithVisibility "Images" L0.Library SILK.image VP.ImportActionCategory ACTIONS.ImportImages MAC.Tests.IsContainerNotPublished
711
712 MOD.Contributions.Delete : VP.ActionContribution
713         L0.HasLabel "Delete"
714         VP.ActionContribution.HasImage SILK.cross
715         VP.ActionContribution.HasCategory VP.EditActionCategory
716         VP.ActionContribution.HasNodeType L0.Entity
717         VP.ActionContribution.HasAction ACTIONS.Delete        
718         VP.ActionContribution.IsVisibleIf TESTS.CanDelete
719         
720 ACTIONS = MAC.Actions : L0.Library
721 ACTIONS.ImportImages : ACT.Action
722 ACTIONS.Delete : ACT.Action
723 ACTIONS.NewLocalLibrary : ACT.Action
724 ACTIONS.SubscriptionDropAction : ACT.DropAction
725 ACTIONS.FinishComponentTypeForPublishing
726   @MOD.sclAction "publishComponentTypeAction"
727 ACTIONS.FinishSharedOntologyForPublishing
728   @MOD.sclAction "publishSharedOntologyAction"
729 ACTIONS.CreateNewVersion
730   @MOD.sclAction "newVersionAction"
731 ACTIONS.NewSCLModule
732   @MOD.sclAction "createSCLModuleAction"
733 ACTIONS.NewSCLScript
734   @MOD.sclAction "createSCLScriptAction"
735 ACTIONS.RunSCLScript : ACT.Action
736 ACTIONS.NewPGraph
737   @MOD.sclAction "createPGraphAction"
738 ACTIONS.NewSCLQuery : ACT.Action
739 ACTIONS.NewSCLQueryType
740   @MOD.sclAction "createSCLQueryTypeAction"
741 ACTIONS.NewSheetBook
742   @MOD.sclAction "createSpreadsheetBookAction"
743 ACTIONS.ImportSheetBook
744   @MOD.sclAction "importSpreadsheetBookAction"
745 ACTIONS.ActivateModel
746   @MOD.sclAction "activateModelAction"
747 ACTIONS.ActivateExperiment
748   @MOD.sclAction "activateExperimentAction"
749 ACTIONS.MigrateComponentType : ACT.Action
750 ACTIONS.CompilePGraphs : ACT.Action
751 //ACTIONS.MigrateMasterTypical : ACT.Action
752 ACTIONS.RenameDiagramComponents : ACT.Action
753 ACTIONS.Help : ACT.Action
754 ACTIONS.CopyURI : ACT.Action
755
756 ACTIONS.NavigateToSubstructure
757   @MOD.sclAction "navigateToSubstructureAction"
758
759 ACTIONS.NewProceduralComponentType : ACT.Action
760 ACTIONS.NewComponentType : ACT.Action
761
762 MOD.InstantiateUnder <T MOD.SCLAction
763   >-- MOD.InstantiateUnder.HasType --> L0.Type <R L0.IsRelatedTo : L0.TotalFunction
764   @MOD.sclAssertion MOD.SCLAction.action "instantiateUnderAction self" "Resource -> <Proc> ()"
765
766 ACTIONS.InstantiateUnder
767   @MOD.sclAction "instantiateUnderAction self"
768
769 MOD.InstanceOfTest <T MOD.SCLTest
770   >-- MOD.InstanceOfTest.HasType --> L0.Type <R L0.IsRelatedTo : L0.TotalFunction
771   @MOD.sclAssertion MOD.SCLTest.test "instanceOfTest self" "Resource -> <Proc> Boolean"
772
773 MOD.instanceOfTest : L0.Template
774     @template %test %type
775         %test : MOD.InstanceOfTest
776           MOD.InstanceOfTest.HasType %type
777
778 TESTS = MAC.Tests : L0.Library
779 TESTS.IsNotPublished
780   @MOD.sclTest "isNotPublished"
781 TESTS.IsPublished
782   @MOD.sclTest "isPublished"
783 TESTS.IsNotLocked
784   @MOD.sclTest "isNotLocked"
785 TESTS.IsLocked
786   @MOD.sclTest "isLocked"
787 TESTS.IsContainerNotPublished
788   @MOD.sclTest "isContainerNotPublished"
789 TESTS.HasSomethingToPaste
790   @MOD.sclTest "hasSomethingToPaste"
791 TESTS.CanDelete
792   @MOD.sclTest "canDelete"
793 TESTS.CanRename
794   @MOD.sclTest "canRename"
795
796 MOD.Functions.singleVariableSelection : L0.Function
797   L0.HasValueType "a"
798 MOD.Functions.projectSelection : L0.Function
799   L0.HasValueType "a"
800 MOD.Functions.standardPersistor : L0.Function
801   L0.HasValueType "StatePersistor"
802   
803   
804 //MOD.ModelBrowser : MOD.ModelBrowser
805