]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.document.base.ontology/graph/Properties.pgraph
Merge "(refs #7316) Improved error locations for invalid field access"
[simantics/platform.git] / bundles / org.simantics.document.base.ontology / graph / Properties.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 DOC = <http://www.simantics.org/Documentation-1.2>
3 FUNCTIONS = <http://www.simantics.org/Documentation-1.2/Functions>
4 SEL = <http://www.simantics.org/SelectionView-1.2>
5
6 PROPERTIES = DOC.Properties : L0.Library
7   @L0.new
8     
9 DOC.Document.AttributeRelation <T L0.Relation
10   @L0.assert L0.domainProperties L0.Functions.standardPropertyDomainProperties
11   @L0.assert L0.domainChildren L0.Functions.standardPropertyDomainChildren
12   --> DOC.Document.AttributeRelation.dynamic ==> "Boolean" <R L0.HasProperty : L0.TotalFunction
13   @L0.assert DOC.Document.AttributeRelation.dynamic false
14   
15 DOC.Document.ExtraAttributeRelation <T L0.Relation
16   @L0.assert L0.domainProperties L0.Functions.standardPropertyDomainProperties
17   @L0.assert L0.domainChildren L0.Functions.standardPropertyDomainChildren
18   
19 defAttribute = PROPERTIES.defAttribute : L0.Template
20     @template %subject %range
21         %subject <R L0.HasProperty : DOC.Document.AttributeRelation : L0.FunctionalRelation
22             L0.HasRange %range
23
24 defExtraAttribute = PROPERTIES.defExtraAttribute : L0.Template
25     @template %subject %range 
26         %subject <R L0.HasProperty : DOC.Document.ExtraAttributeRelation : L0.FunctionalRelation
27             L0.HasRange %range
28
29 PROPERTIES.inputUri : PROPERTIES.ParameterType
30     ==> "String"
31     @PROPERTIES.defAttribute L0.Value
32     L0.HasLabel "Input URI"
33
34 PROPERTIES.input <R L0.HasProperty : L0.FunctionalRelation
35     ==> "Variable"
36     
37 PROPERTIES.state <R L0.HasProperty : L0.FunctionalRelation
38     ==> "Variable"
39
40 PROPERTIES.icstate <R L0.HasProperty : L0.FunctionalRelation
41     ==> "Variable"
42
43 PROPERTIES.session <R L0.HasProperty : L0.FunctionalRelation
44     ==> "Variable"
45
46 PROPERTIES.experiment <R L0.HasProperty : L0.FunctionalRelation
47     ==> "Variable"
48
49 PROPERTIES.model <R L0.HasProperty : L0.FunctionalRelation
50     ==> "Variable"
51
52 PROPERTIES.primitiveProperties <R L0.HasProperty : L0.FunctionalRelation
53     ==> "String"
54
55 PROPERTIES.exists
56     @defAttribute L0.Boolean    
57     L0.RequiresValueType "Boolean" 
58
59 PROPERTIES.pathExists
60     @defAttribute L0.Boolean    
61     L0.RequiresValueType "Boolean" 
62
63 PROPERTIES.commands
64     @defAttribute L0.String    
65     L0.RequiresValueType "String" 
66     L0.HasLabel "Commands"
67     
68 PROPERTIES.dataDefinitions
69     @defAttribute L0.String    
70     L0.RequiresValueType "String" 
71     L0.HasLabel "Data Definitions"
72
73 PROPERTIES.SCLFunction : PROPERTIES.ParameterType
74     @PROPERTIES.defAttribute L0.Value
75     ==> "EventHandler"   
76     L0.HasLabel "SCL Function"
77     
78 PROPERTIES.target : PROPERTIES.ParameterType
79     @PROPERTIES.defAttribute L0.String    
80     L0.RequiresValueType "String"
81     L0.HasLabel "Target"
82
83 PROPERTIES.hyperlinkTarget : PROPERTIES.ParameterType
84     @PROPERTIES.defAttribute L0.String    
85     L0.RequiresValueType "String"
86     L0.HasLabel "Target type (optional)"
87
88 PROPERTIES.targets : PROPERTIES.ParameterType
89     @PROPERTIES.defAttribute L0.StringArray  
90     L0.RequiresValueType "Array String"
91     L0.HasLabel "Targets"
92     
93 PROPERTIES.source : PROPERTIES.ParameterType
94     @PROPERTIES.defAttribute L0.String    
95     L0.RequiresValueType "String"
96     L0.HasLabel "Source"
97
98 PROPERTIES.sources : PROPERTIES.ParameterType
99     @PROPERTIES.defAttribute L0.StringArray  
100     L0.RequiresValueType "Array String"
101     L0.HasLabel "Sources"
102
103 PROPERTIES.ParameterType <T SEL.GenericParameterType
104     
105