]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.selectionview.ontology/graph/Selectionview.pgraph
String formatter property using SCL function instead of adapter
[simantics/platform.git] / bundles / org.simantics.selectionview.ontology / graph / Selectionview.pgraph
index 8905c6252b17685e34b4857ebe21bc46662d7189..861f705d7a31dc8061d1848b347cb613ddcdb4ea 100644 (file)
@@ -7,6 +7,7 @@ SEL = <http://www.simantics.org/SelectionView-1.2> : L0.Ontology
 
 SEL.Functions : L0.Library
 
+SEL.SelectionProcessorContribution <T L0.Entity
 SEL.TabContribution <T L0.Entity
 SEL.SelectionTransformation <T L0.Function
 
@@ -32,6 +33,9 @@ SEL.AbstractTypedVariableTabContribution <T SEL.AbstractVariableTabContribution
 SEL.AbstractTypedResourceTabContribution <T SEL.AbstractResourceTabContribution
   >-- SEL.AbstractTypedResourceTabContribution.HasType --> L0.Type <R L0.DependsOn
 
+SEL.SCLTabContribution <T SEL.TabContribution
+  >-- SEL.SCLTabContribution.instantiate ==> "() -> <Proc> TabContribution" <R L0.HasProperty
+
 SEL.VariableTabContribution <T SEL.TabContribution
   >-- SEL.VariableTabContribution.HasTest <R L0.DependsOn
   >-- SEL.VariableTabContribution.transformation ==> "Variable -> <ReadGraph> Variable" <R L0.HasProperty
@@ -44,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"
@@ -129,7 +134,7 @@ SEL.CategoryHidden : SEL.StandardPropertyInfo
   SEL.StandardPropertyInfo.CategorySortingName ""
   SEL.StandardPropertyInfo.IsHidden true
 
-SEL.getSpecialCategory ==> "Resource -> <ReadGraph> Resource" <R L0.HasProperty : L0.FunctionalRelation
+SEL.getSpecialCategory ==> "Resource -> <ReadGraph> Maybe Resource" <R L0.HasProperty : L0.FunctionalRelation
 
 SEL.ColorParameterType <T SEL.GenericParameterType
   @L0.assert SEL.HasDisplayValue