Source code for openalea.oalab.plugin.oalab.paradigm

from openalea.core.interface import IInterface

class IParadigmApplet(IInterface):
[docs] identifier = 'IParadigmApplet' # Unique identifier name = 'IParadigmApplet' # Human readable name def __init__(self, session, controller, parent=None): """ :param session: unique instance (kernel) managing configuration and plugins :param controller: instance that modify and manage data :param parent: parent widget, used by Qt for layout, memory management, ... """ def actions(self):
[docs] """ Returns a list ["Tab name", [list of actions] ] Where "list of action" is a 3-item list : groupname(unicode), action(QAction), button_type(bool: 0 big button, 1 small button) Example:: def actions(self): return self._actions = [["Python IDE","Text Edit", self.actionUndo,0], ["Python IDE","Text Edit", self.actionRedo,0] ] """