]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ontology/graph/Modeling.pgraph
Merge changes I78c3a258,I7bf72f04
[simantics/platform.git] / bundles / org.simantics.modeling.ontology / graph / Modeling.pgraph
index 3f33c47fc49c75ffba2827e11e77b1210f3d89f6..a45e7419cb19c38363b330c0d5c1db4dad7146f1 100644 (file)
@@ -45,7 +45,7 @@ created to the model."""
         L0.HasDescription """Specifies a template for a symbol that is created 
 by default for the new component type under the model."""
     >-- MOD.StructuralModel.HasSymbolDiagramType --> L0.Type <R L0.IsRelatedTo : L0.FunctionalRelation
-
+    >-- MOD.StructuralModel.HasSymbolType --> L0.Type <R L0.IsRelatedTo : L0.FunctionalRelation
     >-- MOD.StructuralModel.HasConfigurationType --> L0.Type <R L0.IsRelatedTo : L0.FunctionalRelation
 
     @L0.assert MOD.StructuralModel.HasComponentTypeSupertype STR.Component
@@ -325,6 +325,15 @@ MOD.scl : L0.Template
               L0.SCLValue.expression %expression
               L0.HasValueType %valueType
 
+MOD.sclAssertion : L0.Template
+    @template %type %property %expression %valueType
+        %type
+            L0.Asserts _ : L0.Assertion
+              L0.HasPredicate %property
+              L0.HasObject _ : MOD.SCLValue
+                L0.SCLValue.expression %expression
+                L0.HasValueType %valueType
+
 MOD.Functions.obtainedString : L0.Function
   L0.HasValueType "String"
 
@@ -417,6 +426,7 @@ L0X.HasGeneratedNamePrefix : SEL.GenericParameterType
 //      _ : VP.BrowseContext
 
 L0.SCLModule : MOD.TypeWithChangeInformation
+L0.SCLScript : MOD.TypeWithChangeInformation
 L0.Library : MOD.TypeWithChangeInformation
 SIMU.Model : MOD.TypeWithChangeInformation
 MOD.Subscription : MOD.TypeWithChangeInformation
@@ -431,6 +441,7 @@ L0.Relation : MOD.TypeWithChangeInformation
 STR.ComponentType <T MOD.TypeWithChangeInformation
 
 L0.SCLModule : L0.TypeWithIdentifier
+L0.SCLScript : L0.TypeWithIdentifier
 L0.Type  : L0.TypeWithIdentifier
 L0.Relation : L0.TypeWithIdentifier
 L0.Library : L0.TypeWithIdentifier
@@ -485,6 +496,14 @@ MOD.DependencyTrackingProcess : MOD.LifeCycleProcess
     "LifeCycleContext -> <Proc> ()"
      
 
+MOD.OntologicalRequirementTracker <T MOD.LifeCycleProcess
+  @MOD.sclAssertion MOD.LifeCycleProcess.load
+    """\x -> trackOntologicalRequirements"""
+    "LifeCycleContext -> <Proc> ()"
+  @MOD.sclAssertion MOD.LifeCycleProcess.unload
+    """\x -> untrackOntologicalRequirements"""
+    "LifeCycleContext -> <Proc> ()"
+
 MOD.EditorContribution <T L0.Entity
   --> MOD.EditorContribution.canHandle ==> "Resource -> <ReadGraph> Boolean" <R L0.HasProperty : L0.FunctionalRelation 
   --> MOD.EditorContribution.editorId --> L0.String <R L0.HasProperty : L0.FunctionalRelation 
@@ -506,4 +525,10 @@ MOD.SVGTabContribution : SEL.SCLTabContribution
     "svgTabContribution"
     "() -> <Proc> TabContribution"
 
-      
\ No newline at end of file
+MOD.SymbolCodeStyle : DIA.Style
+
+MOD.IssueDecorationStyle : DIA.Style
+
+MOD.PreferredDiagramEditorID <R L0.HasProperty : L0.FunctionalRelation
+    L0.HasDomain STR.Composite
+    L0.HasRange  L0.String
\ No newline at end of file