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