Actually, pass plugin instance to Command.__init__.
authorW. Trevor King <wking@drexel.edu>
Tue, 18 May 2010 12:54:38 +0000 (08:54 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 18 May 2010 12:54:38 +0000 (08:54 -0400)
commitf68b9fc8a332ec655c62dd9a0703794119162896
treedb50a5db885baa6505f736eaf595215760b5cf8f
parentf6dac437b897f4bf8e0e793727dda7fe9f0a7199
Actually, pass plugin instance to Command.__init__.

Rather than using Plugin._setup_commands, because the commands may
wish to use some aspects of the Plugin during initialization (e.g. to
build argument lists from plugin settings).  The previous
implemetation gave the commands no way to respond to the attached
plugin instance.
hooke/command.py
hooke/config.py
hooke/plugin/__init__.py
hooke/plugin/config.py
hooke/plugin/curve.py
hooke/plugin/cut.py
hooke/plugin/debug.py
hooke/plugin/multifit.py
hooke/plugin/note.py
hooke/plugin/playlist.py
hooke/plugin/system.py