]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.desktop.ui.ontology/graph/DesktopUI.pgraph
Don't add repeated commands to SCL Console command history
[simantics/platform.git] / bundles / org.simantics.desktop.ui.ontology / graph / DesktopUI.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 PROJECT = <http://www.simantics.org/Project-1.2>
3 SILK = <http://www.simantics.org/Silk-1.1>
4 VP = <http://www.simantics.org/Viewpoint-1.2>
5 MOD = <http://www.simantics.org/Modeling-1.2>
6
7 DesktopUI = <http://www.simantics.org/DesktopUI-1.0> : L0.Ontology
8     @L0.new
9
10 DesktopUI.SCLMain : L0.SCLModule
11   L0.SCLModule.definition _ : L0.String
12       @L0.loadString "scl/SCLMain.scl"
13
14 DesktopUI.BrowseContext : VP.BrowseContext
15     VP.BrowseContext.Includes PROJECT.ProjectBrowseContext
16     VP.BrowseContext.HasChildContribution MOD.Contributions.ModelLibraries
17
18 DesktopUI.FileMenuNewActionContext : VP.BrowseContext
19     VP.BrowseContext.IsIncludedIn PROJECT.ProjectFileMenuNewActionContext
20     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
21         L0.HasLabel "Shared Library"
22         VP.ActionContribution.HasImage SILK.folder
23         VP.ActionContribution.HasCategory VP.EditActionCategory
24         VP.ActionContribution.HasNodeType PROJECT.Project
25         VP.ActionContribution.HasAction ACTIONS.NewSharedLibrary
26
27 ACTIONS = DesktopUI.Actions : L0.Library
28
29 ACTIONS.NewSharedLibrary
30   @MOD.sclAction "newSharedLibraryAction"
31