Skip to content

Commit

Permalink
Merge pull request #114 from OpenSmock/dev-99
Browse files Browse the repository at this point in the history
Add Pyramid settings entry + library menu quick access
  • Loading branch information
labordep authored Nov 16, 2023
2 parents ddbfd90 + bd4064a commit 1a1af45
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/Pyramid-IDE/PyramidSystemSettings.class.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Class {
#name : #PyramidSystemSettings,
#superclass : #Object,
#category : #'Pyramid-IDE'
}

{ #category : #settings }
PyramidSystemSettings class >> pyramidSettingOn: aBuilder [
<systemsettings>

(aBuilder group: #pyramid)
label: 'Pyramid';
description: 'Settings related to Pyramid editor'.
]

{ #category : #'see class side' }
PyramidSystemSettings >> seeClassSide [
]
27 changes: 27 additions & 0 deletions src/Pyramid-IDE/PyramidWorld.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,29 @@ PyramidWorld class >> menuReportABugOn: aBuilder [
action: [ WebBrowser openOn: 'https://github.com/OpenSmock/Pyramid/issues/new' ]
]

{ #category : #menu }
PyramidWorld class >> menuSettingsOn: aBuilder [

<worldMenu>
(aBuilder item: #Settings)
parent: #PyramidUser;
order: 2.0;
label: 'Settings';
help: 'Open Pyramid system settings';
icon: (self iconNamed: #glamorousPreferences);
action: [ self openPyramidSettings ]
]

{ #category : #actions }
PyramidWorld class >> openPyramidSettings [

| browser |
browser := SettingBrowser new.
browser changeSearchedText: 'Pyramid'.
browser open.
browser expandAll
]

{ #category : #actions }
PyramidWorld class >> startBrowseSources [

Expand All @@ -146,3 +169,7 @@ PyramidWorld class >> startRefreshPlugins [

PyramidPluginManager reset
]

{ #category : #'see class side' }
PyramidWorld >> seeClassSide [
]

0 comments on commit 1a1af45

Please sign in to comment.