Closed koendehondt closed 1 month ago
Context: Pharo 12 and Pharo 13
SpCommandGroup has these 4 methods:
SpCommandGroup
asMenuBarPresenter
asMenuBarPresenterWith:
asMenuPresenter
asMenuPresenterWith:
but it does not have:
asToolbarPresenter
asToolbarPresenterWith:
Due to the missing methods, developers have to write:
| toolbarCommandGroup | toolBar := self newToolbar. toolbarCommandGroup := self rootCommandsGroup / 'ToolBar'. SpToolbarPresenterBuilder new toolbarPresenter: toolBar; visit: toolbarCommandGroup
instead of:
toolBar := (self rootCommandsGroup / 'ToolBar') asToolbarPresenter
The purpose of this ticket is to add the two methods.
Context: Pharo 12 and Pharo 13
SpCommandGroup
has these 4 methods:asMenuBarPresenter
asMenuBarPresenterWith:
asMenuPresenter
asMenuPresenterWith:
but it does not have:
asToolbarPresenter
asToolbarPresenterWith:
Due to the missing methods, developers have to write:
instead of:
The purpose of this ticket is to add the two methods.