]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.modeling.ontology/graph/ModelingOperations.pgraph
Move contents of SCLMain in PlatformUI from pgraph to scl-file
[simantics/platform.git] / bundles / org.simantics.modeling.ontology / graph / ModelingOperations.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 L0X = <http://www.simantics.org/Layer0X-1.1>
3 PROJ = <http://www.simantics.org/Project-1.2>
4 STR = <http://www.simantics.org/Structural-1.2>
5 MOD = <http://www.simantics.org/Modeling-1.2>
6 DIA = <http://www.simantics.org/Diagram-2.2>
7
8 OP = L0X.Operation
9 PRED = L0X.Predicate
10
11 // Predicates
12 PREDS = MOD.Predicates : L0.Library
13 PREDS.HasCounterpart : PRED.Predicate
14
15 // Operations
16 OPS = MOD.Operations : L0.Library
17
18 OPS.NavigateToTarget : OP.Operation
19
20 MOD.HasModelingOperations <R L0.IsWeaklyRelatedTo
21 MOD.HasDiagramOperations <R L0.IsWeaklyRelatedTo
22
23 MOD.ModelingOperations : OP.TypeBasedList
24     L0X.HasRelation MOD.HasModelingOperations
25
26 MOD.DiagramOperations : OP.TypeBasedList
27     L0X.HasRelation MOD.HasDiagramOperations
28
29 STR.Component
30     MOD.HasModelingOperations LL : OP.ContextualList <R L0.IsRelatedTo
31         LL LL
32         
33 PROJ.Project
34     MOD.HasModelingOperations MO : OP.ContextualList <R L0.IsRelatedTo
35         MO MO
36         //@L0.orderedSet        
37             //OPS.NewComponentType : L0.Operation
38             //OPS.NewModel : OP.Operation
39
40 DIA.Flag
41     MOD.HasDiagramOperations _ : OP.ContextualList <R L0.IsRelatedTo
42         @L0.orderedSet
43             _ : OP.ConditionalList
44                 OP.HasCondition PREDS.HasCounterpart
45                 OP.HasThenElement OPS.NavigateToTarget
46             //_ : OP.ConditionalList
47             //    OP.HasCondition PREDS.HasCounterpart
48             //    OP.HasThenElement OPS.DisconnectFlag : OP.Operation
49
50 DIA.Monitor
51     MOD.HasDiagramOperations _ : OP.ContextualList <R L0.IsRelatedTo
52         @L0.orderedSet
53             _ : OP.ConditionalList
54                 OP.HasCondition PREDS.HasCounterpart
55                 OP.HasThenElement OPS.NavigateToTarget