]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ontology/graph/Modeling.pgraph
Maintain info about changed resources in virtual graph
[simantics/platform.git] / bundles / org.simantics.modeling.ontology / graph / Modeling.pgraph
index 2d3c38d65e1d98a8db9d2ed7ee82b08ec6e6bf40..e566026b12fa14bd8e4082e0d10c70d2dd4b8755 100644 (file)
@@ -411,6 +411,10 @@ MOD.changeInformation <R L0.HasProperty : L0.FunctionalRelation : SEL.GenericPar
     SEL.canBeLifted false
     SEL.HasStandardPropertyInfo MOD.SystemPropertyInfo
 
+MOD.changed
+    @L0.defTag
+    L0.HasDescription "Indicates that the change information of this object has been modified after import into this database."
+
 MOD.TypeWithChangeInformation <T L0.Entity
 
 L0.HasName : SEL.GenericParameterType
@@ -420,11 +424,6 @@ L0.HasName : SEL.GenericParameterType
 L0.HasLabel : SEL.GenericParameterType
 L0X.HasGeneratedNamePrefix : SEL.GenericParameterType
 
-//MOD.HasNameBrowseContextContribution : VP.BrowseContextContribution
-//    VP.BrowseContextContribution.HasType L0.String
-//    VP.BrowseContextContribution.HasBrowseContext
-//      _ : VP.BrowseContext
-
 L0.SCLModule : MOD.TypeWithChangeInformation
 L0.SCLScript : MOD.TypeWithChangeInformation
 L0.Library : MOD.TypeWithChangeInformation
@@ -496,6 +495,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