From d652078a5ed9a0bda7876b80003aefa7a794bfaa Mon Sep 17 00:00:00 2001 From: Maarten Vanraes Date: Sun, 8 May 2016 00:04:24 +0200 Subject: ExtWidget: add a _finishSelectorWidget overridable --- lib/ManaTools/Shared/GUI/ExtWidget.pm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'lib/ManaTools/Shared/GUI') diff --git a/lib/ManaTools/Shared/GUI/ExtWidget.pm b/lib/ManaTools/Shared/GUI/ExtWidget.pm index 5d691ad6..a0bad96a 100644 --- a/lib/ManaTools/Shared/GUI/ExtWidget.pm +++ b/lib/ManaTools/Shared/GUI/ExtWidget.pm @@ -212,6 +212,26 @@ sub _buildSelectorWidget { #============================================================= +=head2 _finishSelectorWidget + +=head3 INPUT + + $self: this object + +=head3 DESCRIPTION + + finalizes the selection widget, needs to be overridden in subclasses + +=cut + +#============================================================= +sub _finishSelectorWidget { + my $self = shift; + my $selectorWidget = shift; +} + +#============================================================= + =head2 buildSelectionWidget =head3 INPUT @@ -241,6 +261,7 @@ sub buildSelectionWidget { # processEvents from the parent down. Therefor, we'll set the # parentEventHandler directly, so that any parent referrals still work. $self->{replacepoint}->parentEventHandler($self->{eventHandler}); + $self->_finishSelectorWidget($selectorWidget); # don't add any children right away $self->{replacepoint}->finished(); -- cgit v1.2.1