aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ManaTools
diff options
context:
space:
mode:
authorMaarten Vanraes <alien@mageia.org>2016-05-08 00:04:24 +0200
committerMaarten Vanraes <alien@mageia.org>2016-05-08 09:57:43 +0200
commitd652078a5ed9a0bda7876b80003aefa7a794bfaa (patch)
tree053ef7c2f617bdc58d9b3fad5c4611333bfc28ae /lib/ManaTools
parent68821e30f29ff52a8cd56f9f1774976b48acfc03 (diff)
downloadmanatools-d652078a5ed9a0bda7876b80003aefa7a794bfaa.tar
manatools-d652078a5ed9a0bda7876b80003aefa7a794bfaa.tar.gz
manatools-d652078a5ed9a0bda7876b80003aefa7a794bfaa.tar.bz2
manatools-d652078a5ed9a0bda7876b80003aefa7a794bfaa.tar.xz
manatools-d652078a5ed9a0bda7876b80003aefa7a794bfaa.zip
ExtWidget: add a _finishSelectorWidget overridable
Diffstat (limited to 'lib/ManaTools')
-rw-r--r--lib/ManaTools/Shared/GUI/ExtWidget.pm21
1 files changed, 21 insertions, 0 deletions
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();