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