-# Copyright\r
-\r
-from ....util.pluggable import IsSubclass, construct_graph\r
-\r
-\r
-HANDLER_MODULES = [\r
- 'boolean',\r
- 'float',\r
-# 'int'\r
-# 'point',\r
- 'selection',\r
- 'string'\r
- ]\r
-"""List of handler modules. TODO: autodiscovery\r
-"""\r
-\r
-class Handler (object):\r
- """Base class for :class:`~hooke.interaction.Request` handlers.\r
- \r
- :attr:`name` identifies the request type and should match the\r
- module name.\r
- """\r
- def __init__(self, name):\r
- self.name = name\r
-\r
- def run(self, hooke_frame, msg):\r
- raise NotImplemented\r
-\r
- def _cancel(self, *args, **kwargs):\r
- # TODO: somehow abort the running command\r
-\r
-\r
-HANDLERS = construct_odict(\r
- this_modname=__name__,\r
- submodnames=USER_INTERFACE_MODULES,\r
- class_selector=IsSubclass(UserInterface, blacklist=[UserInterface]))\r
-""":class:`hooke.compat.odict.odict` of :class:`Handler`\r
-instances keyed by `.name`.\r
-"""\r
+# Copyright (C) 2010-2012 W. Trevor King <wking@drexel.edu>
+#
+# This file is part of Hooke.
+#
+# Hooke is free software: you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# Hooke is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
+# Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with Hooke. If not, see
+# <http://www.gnu.org/licenses/>.
+
+"""A collection of useful popup dialogs for user interaction.
+"""