]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.graphfile.ui.ontology/graph/GraphFileUI.pgraph
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / bundles / org.simantics.graphfile.ui.ontology / graph / GraphFileUI.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 MOD = <http://www.simantics.org/Modeling-1.2>
3 SILK = <http://www.simantics.org/Silk-1.1>
4 VP = <http://www.simantics.org/Viewpoint-1.2>
5 ACT = <http://www.simantics.org/Action-1.1>
6 GF = <http://www.simantics.org/GraphFile-0.1>
7
8 GFUI = <http://www.simantics.org/GraphFileUI-1.0> : L0.Ontology
9     @L0.new
10     L0.HasResourceClass "org.simantics.graphfile.ui.ontology.GraphFileUIResource" : L0.String
11
12 GFUI.BrowseContext : VP.BrowseContext
13
14 ACTIONS = GFUI.BrowseContext.Actions : L0.Library
15
16 ACTIONS.ImportFileDocument : ACT.Action
17 ACTIONS.ImportDocumentFolder : ACT.Action
18 ACTIONS.NewFileDocument : ACT.Action
19 ACTIONS.NewDocumentFolder : ACT.Action
20 ACTIONS.ExportFileDocument : ACT.Action
21 ACTIONS.ExportDocumentFolder : ACT.Action
22
23 GFUI.ModelingBrowseContext : VP.BrowseContext
24     VP.BrowseContext.IsIncludedIn MOD.ModelingBrowseContext
25     @VP.relationChildRule    L0.Library     L0.ConsistsOf    GF.Folder
26     @VP.relationChildRule    L0.Library     L0.ConsistsOf    GF.File
27     @VP.relationChildRule    GF.Folder      L0.ConsistsOf    GF.File
28     @VP.relationChildRule    GF.Folder      L0.ConsistsOf    GF.Folder
29
30     @VP.constantImageRule    GF.Folder      SILK.folder_page
31     @VP.constantImageRule    GF.File        SILK.page_white
32     @VP.customLabelRule      GF.File        VP.ResourceNameLabelRule
33
34 GFUI.ModelingActionContext : VP.BrowseContext
35     VP.BrowseContext.IsIncludedIn MOD.ModelingActionContext
36     @VP.actionContribution "Folder" L0.Library SILK.folder_page VP.NewActionCategory ACTIONS.NewDocumentFolder
37     @VP.actionContribution "Folder" GF.Folder SILK.folder_page VP.NewActionCategory ACTIONS.NewDocumentFolder
38     @VP.actionContribution "File" L0.Library SILK.page_white VP.NewActionCategory ACTIONS.NewFileDocument
39     @VP.actionContribution "File" GF.Folder SILK.page_white VP.NewActionCategory ACTIONS.NewFileDocument
40
41     @VP.actionContribution "Files" L0.Library SILK.page_white VP.ImportActionCategory ACTIONS.ImportFileDocument
42     @VP.actionContribution "Files" GF.Folder SILK.page_white VP.ImportActionCategory ACTIONS.ImportFileDocument
43
44     @VP.actionContribution "Folder" L0.Library SILK.folder_page VP.ImportActionCategory ACTIONS.ImportDocumentFolder
45     @VP.actionContribution "Folder" GF.Folder SILK.folder_page VP.ImportActionCategory ACTIONS.ImportDocumentFolder
46
47     @VP.actionContribution "File" GF.File SILK.page_white VP.ExportActionCategory ACTIONS.ExportFileDocument
48     @VP.actionContribution "Folder" GF.Folder SILK.folder_page VP.ExportActionCategory ACTIONS.ExportDocumentFolder