]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.document.base.ontology/graph/Components.pgraph
Still working for multiple readers
[simantics/platform.git] / bundles / org.simantics.document.base.ontology / graph / Components.pgraph
index 8c03f41c5e9935fd4d47c485460040e102ffd999..95fc62c6bc6b62ad8c04465a66186b0b7ab9f6d3 100644 (file)
@@ -63,9 +63,9 @@ COMPONENTS.Component <T STR.Component
     @sclAttribute PROPERTIES.commands "commandList self" "[Command]"
 
 COMPONENTS.PrimitiveComponent <T COMPONENTS.Component
-    @L0.assert PROPERTIES.primitiveProperties
-      _ : L0.Value
-        L0.domainProperties FUNCTIONS.primitiveProperties
+    @L0.sclAssertion PROPERTIES.primitiveProperties "primitiveProperties" "DocumentProperties"
+//      _ : L0.Value
+//        L0.domainProperties FUNCTIONS.primitiveProperties
 
 COMPONENTS.ParentlessComponent <T COMPONENTS.PrimitiveComponent /* Component without a parent, e.g. Root, DialogBox */
 
@@ -84,14 +84,14 @@ COMPONENTS.Event <T COMPONENTS.ParentlessComponent
  
 COMPONENTS.CommandEvent <T COMPONENTS.Event
    @connectionPoint RELATIONS.data1
-   @sclAttribute PROPERTIES.dataDefinitions "dataDefinitions self" "[DataDefinition]"
+   @sclAttribute PROPERTIES.dataDefinitions "computeDataDefinitions self" "[DataDefinition]"
    @sclAttribute PROPERTIES.SCLFunction "emptyOnClick ()" "String"
 
 DOC.commandEvent : L0.Template
     @template %instance %expression %valueType
         %instance : COMPONENTS.CommandEvent
             PROPERTIES.SCLFunction _ : %valueType
-                L0.HasValueType "EventHandler"
+                L0.HasValueType "AbstractEventHandler"
                 L0.SCLValue.expression %expression
 
 COMPONENTS.DefVar <T COMPONENTS.ParentlessComponent