aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ManaTools/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ManaTools/Shared')
-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();