X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.graphfile.ui.ontology%2Fgraph%2FGraphFileUI.pgraph;fp=bundles%2Forg.simantics.graphfile.ui.ontology%2Fgraph%2FGraphFileUI.pgraph;h=196296ec415376650c533b5f42813874f02b838d;hp=0000000000000000000000000000000000000000;hb=d505a72b5e6499a3eba646765575d28b7409ecdb;hpb=f841cc4dd0dff1b9f7dccd789334db7b8e6ecba6 diff --git a/bundles/org.simantics.graphfile.ui.ontology/graph/GraphFileUI.pgraph b/bundles/org.simantics.graphfile.ui.ontology/graph/GraphFileUI.pgraph new file mode 100644 index 000000000..196296ec4 --- /dev/null +++ b/bundles/org.simantics.graphfile.ui.ontology/graph/GraphFileUI.pgraph @@ -0,0 +1,48 @@ +L0 = +MOD = +SILK = +VP = +ACT = +GF = + +GFUI = : L0.Ontology + @L0.new + L0.HasResourceClass "org.simantics.graphfile.ui.ontology.GraphFileUIResource" : L0.String + +GFUI.BrowseContext : VP.BrowseContext + +ACTIONS = GFUI.BrowseContext.Actions : L0.Library + +ACTIONS.ImportFileDocument : ACT.Action +ACTIONS.ImportDocumentFolder : ACT.Action +ACTIONS.NewFileDocument : ACT.Action +ACTIONS.NewDocumentFolder : ACT.Action +ACTIONS.ExportFileDocument : ACT.Action +ACTIONS.ExportDocumentFolder : ACT.Action + +GFUI.ModelingBrowseContext : VP.BrowseContext + VP.BrowseContext.IsIncludedIn MOD.ModelingBrowseContext + @VP.relationChildRule L0.Library L0.ConsistsOf GF.Folder + @VP.relationChildRule L0.Library L0.ConsistsOf GF.File + @VP.relationChildRule GF.Folder L0.ConsistsOf GF.File + @VP.relationChildRule GF.Folder L0.ConsistsOf GF.Folder + + @VP.constantImageRule GF.Folder SILK.folder_page + @VP.constantImageRule GF.File SILK.page_white + @VP.customLabelRule GF.File VP.ResourceNameLabelRule + +GFUI.ModelingActionContext : VP.BrowseContext + VP.BrowseContext.IsIncludedIn MOD.ModelingActionContext + @VP.actionContribution "Folder" L0.Library SILK.folder_page VP.NewActionCategory ACTIONS.NewDocumentFolder + @VP.actionContribution "Folder" GF.Folder SILK.folder_page VP.NewActionCategory ACTIONS.NewDocumentFolder + @VP.actionContribution "File" L0.Library SILK.page_white VP.NewActionCategory ACTIONS.NewFileDocument + @VP.actionContribution "File" GF.Folder SILK.page_white VP.NewActionCategory ACTIONS.NewFileDocument + + @VP.actionContribution "Files" L0.Library SILK.page_white VP.ImportActionCategory ACTIONS.ImportFileDocument + @VP.actionContribution "Files" GF.Folder SILK.page_white VP.ImportActionCategory ACTIONS.ImportFileDocument + + @VP.actionContribution "Folder" L0.Library SILK.folder_page VP.ImportActionCategory ACTIONS.ImportDocumentFolder + @VP.actionContribution "Folder" GF.Folder SILK.folder_page VP.ImportActionCategory ACTIONS.ImportDocumentFolder + + @VP.actionContribution "File" GF.File SILK.page_white VP.ExportActionCategory ACTIONS.ExportFileDocument + @VP.actionContribution "Folder" GF.Folder SILK.folder_page VP.ExportActionCategory ACTIONS.ExportDocumentFolder \ No newline at end of file