]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.modeling.ontology/graph/ModelingViewpoint.pgraph
SCL Image Rule
[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.ActivateModel : VP.ActionContribution
424     L0.HasLabel "Activate"
425     VP.ActionContribution.HasImage SILK.bullet_go
426     VP.ActionContribution.HasCategory VP.EditActionCategory
427     VP.ActionContribution.HasNodeType SIMU.Model
428     VP.ActionContribution.HasAction ACTIONS.ActivateModel
429
430 MOD.Contributions.Help : VP.ActionContribution
431     L0.HasLabel "Help"
432     VP.ActionContribution.HasImage SILK.help
433     VP.ActionContribution.HasCategory VP.EditActionCategory
434     VP.ActionContribution.HasNodeType L0.Entity
435     VP.ActionContribution.HasAction ACTIONS.Help
436
437 MOD.Contributions.CopyURI : VP.ActionContribution
438     L0.HasLabel "Copy URI"
439     VP.ActionContribution.HasImage SILK.clipboard
440     VP.ActionContribution.HasCategory VP.EditActionCategory
441     VP.ActionContribution.HasNodeType L0.Entity
442     VP.ActionContribution.HasNodeType MBC.Variable
443     VP.ActionContribution.HasAction ACTIONS.CopyURI
444     VP.ActionContribution.IsVisibleIf _ : VP.AndTest
445         VP.AndTest.HasTest
446             _ : VP.InDevelopmentModeTest
447             _ : VP.HasURITest
448
449 // Actions
450 MAC    
451     VP.BrowseContext.HasActionContribution MOD.Contributions.Help
452     VP.BrowseContext.HasActionContribution MOD.Contributions.CopyURI
453     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
454         L0.HasLabel "Migrate"
455         VP.ActionContribution.HasImage SILK.star
456         VP.ActionContribution.HasCategory VP.EditActionCategory
457         VP.ActionContribution.HasNodeType STR.ComponentType
458         VP.ActionContribution.HasAction ACTIONS.MigrateComponentType
459     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
460         L0.HasLabel "Migrate"
461         VP.ActionContribution.HasImage SILK.star
462         VP.ActionContribution.HasCategory VP.EditActionCategory
463         VP.ActionContribution.HasNodeType L0.SharedOntology
464         VP.ActionContribution.HasAction ACTIONS.MigrateComponentType
465     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
466         L0.HasLabel "Compile Ontology Definitions"
467         VP.ActionContribution.HasImage SILK.star
468         VP.ActionContribution.HasCategory VP.EditActionCategory
469         VP.ActionContribution.HasNodeType L0.SharedOntology
470         VP.ActionContribution.HasAction ACTIONS.CompilePGraphs
471 //    VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
472 //        L0.HasLabel "Migrate"
473 //        VP.ActionContribution.HasImage SILK.star
474 //        VP.ActionContribution.HasCategory VP.EditActionCategory
475 //        VP.ActionContribution.HasNodeType MOD.MasterTypicalCompositeType
476 //        VP.ActionContribution.HasAction ACTIONS.MigrateMasterTypical
477     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
478         L0.HasLabel "Create New Version"
479         VP.ActionContribution.HasImage SILK.new
480         VP.ActionContribution.HasCategory VP.EditActionCategory
481         VP.ActionContribution.HasNodeType STR.ComponentType
482         VP.ActionContribution.HasAction ACTIONS.CreateNewVersion
483         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
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 L0.SharedOntology
489         VP.ActionContribution.HasAction ACTIONS.CreateNewVersion
490     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
491         L0.HasLabel "Finish for Publishing"
492         VP.ActionContribution.HasImage SILK.lock
493         VP.ActionContribution.HasCategory VP.EditActionCategory
494         VP.ActionContribution.HasNodeType STR.ComponentType
495         VP.ActionContribution.IsVisibleIf TESTS.IsNotPublished
496         VP.ActionContribution.HasAction ACTIONS.FinishComponentTypeForPublishing
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 L0.SharedOntology
502         VP.ActionContribution.IsVisibleIf TESTS.IsNotPublished
503         VP.ActionContribution.HasAction ACTIONS.FinishSharedOntologyForPublishing
504     VP.BrowseContext.HasActionContribution MOD.Contributions.NewSCLModule : VP.ActionContribution
505         L0.HasLabel "SCL Module"
506         VP.ActionContribution.HasImage SILK.page_white_text
507         VP.ActionContribution.HasCategory VP.NewActionCategory
508         VP.ActionContribution.HasNodeType
509             L0.Library
510             STR.ComponentType
511         VP.ActionContribution.HasAction ACTIONS.NewSCLModule
512         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
513     VP.BrowseContext.HasActionContribution MOD.Contributions.NewSCLScript : VP.ActionContribution
514         L0.HasLabel "SCL Script"
515         VP.ActionContribution.HasImage SILK.script_go
516         VP.ActionContribution.HasCategory VP.NewActionCategory
517         VP.ActionContribution.HasNodeType
518             L0.Library
519         VP.ActionContribution.HasAction ACTIONS.NewSCLScript
520         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
521     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
522         L0.HasLabel "Run SCL Script"
523         VP.ActionContribution.HasImage SILK.script_start
524         VP.ActionContribution.HasCategory VP.EditActionCategory
525         VP.ActionContribution.HasNodeType L0.SCLScript
526         VP.ActionContribution.HasAction ACTIONS.RunSCLScript
527     VP.BrowseContext.HasActionContribution MOD.Contributions.NewPGraph : VP.ActionContribution
528         L0.HasLabel "Ontology Definition File"
529         VP.ActionContribution.HasImage SILK.page_white_text
530         VP.ActionContribution.HasCategory VP.NewActionCategory
531         VP.ActionContribution.HasNodeType L0.Ontology
532         VP.ActionContribution.HasAction ACTIONS.NewPGraph
533         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
534     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
535         L0.HasLabel "SCL Query"
536         VP.ActionContribution.HasImage SILK.script_add
537         VP.ActionContribution.HasCategory VP.NewActionCategory
538         VP.ActionContribution.HasNodeType L0.Library
539         VP.ActionContribution.HasAction ACTIONS.NewSCLQuery
540         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
541     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
542         L0.HasLabel "SCL Query Type"
543         VP.ActionContribution.HasImage SILK.script_add
544         VP.ActionContribution.HasCategory VP.NewActionCategory
545         VP.ActionContribution.HasNodeType L0.Library
546         VP.ActionContribution.HasAction ACTIONS.NewSCLQueryType
547         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
548     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
549         L0.HasLabel "User Component"
550         VP.ActionContribution.HasImage IMAGES.ComponentType
551         VP.ActionContribution.HasCategory VP.NewActionCategory
552         VP.ActionContribution.HasNodeType MBC.ComponentTypesFolder
553         VP.ActionContribution.HasAction ACTIONS.NewComponentType
554     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
555         L0.HasLabel "User Component"
556         VP.ActionContribution.HasImage IMAGES.ComponentType
557         VP.ActionContribution.HasCategory VP.NewActionCategory
558         VP.ActionContribution.HasNodeType L0.Library
559         VP.ActionContribution.HasAction ACTIONS.NewComponentType
560         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
561     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
562         L0.HasLabel "Procedural User Component"
563         VP.ActionContribution.HasImage IMAGES.ComponentType
564         VP.ActionContribution.HasCategory VP.NewActionCategory
565         VP.ActionContribution.HasNodeType MBC.ComponentTypesFolder
566         VP.ActionContribution.HasAction ACTIONS.NewProceduralComponentType
567     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
568         L0.HasLabel "Procedural User Component"
569         VP.ActionContribution.HasImage IMAGES.ComponentType
570         VP.ActionContribution.HasCategory VP.NewActionCategory
571         VP.ActionContribution.HasNodeType L0.Library
572         VP.ActionContribution.HasAction ACTIONS.NewProceduralComponentType
573         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
574     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
575         L0.HasLabel "Assign Symbol Group..."
576         VP.ActionContribution.HasCategory VP.EditActionCategory
577         VP.ActionContribution.HasNodeType MBC.Symbol
578         VP.ActionContribution.HasAction ACTIONS.AssignSymbolGroup : ACT.Action
579         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
580     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
581         L0.HasLabel "Configure Connection Types..."
582         VP.ActionContribution.HasCategory VP.EditActionCategory
583         VP.ActionContribution.HasNodeType STR.ConnectionRelation
584         VP.ActionContribution.HasAction ACTIONS.ConfigureConnectionTypes : ACT.Action
585         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
586     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
587         L0.HasLabel "Document"
588         VP.ActionContribution.HasImage SILK.page_white
589         VP.ActionContribution.HasCategory VP.NewActionCategory
590         VP.ActionContribution.HasNodeType MBC.DocumentsFolder
591         VP.ActionContribution.HasAction ACTIONS.NewDocument : ACT.Action
592         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
593     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
594         L0.HasLabel "Library"
595         VP.ActionContribution.HasImage SILK.folder
596         VP.ActionContribution.HasCategory VP.NewActionCategory
597         VP.ActionContribution.HasNodeType L0.Library
598         VP.ActionContribution.HasAction ACTIONS.NewLibrary : ACT.Action
599         VP.ActionContribution.IsVisibleIf TESTS.IsContainerNotPublished
600     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
601         L0.HasLabel "Merge Flags"
602         VP.ActionContribution.HasCategory VP.EditActionCategory
603         VP.ActionContribution.HasNodeType STR.Composite
604         VP.ActionContribution.HasAction ACTIONS.MergeFlags : ACT.Action
605     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
606         L0.HasLabel "Rename Diagram Components"
607         VP.ActionContribution.HasCategory VP.EditActionCategory
608         VP.ActionContribution.HasNodeType STR.Composite
609         VP.ActionContribution.HasAction ACTIONS.RenameDiagramComponents
610     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
611         L0.HasLabel "Connection Point"
612         VP.ActionContribution.HasCategory VP.NewActionCategory
613         VP.ActionContribution.HasNodeType STR.ProceduralComponentType
614         VP.ActionContribution.HasNodeType MBC.ConnectionPointDefinitionsFolder
615         VP.ActionContribution.HasAction ACTIONS.NewConnectionPoint : ACT.Action
616     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
617         L0.HasLabel "Symbol"
618         VP.ActionContribution.HasImage SILK.image
619         VP.ActionContribution.HasCategory VP.NewActionCategory
620         VP.ActionContribution.HasNodeType STR.ComponentType
621         VP.ActionContribution.HasAction ACTIONS.NewSymbol : ACT.Action
622     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
623         L0.HasLabel "Copy"
624         VP.ActionContribution.HasImage SILK.page_copy
625         VP.ActionContribution.HasCategory VP.EditActionCategory
626         VP.ActionContribution.HasNodeType STR.ComponentType
627         VP.ActionContribution.HasAction ACTIONS.Copy : ACT.Action        
628     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
629         L0.HasLabel "Cut"
630         VP.ActionContribution.HasImage SILK.cut
631         VP.ActionContribution.HasCategory VP.EditActionCategory
632         VP.ActionContribution.HasNodeType STR.ComponentType
633         VP.ActionContribution.HasAction ACTIONS.Cut : ACT.Action        
634     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
635         L0.HasLabel "Paste"
636         VP.ActionContribution.HasImage SILK.page_paste
637         VP.ActionContribution.HasCategory VP.EditActionCategory
638         VP.ActionContribution.HasNodeType L0.Library
639         VP.ActionContribution.HasAction ACTIONS.Paste : ACT.Action        
640         VP.ActionContribution.IsVisibleIf TESTS.HasSomethingToPaste
641     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
642         L0.HasLabel "Lock"
643         VP.ActionContribution.HasImage SILK.lock
644         VP.ActionContribution.HasCategory VP.EditActionCategory
645         VP.ActionContribution.HasNodeType STR.ComponentType
646         VP.ActionContribution.HasAction ACTIONS.Lock : ACT.Action
647         VP.ActionContribution.IsVisibleIf TESTS.IsNotLocked
648     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
649         L0.HasLabel "Unlock"
650         VP.ActionContribution.HasImage SILK.lock_open
651         VP.ActionContribution.HasCategory VP.EditActionCategory
652         VP.ActionContribution.HasNodeType STR.ComponentType
653         VP.ActionContribution.HasAction ACTIONS.Unlock : ACT.Action
654         VP.ActionContribution.IsVisibleIf TESTS.IsLocked
655     VP.BrowseContext.SupportsRemovalOf MBC.Symbol
656     VP.BrowseContext.SupportsRenamingOf MBC.Symbol
657     VP.BrowseContext.HasActionContribution
658         MOD.Contributions.NewSheetBook
659
660     @VP.renamingTestContribution
661         L0.SharedOntology
662         TESTS.CanRename
663         0.0
664
665     @VP.actionContributionWithVisibility "Images" L0.Library SILK.image VP.ImportActionCategory ACTIONS.ImportImages MAC.Tests.IsContainerNotPublished
666
667 MOD.Contributions.Delete : VP.ActionContribution
668         L0.HasLabel "Delete"
669         VP.ActionContribution.HasImage SILK.cross
670         VP.ActionContribution.HasCategory VP.EditActionCategory
671         VP.ActionContribution.HasNodeType L0.Entity
672         VP.ActionContribution.HasAction ACTIONS.Delete        
673         VP.ActionContribution.IsVisibleIf TESTS.CanDelete
674         
675 ACTIONS = MAC.Actions : L0.Library
676 ACTIONS.ImportImages : ACT.Action
677 ACTIONS.Delete : ACT.Action
678 ACTIONS.NewLocalLibrary : ACT.Action
679 ACTIONS.SubscriptionDropAction : ACT.DropAction
680 ACTIONS.FinishComponentTypeForPublishing
681   @MOD.sclAction "publishComponentTypeAction"
682 ACTIONS.FinishSharedOntologyForPublishing
683   @MOD.sclAction "publishSharedOntologyAction"
684 ACTIONS.CreateNewVersion
685   @MOD.sclAction "newVersionAction"
686 ACTIONS.NewSCLModule
687   @MOD.sclAction "createSCLModuleAction"
688 ACTIONS.NewSCLScript
689   @MOD.sclAction "createSCLScriptAction"
690 ACTIONS.RunSCLScript : ACT.Action
691 ACTIONS.NewPGraph
692   @MOD.sclAction "createPGraphAction"
693 ACTIONS.NewSCLQuery : ACT.Action
694 ACTIONS.NewSCLQueryType
695   @MOD.sclAction "createSCLQueryTypeAction"
696 ACTIONS.NewSheetBook
697   @MOD.sclAction "createSpreadsheetBookAction"
698 ACTIONS.ActivateModel
699   @MOD.sclAction "activateModelAction"
700 ACTIONS.MigrateComponentType : ACT.Action
701 ACTIONS.CompilePGraphs : ACT.Action
702 //ACTIONS.MigrateMasterTypical : ACT.Action
703 ACTIONS.RenameDiagramComponents : ACT.Action
704 ACTIONS.Help : ACT.Action
705 ACTIONS.CopyURI : ACT.Action
706
707 ACTIONS.NavigateToSubstructure
708   @MOD.sclAction "navigateToSubstructureAction"
709
710 ACTIONS.NewProceduralComponentType : ACT.Action
711 ACTIONS.NewComponentType : ACT.Action
712
713 MOD.InstantiateUnder <T MOD.SCLAction
714   >-- MOD.InstantiateUnder.HasType --> L0.Type <R L0.IsRelatedTo : L0.TotalFunction
715   @MOD.sclAssertion MOD.SCLAction.action "instantiateUnderAction self" "Resource -> <Proc> ()"
716
717 ACTIONS.InstantiateUnder
718   @MOD.sclAction "instantiateUnderAction self"
719
720 MOD.InstanceOfTest <T MOD.SCLTest
721   >-- MOD.InstanceOfTest.HasType --> L0.Type <R L0.IsRelatedTo : L0.TotalFunction
722   @MOD.sclAssertion MOD.SCLTest.test "instanceOfTest self" "Resource -> <Proc> Boolean"
723
724 MOD.instanceOfTest : L0.Template
725     @template %test %type
726         %test : MOD.InstanceOfTest
727           MOD.InstanceOfTest.HasType %type
728
729 TESTS = MAC.Tests : L0.Library
730 TESTS.IsNotPublished
731   @MOD.sclTest "isNotPublished"
732 TESTS.IsPublished
733   @MOD.sclTest "isPublished"
734 TESTS.IsNotLocked
735   @MOD.sclTest "isNotLocked"
736 TESTS.IsLocked
737   @MOD.sclTest "isLocked"
738 TESTS.IsContainerNotPublished
739   @MOD.sclTest "isContainerNotPublished"
740 TESTS.HasSomethingToPaste
741   @MOD.sclTest "hasSomethingToPaste"
742 TESTS.CanDelete
743   @MOD.sclTest "canDelete"
744 TESTS.CanRename
745   @MOD.sclTest "canRename"
746
747 MOD.Functions.singleVariableSelection : L0.Function
748   L0.HasValueType "a"
749 MOD.Functions.projectSelection : L0.Function
750   L0.HasValueType "a"
751 MOD.Functions.standardPersistor : L0.Function
752   L0.HasValueType "StatePersistor"
753   
754   
755 //MOD.ModelBrowser : MOD.ModelBrowser
756