Source code for openalea.oalab.plugin.builtin.lab.fulllab
from openalea.oalab.plugin.builtin.lab.minilab import MiniLab
class FullLab(MiniLab):
[docs] name = 'full'
label = 'Full Lab'
def __call__(self, mainwin=None):
if mainwin is None:
return self.__class__
from openalea.core.plugin.manager import PluginManager
pm = PluginManager()
# Load, create and place applets in mainwindow
for plugin_class in pm.plugins('oalab.applet'):
mainwin.add_plugin(name=plugin_class.name)
# Initialize all applets
mainwin.initialize()
@classmethod
def start(cls, *args, **kwds):
def initialize(cls, *args, **kwds):
[docs] from openalea.core.project.manager import ProjectManager
pm = ProjectManager()
@classmethod
def finalize(cls, *args, **kwds):
def stop(cls, *args, **kwds):