X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.document.base.ontology%2Fgraph%2FComponents.pgraph;fp=bundles%2Forg.simantics.document.base.ontology%2Fgraph%2FComponents.pgraph;h=bd6c97123d43eab2ac009b12cde9994903b8e99e;hb=969bd23cab98a79ca9101af33334000879fb60c5;hp=0000000000000000000000000000000000000000;hpb=866dba5cd5a3929bbeae85991796acb212338a08;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.document.base.ontology/graph/Components.pgraph b/bundles/org.simantics.document.base.ontology/graph/Components.pgraph new file mode 100644 index 000000000..bd6c97123 --- /dev/null +++ b/bundles/org.simantics.document.base.ontology/graph/Components.pgraph @@ -0,0 +1,105 @@ +L0 = +STR = +DOC = +RELATIONS = +PROPERTIES = +FUNCTIONS = + +COMPONENTS = DOC.Components : L0.Library + +attribute = COMPONENTS.attribute : L0.Template + @template %subject %relation %default + %subject + >-- %relation + L0.Asserts _ : L0.Assertion + L0.HasPredicate %relation + L0.HasObject %default + +connectionPoint = COMPONENTS.connectionPoint : L0.Template + @template %subject %relation + %subject + >-- %relation + +sclAttribute = COMPONENTS.sclAttribute : L0.Template + @template %subject %relation %command + %subject + >-- %relation + L0.Asserts _ : L0.Assertion + L0.HasPredicate %relation + L0.HasObject _ : DOC.SCLValue + L0.HasValueType "String" + L0.SCLValue.expression %command + L0.default false + +DOC.SCL : L0.SCLModule + L0.SCLModule.definition _ : L0.String + @L0.loadString "scl/Code.scl" + +DOC.scl : L0.Template + @template %subject %property %expression %valueType + %subject + %property _ : DOC.SCLValue + L0.SCLValue.expression %expression + L0.HasValueType %valueType + +DOC.sclValue : L0.Template + @template %subject %expression %valueType + %subject : DOC.SCLValue + L0.SCLValue.expression %expression + L0.HasValueType %valueType + +DOC.SCLValue -- COMPONENTS.Component.manualOrdinal --> L0.Integer