Gapp::Action::Registry - Registry of Gapp::Action objects
Returns the Gapp::Action in the regisry with the given name.
Returns a list all of the Gapp::Action objects in the registry.
Returns a list of all the action names in the registry.
Add an action to the registry.
Takes either a Gapp::Action object or a HashRef
.
If a HashRef
is supplied,
the values will be used to create a new Gapp::Action object.
Returns true
if an action with the given $name
exists in the registry,
false
otherwise.
Calls perform
on the action with the given name,
passing in args
as parameters.
Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>
Copyright (c) 2011-2012 Jeffrey Ray Hallock. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.