diff --git a/src/Pyramid-IDE/PyramidSystemSettings.class.st b/src/Pyramid-IDE/PyramidSystemSettings.class.st new file mode 100644 index 00000000..32d04604 --- /dev/null +++ b/src/Pyramid-IDE/PyramidSystemSettings.class.st @@ -0,0 +1,18 @@ +Class { + #name : #PyramidSystemSettings, + #superclass : #Object, + #category : #'Pyramid-IDE' +} + +{ #category : #settings } +PyramidSystemSettings class >> pyramidSettingOn: aBuilder [ + + + (aBuilder group: #pyramid) + label: 'Pyramid'; + description: 'Settings related to Pyramid editor'. +] + +{ #category : #'see class side' } +PyramidSystemSettings >> seeClassSide [ +] diff --git a/src/Pyramid-IDE/PyramidWorld.class.st b/src/Pyramid-IDE/PyramidWorld.class.st index 56dbec19..ca8cc1b3 100644 --- a/src/Pyramid-IDE/PyramidWorld.class.st +++ b/src/Pyramid-IDE/PyramidWorld.class.st @@ -129,6 +129,29 @@ PyramidWorld class >> menuReportABugOn: aBuilder [ action: [ WebBrowser openOn: 'https://github.com/OpenSmock/Pyramid/issues/new' ] ] +{ #category : #menu } +PyramidWorld class >> menuSettingsOn: aBuilder [ + + + (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 [ @@ -146,3 +169,7 @@ PyramidWorld class >> startRefreshPlugins [ PyramidPluginManager reset ] + +{ #category : #'see class side' } +PyramidWorld >> seeClassSide [ +]