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