]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Fixing wrong value types 76/1176/2
authorjsimomaa <jani.simomaa@gmail.com>
Wed, 1 Nov 2017 07:48:36 +0000 (09:48 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 1 Nov 2017 22:33:13 +0000 (00:33 +0200)
refs #7575

Change-Id: I53f96c6e0e5189df524cf20ef65f9d02ed4c9693

bundles/org.simantics.document.base.ontology/graph/Properties.pgraph

index e1cf07711ac734e595a12cfa6afb33cdddfc0125..d502e3d2f2e860ed22dbdc56340c9e44954a643d 100644 (file)
@@ -55,11 +55,11 @@ PROPERTIES.primitiveProperties <R L0.HasProperty : L0.FunctionalRelation
     ==> "String"
 
 PROPERTIES.exists
-    @defAttribute L0.Boolean    
+    @defAttribute L0.Value
     L0.RequiresValueType "Boolean" 
 
 PROPERTIES.pathExists
-    @defAttribute L0.Boolean    
+    @defAttribute L0.Value
     L0.RequiresValueType "Boolean" 
 
 PROPERTIES.commands
@@ -78,28 +78,28 @@ PROPERTIES.SCLFunction : 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
-    @PROPERTIES.defAttribute L0.String    
+    @PROPERTIES.defAttribute L0.Value
     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
-    @PROPERTIES.defAttribute L0.String    
+    @PROPERTIES.defAttribute L0.Value
     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