Source code for openalea.oalab.plugin.builtin.applet

# -*- coding: utf-8 -*-
# -*- python -*-
#
#       OpenAlea.OALab: Multi-Paradigm GUI
#
#       Copyright 2014-2015 INRIA - CIRAD - INRA
#
#       File author(s): Julien Coste <julien.coste@inria.fr>
#
#       File contributor(s): Guillaume Baty <guillaume.baty@inria.fr>
#
#       Distributed under the Cecill-C License.
#       See accompanying file LICENSE.txt or copy at
#           http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.html
#
#       OpenAlea WebSite : http://openalea.gforge.inria.fr
#
###############################################################################

__revision__ = ""

from openalea.core.plugin import PluginDef
from openalea.core.authors import *


[docs]class AppletPlugin(object): name_conversion = PluginDef.DROP_PLUGIN
@PluginDef
[docs]class ContextualMenu(AppletPlugin): label = 'Contextual Menu' authors = [jcoste, gbaty] def __call__(self): from openalea.oalab.widget.menu import ContextualMenu return ContextualMenu
@PluginDef
[docs]class ControlManager(AppletPlugin): label = 'Controls' icon = 'controlmanager.png' authors = [gbaty] def __call__(self): from openalea.oalab.control.manager import ControlManagerWidget return ControlManagerWidget
@PluginDef
[docs]class EditorManager(AppletPlugin): label = 'Model Editor' icon = 'oxygen_text-x-python.png' authors = [cpradal, dbarbeau, fboudon, gbaty, jchopard, jcoste, sdufourko, tcokelaer, {'name': u"Et al.", 'note': u"See also IParadigmApplet and IModel authors"} ] def __call__(self): # Load and instantiate graphical component that actually provide feature from openalea.oalab.paradigm.container import ModelEditorApplet return ModelEditorApplet
@PluginDef
[docs]class FileBrowser(AppletPlugin): label = 'File Browser' icon = 'oxygen_system-file-manager.png' authors = [jcoste, gbaty] def __call__(self): # Load and instantiate graphical component that actually provide feature from openalea.oalab.widget.browser import FileBrowser return FileBrowser
@PluginDef
[docs]class HelpWidget(AppletPlugin): label = 'Help' icon = 'oxygen_system-help.png' authors = [jcoste] def __call__(self): # Load and instantiate graphical component that actually provide feature from openalea.oalab.widget.help import HelpWidget return HelpWidget
@PluginDef
[docs]class HistoryWidget(AppletPlugin): label = 'History' icon = 'Crystal_Clear_app_clock.png' authors = [jcoste] def __call__(self): # Load and instantiate graphical component that actually provide feature from openalea.oalab.widget.history import HistoryWidget as History return History
@PluginDef
[docs]class Logger(AppletPlugin): icon = 'icon_logger2.png' authors = [dbarbeau, cpradal] def __call__(self): # Load and instantiate graphical component that actually provide feature from openalea.oalab.widget.logger import Logger as LoggerWidget return LoggerWidget
@PluginDef
[docs]class PkgManagerWidget(AppletPlugin): label = 'VisualeaPkg' icon = ":/images/resources/openalealogo.png" authors = [sdufourko, cpradal, gbaty, jcoste] def __call__(self): # Load and instantiate graphical component that actually provide feature from openalea.oalab.package.widgets import PackageManagerTreeView return PackageManagerTreeView
@PluginDef
[docs]class MplFigureWidget(AppletPlugin): name = 'FigureWidget' label = 'Figure (Matplotlib)' icon = 'icon_mplfigure.png' authors = [jdiener, gbaty] def __call__(self): # Load and instantiate graphical component that actually provide feature from openalea.oalab.plot2d.figurewidget import MplFigureWidget return MplFigureWidget
[docs]class MplTabWidget(AppletPlugin): name = 'Plot2d' label = '2D Plots (Matplotlib)' icon = 'icon_mplwidget.png' authors = [jdiener, gbaty] def __call__(self): # Load and instantiate graphical component that actually provide feature from openalea.oalab.plot2d.mplwidget import MplTabWidget return MplTabWidget
@PluginDef
[docs]class ProjectManager(AppletPlugin): label = 'Project' icon = 'adwaita_accessories-dictionary.png' authors = [jcoste, gbaty] def __call__(self): from openalea.oalab.project.projecteditor import ProjectEditorWidget return ProjectEditorWidget
@PluginDef
[docs]class ShellWidget(AppletPlugin): label = 'Shell' icon = 'oxygen_utilities-terminal.png' authors = [fboudon, jcoste, gbaty, cpradal] def __call__(self): from openalea.oalab.shell.shell import get_shell_class return get_shell_class()
@PluginDef
[docs]class SplitterApplet(AppletPlugin): icon = 'oxygen_view-split-top-bottom.png' label = 'Splitter' authors = [gbaty] def __call__(self): from openalea.oalab.widget.splittablewindow import SplitterApplet return SplitterApplet
@PluginDef
[docs]class Store(AppletPlugin): def __call__(self): from openalea.oalab.widget.store import Store return Store
@PluginDef
[docs]class World(AppletPlugin): icon = 'oxygen_world.png' authors = [gbaty, jcoste, gcerutti] def __call__(self): # Load and instantiate graphical component that actually provide feature from openalea.oalab.widget.world import WorldBrowser return WorldBrowser
@PluginDef
[docs]class WorldControl(AppletPlugin): label = 'World Controls' icon = 'oxygen_world_control.png' authors = [gcerutti, gbaty] def __call__(self): # Load and instantiate graphical component that actually provide feature from openalea.oalab.widget.world import WorldControlPanel return WorldControlPanel