openalea.oalab.plugins package¶
Submodules¶
openalea.oalab.plugins.lpy module¶
- class openalea.oalab.plugins.lpy.LPyApplet(session, controller, parent=None, name='script.lpy', script='')[source]¶
Bases: object
- default_file_name = 'script.lpy'¶
- default_name = 'LSystem'¶
- extension = 'lpy'¶
- icon = ':/images/resources/logo.png'¶
- pattern = '*.lpy'¶
- run_selected_part()[source]¶
Run selected code like a PYTHON code (not LPy code). If nothing selected, run like LPy (not Python).
- class openalea.oalab.plugins.lpy.LPyApplet2(session, controller, parent=None, name='script.lpy', script='')[source]¶
Bases: object
- default_file_name = 'script.lpy'¶
- default_name = 'LSystem'¶
- extension = 'lpy'¶
- icon = ':/images/resources/logo.png'¶
- pattern = '*.lpy'¶
- run_selected_part(txt)[source]¶
Run selected code like a PYTHON code (not LPy code). If nothing selected, run like LPy (not Python).
- openalea.oalab.plugins.lpy.import_lpy_file(script)[source]¶
Extract from an “old style” LPy file script part (str) and associated control (dict). Permit compatibility between LPy and OALab.
Param: script to filter (str) Returns: lpy script (str) without end begining with “###### INITIALISATION ######” and a dict which contain the control (dict)
openalea.oalab.plugins.python module¶
openalea.oalab.plugins.r module¶
openalea.oalab.plugins.visualea module¶
- class openalea.oalab.plugins.visualea.VisualeaApplet(session, controller, parent=None, name='workflow.wpy', script=None)[source]¶
Bases: object
- default_file_name = 'workflow.wpy'¶
- default_name = 'Workflow'¶
- extension = 'wpy'¶
- icon = ':/images/resources/openalealogo.png'¶
- pattern = '*.wpy'¶
- openalea.oalab.plugins.visualea.mainMenu(self)[source]¶
Returns: Name of menu tab to automatically set current when current widget begin current.