-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
249 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/Pyramid-Bloc/PyramidLibraryPresenterForFirstLevelElement.class.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Class { | ||
#name : #PyramidLibraryPresenterForFirstLevelElement, | ||
#superclass : #PyramidLibraryPresenter, | ||
#category : #'Pyramid-Bloc-plugin-tree-library' | ||
} | ||
|
||
{ #category : #'as yet unclassified' } | ||
PyramidLibraryPresenterForFirstLevelElement >> buttonAction [ | ||
|
||
self editor propertiesManager commandExecutor | ||
use: PyramidAddToCollectionCommand new | ||
on: { self editor projectModel firstLevelElements } | ||
with: self list selectedItem blockMaker value | ||
] | ||
|
||
{ #category : #private } | ||
PyramidLibraryPresenterForFirstLevelElement >> buttonLabel [ | ||
|
||
^ 'Add new on first level' | ||
] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.' | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.