Skip to content

Commit

Permalink
Merge pull request #123 from OpenSmock/Issue_0099
Browse files Browse the repository at this point in the history
Issue 0099
  • Loading branch information
labordep authored Dec 16, 2023
2 parents c370ef2 + 326c756 commit 7385939
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/BaselineOfPyramid/BaselineOfPyramid.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ BaselineOfPyramid >> baseline: spec [
self dependencies: spec.
spec
package: #Pyramid;
package: #'Pyramid-IDE' with: [ spec requires: #( #Pyramid ) ];
package: #'Pyramid-Bloc'
with: [ spec requires: #( #Pyramid #Bloc #BlocSerialization) ];
package: #'Pyramid-Tests' with: [ spec requires: #( #Pyramid #'Pyramid-Bloc' ) ];
with: [ spec requires: #( #Pyramid #Bloc #BlocSerialization ) ];
package: #'Pyramid-Tests'
with: [ spec requires: #( #Pyramid #'Pyramid-Bloc' ) ];
package: #'Pyramid-Examples'
with: [ spec requires: #( #Pyramid ) ];
package: #'Pyramid-IDE' with: [ spec requires: #( #Pyramid ) ] ]
Expand Down
39 changes: 39 additions & 0 deletions src/Pyramid-IDE/PyramidPluginSettingsAccess.class.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
Class {
#name : #PyramidPluginSettingsAccess,
#superclass : #Object,
#traits : 'TPyramidPlugin',
#classTraits : 'TPyramidPlugin classTrait',
#instVars : [
'settingsButton'
],
#category : #'Pyramid-IDE-plugin-settings'
}

{ #category : #adding }
PyramidPluginSettingsAccess >> addPanelsOn: aPyramidWindow [

aPyramidWindow at: #topLeft addItem: [ :builder |
builder makeButtonWithIcon: self settingsButton order: 3 ]
]

{ #category : #initialization }
PyramidPluginSettingsAccess >> initialize [

settingsButton := SpButtonPresenter new
icon: (self iconNamed: #smallConfiguration);
action: [ PyramidWorld openPyramidSettings ];
help: self settingsButtonHelp;
yourself
]

{ #category : #initialization }
PyramidPluginSettingsAccess >> settingsButton [

^ settingsButton
]

{ #category : #initialization }
PyramidPluginSettingsAccess >> settingsButtonHelp [

^ 'Open the settings menu for Pyramid.'
]
2 changes: 1 addition & 1 deletion src/Pyramid-IDE/PyramidSystemSettings.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Class {
#name : #PyramidSystemSettings,
#superclass : #Object,
#category : #'Pyramid-IDE'
#category : #'Pyramid-IDE-settings-menu'
}

{ #category : #settings }
Expand Down
2 changes: 1 addition & 1 deletion src/Pyramid-IDE/PyramidWorld.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Class {
#name : #PyramidWorld,
#superclass : #Object,
#category : #'Pyramid-IDE-Menus'
#category : #'Pyramid-IDE-menus'
}

{ #category : #actions }
Expand Down

0 comments on commit 7385939

Please sign in to comment.