plugins

class jukeboxmaya.plugins.JB_MayaPlugin[source]

Bases: jukeboxcore.plugins.JB_Plugin

Maya plugin class

maya plugins are only loaded in maya via the MayaPluginManager. If a plugin requires the functionality of maya or any other maya plugin, subclass from this one.

For subclassing: you have to implement init and uninit!

Constructs a new Plugin

Returns:None
Return type:None
Raises:None
init_ui()[source]

Initialize the plugin in the maya ui (e.g. create a menu or put something in a toolbar/shelf).

Returns:None
Return type:None
Raises:None
uninit_ui()[source]

Uninitialize the ui in the maya ui (e.g. delete the menus/shelfes etc).

Returns:None
Return type:None
Raises:None
class jukeboxmaya.plugins.JB_MayaStandalonePlugin[source]

Bases: jukeboxcore.plugins.JB_StandalonePlugin, jukeboxmaya.plugins.JB_MayaPlugin

Maya plugin for standalone addons.

Standalone addons feature a special run method an can be run with the jukebox launcher. The launcher will first initialize maya standalone, then the plugin and then call the run method.

For subclassing: you have to implement init, unit and run!

Constructs a new Plugin

Returns:None
Return type:None
Raises:None
run()[source]

Start the plugin. This method is also called by the jukebox launcher.

Returns:None
Return type:None
Raises:None
class jukeboxmaya.plugins.JB_MayaStandaloneGuiPlugin[source]

Bases: jukeboxcore.plugins.JB_StandaloneGuiPlugin, jukeboxmaya.plugins.JB_MayaPlugin

Maya plugin for standalone addons that also need a gui.

Standalone addons feature a special run method an can be run with the jukebox launcher. The launcher will first initialize maya standalone, then the plugin and then call the run method.

For subclassing: you have to implement init, unit and run!

Constructs a new Plugin

Returns:None
Return type:None
Raises:None
class jukeboxmaya.plugins.MayaPluginManager[source]

Bases: jukeboxcore.plugins.PluginManager

A plugin manager that supports JB_CorePlugins and JB_MayaPlugins

Constructs a new PluginManager, use the get method in 99% of cases!

Raises:None
supportedTypes = [<class 'jukeboxcore.plugins.JB_CorePlugin'>, <class 'jukeboxcore.plugins.JB_CoreStandalonePlugin'>, <class 'jukeboxcore.plugins.JB_CoreStandaloneGuiPlugin'>, <class 'jukeboxmaya.plugins.JB_MayaPlugin'>, <class 'jukeboxmaya.plugins.JB_MayaStandalonePlugin'>, <class 'jukeboxmaya.plugins.JB_MayaStandaloneGuiPlugin'>]
builtinpluginpath = 'h:\\projects\\jukebox-maya\\src\\jukeboxmaya\\addons;h:\\projects\\jukebox-core\\src\\jukeboxcore\\addons'