-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prepare the reuse of dropdownButton from ToSelectElement
- Loading branch information
Showing
5 changed files
with
104 additions
and
57 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
44 changes: 44 additions & 0 deletions
44
src/Toplo-Widget-DropdownButton/TToDropdownInnerContainerElement.trait.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,44 @@ | ||
Trait { | ||
#name : #TToDropdownInnerContainerElement, | ||
#category : #'Toplo-Widget-DropdownButton' | ||
} | ||
|
||
{ #category : #'t - dropdown inner container' } | ||
TToDropdownInnerContainerElement >> dropdownButton [ | ||
|
||
^ self explicitRequirement | ||
] | ||
|
||
{ #category : #'t - dropdown inner container' } | ||
TToDropdownInnerContainerElement >> dropdownButton: aDropdownButton [ | ||
|
||
^ self explicitRequirement | ||
] | ||
|
||
{ #category : #'t - dropdown inner container' } | ||
TToDropdownInnerContainerElement >> onSelectionChangedInPopupListElement: anEvent [ | ||
|
||
self refreshFromPopupListSelection. | ||
self requestLayout | ||
] | ||
|
||
{ #category : #'t - dropdown inner container' } | ||
TToDropdownInnerContainerElement >> popupWindowManager [ | ||
|
||
^ self dropdownButton popupWindowManager | ||
] | ||
|
||
{ #category : #'t - dropdown inner container' } | ||
TToDropdownInnerContainerElement >> refreshFromPopupListSelection [ | ||
|
||
^ self explicitRequirement | ||
] | ||
|
||
{ #category : #'t - dropdown inner container' } | ||
TToDropdownInnerContainerElement >> windowManager [ | ||
|
||
self | ||
deprecated: 'Use #popupWindowManager' | ||
transformWith: '`@rcvr windowManager' -> '`@rcvr popupWindowManager'. | ||
^ self selectElement popupWindowManager | ||
] |
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