Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions src/Pyramid-Bloc/PyramidBackgroundBlocPlugin.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,7 @@ PyramidBackgroundBlocPlugin class >> backgroundType [
property := PyramidProperty new
name: 'Background Type';
command: PyramidBackgroundTypeCommand new;
inputPresenterClass:
PyramidMagicButtonsInputPresenter;
inputPresenterClass: PyramidMagicButtonsInputPresenter;
yourself.
property inputPresenterModel
addButtonModel: (PyramidMagicButtonModel new
Expand All @@ -265,7 +264,14 @@ PyramidBackgroundBlocPlugin class >> backgroundType [
helpNotSelected: 'Set the value to image.';
label: 'Image';
inputValue: [
BlImageBackground image: (Smalltalk ui icons iconNamed: #pharoBig) ];
BlImageBackground image: (PyramidExternalRessourceProxy new
pyramidExternalRessourceSource:
(PyramidExternalRessourceSource new
target: Object;
selector: #iconNamed:;
arguments: { #pharoBig };
yourself);
yourself) ];
inputValidation: [ :value | value = BlImageBackground ];
yourself).
^ property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ PyramidBackgroundImageModalPresenter >> proxyLayout [
{ #category : #'special objects' }
PyramidBackgroundImageModalPresenter >> proxyObject [

| receiver selector arguments proxySource proxy |
| receiver selector arguments proxySource |
receiver := self inputReceiverProxy
evaluate: self inputReceiverProxy text
onCompileError: [ :err | ^ self ]
Expand Down
6 changes: 6 additions & 0 deletions src/Pyramid/PyramidExternalRessourceProxy.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ PyramidExternalRessourceProxy class >> fromTarget: aTarget selector: aSelector a
postConstructionBlock: aBlock)
]

{ #category : #'as yet unclassified' }
PyramidExternalRessourceProxy >> allSetterAndGettersForMyStash [

^ self stashAccessors
]

{ #category : #converting }
PyramidExternalRessourceProxy >> asStashConstructor [

Expand Down
2 changes: 1 addition & 1 deletion src/Pyramid/PyramidSinglePopingPresenterBuilder.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ PyramidSinglePopingPresenterBuilder >> buildPresenterWithButtonsFor: anAssociati
self property commandExecutor
use: self property command
on: self cluster allTargets
with: input value ].
with: input value value ].
layout := self
layoutForLabel: aString
input: input
Expand Down
Loading