~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/filesystem/browser/__init__.py

Dispatch now generates an index for each plugin type, allowing plugins to
be written which are aware of other plugins, and other plugin types.

All view plugins now subclass from ivle.webapp.base.plugins.ViewPlugin,
as opposed to subclassing BasePlugin directly. This will allow us to
easily re-write console as an OverlayPlugin, and allow future new
plugins types to be created.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
take place in the FileService app (for handling Ajax requests).
27
27
"""
28
28
 
29
 
from ivle.webapp.base.plugins import BasePlugin
 
29
from ivle.webapp.base.plugins import ViewPlugin
30
30
from ivle.webapp.base.xhtml import XHTMLView
31
31
 
32
32
import os.path
152
152
          ])
153
153
        ]
154
154
 
155
 
class Plugin(BasePlugin):
 
155
class Plugin(ViewPlugin):
156
156
    """
157
157
    The Plugin class for the user plugin.
158
158
    """