From 5ea47cc5d2f26e3adca7703b3efc6a24b7ff47a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hern=C3=A1n=20Morales=20Durand?= Date: Thu, 29 Aug 2024 13:43:13 +0200 Subject: [PATCH] Add a convenience method so we don't have to ask listPresenter to set the header title of a filtering list: --- src/Spec2-CommonWidgets/SpFilteringListPresenter.class.st | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Spec2-CommonWidgets/SpFilteringListPresenter.class.st b/src/Spec2-CommonWidgets/SpFilteringListPresenter.class.st index 85bbf06c..f4adc918 100644 --- a/src/Spec2-CommonWidgets/SpFilteringListPresenter.class.st +++ b/src/Spec2-CommonWidgets/SpFilteringListPresenter.class.st @@ -123,6 +123,13 @@ SpFilteringListPresenter >> filterText [ ^ self filterInputPresenter text ] +{ #category : 'api' } +SpFilteringListPresenter >> headerTitle: aString [ + "Set the receiver's title to aString" + + listPresenter headerTitle: aString +] + { #category : 'initialization' } SpFilteringListPresenter >> initializePresenters [