]> 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 0ecca5e065d27b0099252e2da407859a8cfd5c9e..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
@@ -26,7 +28,7 @@ defExtraAttribute = PROPERTIES.defExtraAttribute : L0.Template
         %subject <R L0.HasProperty : DOC.Document.ExtraAttributeRelation : L0.FunctionalRelation
             L0.HasRange %range
 
-PROPERTIES.inputUri <R L0.HasProperty : PROPERTIES.ParameterType
+PROPERTIES.inputUri : PROPERTIES.ParameterType
     ==> "String"
     @PROPERTIES.defAttribute L0.Value
     L0.HasLabel "Input URI"
@@ -48,51 +50,54 @@ PROPERTIES.experiment <R L0.HasProperty : L0.FunctionalRelation
 
 PROPERTIES.model <R L0.HasProperty : L0.FunctionalRelation
     ==> "Variable"
-    
-PROPERTIES.exists <R L0.HasProperty : L0.FunctionalRelation
+
+PROPERTIES.primitiveProperties <R L0.HasProperty : L0.FunctionalRelation
+    ==> "String"
+
+PROPERTIES.exists
     @defAttribute L0.Boolean    
     L0.RequiresValueType "Boolean" 
 
-PROPERTIES.pathExists <R L0.HasProperty : L0.FunctionalRelation
+PROPERTIES.pathExists
     @defAttribute L0.Boolean    
     L0.RequiresValueType "Boolean" 
 
-PROPERTIES.commands <R L0.HasProperty : L0.FunctionalRelation
-    @defAttribute L0.String    
-    L0.RequiresValueType "String" 
+PROPERTIES.commands
+    @defAttribute L0.Value
+    L0.RequiresValueType "[Command]"
     L0.HasLabel "Commands"
     
-PROPERTIES.dataDefinitions <R L0.HasProperty : L0.FunctionalRelation
-    @defAttribute L0.String    
-    L0.RequiresValueType "String" 
+PROPERTIES.dataDefinitions
+    @defAttribute L0.Value
+    L0.RequiresValueType "[DataDefinition]"
     L0.HasLabel "Data Definitions"
 
-PROPERTIES.SCLFunction <R L0.HasProperty : PROPERTIES.ParameterType
+PROPERTIES.SCLFunction : PROPERTIES.ParameterType
     @PROPERTIES.defAttribute L0.Value
     ==> "EventHandler"   
     L0.HasLabel "SCL Function"
     
-PROPERTIES.target : PROPERTIES.ParameterType : L0.FunctionalRelation
+PROPERTIES.target : PROPERTIES.ParameterType
     @PROPERTIES.defAttribute L0.String    
     L0.RequiresValueType "String"
     L0.HasLabel "Target"
 
-PROPERTIES.hyperlinkTarget : PROPERTIES.ParameterType : L0.FunctionalRelation
+PROPERTIES.hyperlinkTarget : PROPERTIES.ParameterType
     @PROPERTIES.defAttribute L0.String    
     L0.RequiresValueType "String"
     L0.HasLabel "Target type (optional)"
 
-PROPERTIES.targets : PROPERTIES.ParameterType : L0.FunctionalRelation
+PROPERTIES.targets : PROPERTIES.ParameterType
     @PROPERTIES.defAttribute L0.StringArray  
     L0.RequiresValueType "Array String"
     L0.HasLabel "Targets"
     
-PROPERTIES.source : PROPERTIES.ParameterType : L0.FunctionalRelation
+PROPERTIES.source : PROPERTIES.ParameterType
     @PROPERTIES.defAttribute L0.String    
     L0.RequiresValueType "String"
     L0.HasLabel "Source"
 
-PROPERTIES.sources : PROPERTIES.ParameterType : L0.FunctionalRelation
+PROPERTIES.sources : PROPERTIES.ParameterType
     @PROPERTIES.defAttribute L0.StringArray  
     L0.RequiresValueType "Array String"
     L0.HasLabel "Sources"