]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ontology/graph/ModelingViewpoint.pgraph
Maintain info about changed resources in virtual graph
[simantics/platform.git] / bundles / org.simantics.modeling.ontology / graph / ModelingViewpoint.pgraph
index b97753e5fc5c920061de1be78cd1f8b7adde20d9..c68b03dbcb0abc370173276dc91bbf63599c7e41 100644 (file)
@@ -266,6 +266,7 @@ MBC.Symbol : VP.ResourceNodeType
     // that has already unwanted contributions.
 
 MBC.ComponentTypeLockStatusImageDecorationRule : VP.ImageDecorationRule
+MBC.ChangedResourceImageDecorationRule : VP.ImageDecorationRule
 
 // Labels
 MBC
@@ -364,6 +365,7 @@ MBC
     @VP.namedConstantImageRule           MOD.Contributions.SheetBookImage        SHEET.Book                           SILK.folder_table
     @VP.namedConstantImageRule           MOD.Contributions.SheetImage            SHEET.Spreadsheet                    SILK.table
     @VP.customImageDecorationRule        STR.ComponentType                       MBC.ComponentTypeLockStatusImageDecorationRule
+    @VP.customImageDecorationRule        L0.Entity                               MBC.ChangedResourceImageDecorationRule
     
 IMAGES = MBC.Images : L0.Library
 IMAGES.SubscriptionsFolder : IMAGE.PngImage
@@ -450,6 +452,13 @@ MOD.Contributions.NewSheetBook : VP.ActionContribution
     VP.ActionContribution.HasNodeType L0.Library
     VP.ActionContribution.HasAction ACTIONS.NewSheetBook
 
+MOD.Contributions.ImportSheetBook : VP.ActionContribution
+    L0.HasLabel "Spreadsheet"
+    VP.ActionContribution.HasImage SILK.star
+    VP.ActionContribution.HasCategory VP.ImportActionCategory
+    VP.ActionContribution.HasNodeType L0.Library
+    VP.ActionContribution.HasAction ACTIONS.ImportSheetBook
+
 MOD.Contributions.ActivateModel : VP.ActionContribution
     L0.HasLabel "Activate"
     VP.ActionContribution.HasImage SILK.bullet_go
@@ -693,6 +702,7 @@ MAC
     VP.BrowseContext.SupportsRenamingOf MBC.Symbol
     VP.BrowseContext.HasActionContribution
         MOD.Contributions.NewSheetBook
+        MOD.Contributions.ImportSheetBook
 
     @VP.renamingTestContribution
         L0.SharedOntology
@@ -732,6 +742,8 @@ ACTIONS.NewSCLQueryType
   @MOD.sclAction "createSCLQueryTypeAction"
 ACTIONS.NewSheetBook
   @MOD.sclAction "createSpreadsheetBookAction"
+ACTIONS.ImportSheetBook
+  @MOD.sclAction "importSpreadsheetBookAction"
 ACTIONS.ActivateModel
   @MOD.sclAction "activateModelAction"
 ACTIONS.ActivateExperiment