]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.document.base.ontology/graph/Properties.pgraph
ValueType modifications to satisfy compilation of SCL-expressions
[simantics/platform.git] / bundles / org.simantics.document.base.ontology / graph / Properties.pgraph
index 9093ebe9476de4d0364bec1059bc6d861ec08bf3..d0394de6693251707724921758b93ec8df5f7cab 100644 (file)
@@ -5,7 +5,9 @@ SEL = <http://www.simantics.org/SelectionView-1.2>
 
 PROPERTIES = DOC.Properties : L0.Library
   @L0.new
-    
+
+DOC.Document.definesAttributeRelation --> DOC.Document.AttributeRelation <R L0.IsRelatedTo : L0.FunctionalRelation
+
 DOC.Document.AttributeRelation <T L0.Relation
   @L0.assert L0.domainProperties L0.Functions.standardPropertyDomainProperties
   @L0.assert L0.domainChildren L0.Functions.standardPropertyDomainChildren
@@ -48,7 +50,10 @@ PROPERTIES.experiment <R L0.HasProperty : L0.FunctionalRelation
 
 PROPERTIES.model <R L0.HasProperty : L0.FunctionalRelation
     ==> "Variable"
-    
+
+PROPERTIES.primitiveProperties <R L0.HasProperty : L0.FunctionalRelation
+    ==> "String"
+
 PROPERTIES.exists
     @defAttribute L0.Boolean    
     L0.RequiresValueType "Boolean" 
@@ -58,13 +63,13 @@ PROPERTIES.pathExists
     L0.RequiresValueType "Boolean" 
 
 PROPERTIES.commands
-    @defAttribute L0.String    
-    L0.RequiresValueType "String" 
+    @defAttribute L0.Value
+    L0.RequiresValueType "[Command]"
     L0.HasLabel "Commands"
     
 PROPERTIES.dataDefinitions
-    @defAttribute L0.String    
-    L0.RequiresValueType "String" 
+    @defAttribute L0.Value
+    L0.RequiresValueType "[DataDefinition]"
     L0.HasLabel "Data Definitions"
 
 PROPERTIES.SCLFunction : PROPERTIES.ParameterType