.. link: .. description: .. tags: .. date: 2013/08/18 00:00:00 .. title: NINJA-IDE .. slug: plugin .. class:: alert alert-info pull-top .. contents:: *Module:* `plugin.py `_ API ====================================================================== No description. *Imports:* ------------ - `os `_ - `sys `_ - `ninja_ide.tools.logger.NinjaLogger `_ - `PyQt4.QtCore.QObject `_ - `__future__.absolute_import `_ *Class:* `Plugin(QObject) `_ -------------------------------------------------------------------------------------------------------- .. code:: python class Plugin(QObject): | Base class for ALL Plugin | All plugins should inherit from this class *Attributes* ~~~~~~~~~~~~~~ - `locator [at ln:36] `_ - `logger [at ln:43] `_ *Function:* `__init__(locator, metadata=None) [at ln:34] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def __init__(locator, metadata=None): No description. ---- *Function:* `finish() [at ln:56] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def finish(): No description. ---- *Function:* `get_preferences_widget() [at ln:59] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def get_preferences_widget(): No description. ---- *Function:* `initialize() [at ln:52] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def initialize(): | The initialization of the Plugin should be here. ---- *Function:* `path() [at ln:62] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def path(): No description. **Decorators:** - *property*