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