]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.document.base.ontology/graph/Properties.pgraph
Fixing wrong value types
[simantics/platform.git] / bundles / org.simantics.document.base.ontology / graph / Properties.pgraph
index 4fb8b227860e33753fc2c3defaf5bb59ead5518b..d502e3d2f2e860ed22dbdc56340c9e44954a643d 100644 (file)
@@ -55,51 +55,51 @@ PROPERTIES.primitiveProperties <R L0.HasProperty : L0.FunctionalRelation
     ==> "String"
 
 PROPERTIES.exists
     ==> "String"
 
 PROPERTIES.exists
-    @defAttribute L0.Boolean    
+    @defAttribute L0.Value
     L0.RequiresValueType "Boolean" 
 
 PROPERTIES.pathExists
     L0.RequiresValueType "Boolean" 
 
 PROPERTIES.pathExists
-    @defAttribute L0.Boolean    
+    @defAttribute L0.Value
     L0.RequiresValueType "Boolean" 
 
 PROPERTIES.commands
     L0.RequiresValueType "Boolean" 
 
 PROPERTIES.commands
-    @defAttribute L0.String    
-    L0.RequiresValueType "String" 
+    @defAttribute L0.Value
+    L0.RequiresValueType "[Command]"
     L0.HasLabel "Commands"
     
 PROPERTIES.dataDefinitions
     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
     @PROPERTIES.defAttribute L0.Value
     L0.HasLabel "Data Definitions"
 
 PROPERTIES.SCLFunction : PROPERTIES.ParameterType
     @PROPERTIES.defAttribute L0.Value
-    ==> "EventHandler"   
+    ==> "AbstractEventHandler"   
     L0.HasLabel "SCL Function"
     
 PROPERTIES.target : PROPERTIES.ParameterType
     L0.HasLabel "SCL Function"
     
 PROPERTIES.target : PROPERTIES.ParameterType
-    @PROPERTIES.defAttribute L0.String    
+    @PROPERTIES.defAttribute L0.Value
     L0.RequiresValueType "String"
     L0.HasLabel "Target"
 
 PROPERTIES.hyperlinkTarget : PROPERTIES.ParameterType
     L0.RequiresValueType "String"
     L0.HasLabel "Target"
 
 PROPERTIES.hyperlinkTarget : PROPERTIES.ParameterType
-    @PROPERTIES.defAttribute L0.String    
+    @PROPERTIES.defAttribute L0.Value
     L0.RequiresValueType "String"
     L0.HasLabel "Target type (optional)"
 
 PROPERTIES.targets : PROPERTIES.ParameterType
     L0.RequiresValueType "String"
     L0.HasLabel "Target type (optional)"
 
 PROPERTIES.targets : PROPERTIES.ParameterType
-    @PROPERTIES.defAttribute L0.StringArray  
-    L0.RequiresValueType "Array String"
+    @PROPERTIES.defAttribute L0.Value
+    L0.RequiresValueType "[String]"
     L0.HasLabel "Targets"
     
 PROPERTIES.source : PROPERTIES.ParameterType
     L0.HasLabel "Targets"
     
 PROPERTIES.source : PROPERTIES.ParameterType
-    @PROPERTIES.defAttribute L0.String    
+    @PROPERTIES.defAttribute L0.Value
     L0.RequiresValueType "String"
     L0.HasLabel "Source"
 
 PROPERTIES.sources : PROPERTIES.ParameterType
     L0.RequiresValueType "String"
     L0.HasLabel "Source"
 
 PROPERTIES.sources : PROPERTIES.ParameterType
-    @PROPERTIES.defAttribute L0.StringArray  
-    L0.RequiresValueType "Array String"
+    @PROPERTIES.defAttribute L0.Value
+    L0.RequiresValueType "[String]"
     L0.HasLabel "Sources"
 
 PROPERTIES.ParameterType <T SEL.GenericParameterType
     L0.HasLabel "Sources"
 
 PROPERTIES.ParameterType <T SEL.GenericParameterType