]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.layer0/graph/Layer0SCL.pgraph
Define actions already in L0
[simantics/platform.git] / bundles / org.simantics.layer0 / graph / Layer0SCL.pgraph
index 526139c0db35f983d4d9a968c6004ba08e556a83..6421614359cc81df895bba4a87b157c26df3dead 100644 (file)
@@ -10,7 +10,12 @@ L0.Functions.entityLabel : L0.ExternalValue
 L0.Functions.listResources : L0.ExternalValue    
 L0.Functions.resourceAsValue : L0.ExternalValue    
 L0.Functions.functionApplication : L0.ExternalValue
+
+// This was replaced by L0.Functions.sclValue to make things more uniform
 L0.Functions.computeExpression : L0.ExternalValue
+    @L0.tag L0.Deprecated
+    
+L0.Functions.sclValue : L0.ExternalValue
 L0.Functions.composedPropertyValue : L0.ExternalValue
 
 L0.Functions.standardValueAccessor : L0.ExternalValue
@@ -57,6 +62,15 @@ L0.SCLModule <T L0.Entity
     >-- L0.SCLModule.definition --> L0.String <R L0.HasProperty : L0.TotalFunction
     @L0.assert L0.SCLModule.definition ""
 
+L0.SCLScript <T L0.Entity
+    >-- L0.SCLScript.definition --> L0.String <R L0.HasProperty : L0.TotalFunction
+    @L0.assert L0.SCLScript.definition ""
+
+L0.Action <T L0.Entity
+
+L0.SCLAction <T L0.Action
+  --> L0.SCLAction.action ==> "Resource -> <Proc> ()" <R L0.HasProperty : L0.TotalFunction 
+
 L0.Ontology
     >-- L0.Ontology.defaultLocalName --> L0.String <R L0.HasProperty : L0.TotalFunction
     @L0.assert L0.Ontology.defaultLocalName ""