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