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)
commitc4845a85000b50097f8a6a1688ec34d913fc1bff
treedb50a5db885baa6505f736eaf595215760b5cf8f
parent62cfb3bde4faa22da8d131571dc6f093682a0cca
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