]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.selectionview.ontology/graph/Selectionview.pgraph
Fixed regression in enumeration value function definition
[simantics/platform.git] / bundles / org.simantics.selectionview.ontology / graph / Selectionview.pgraph
index 4bfeebffadc11bad23a571dfa5f576fcbb3b6ec9..c38966f655f89989c94b891efeb180d8e4fd1717 100644 (file)
@@ -48,6 +48,7 @@ SEL.TypedVariableTabContribution <T SEL.VariableTabContribution
 SEL.HasDisplayColumn <R L0.HasProperty : L0.FunctionalRelation
 
 SEL.HasFormatter <R L0.HasProperty : L0X.ResourcePropertyRelation
+SEL.formatter ==> "Dynamic -> String" <R L0.HasProperty
 
 SEL.HasDisplayProperty <R L0.HasProperty : L0.FunctionalRelation
   L0.RequiresValueType "String"
@@ -111,8 +112,7 @@ SEL.GenericParameterType <T L0.FunctionalRelation
       L0.readOnly true
   @L0.assert SEL.HasDisplayValue
     _ : SEL.DisplayValue
-      SEL.HasEnumerationValues _ : L0.Value
-        L0.ConvertsToValueWith SEL.Functions.getEnumerationValues
+      SEL.HasEnumerationValues SEL.Functions.getEnumerationValues
   @L0.assert SEL.HasDisplayUnit
     _ : SEL.DisplayUnit
       L0.readOnly true