scipion.install.plugin_manager module

class scipion.install.plugin_manager.Operation(objName, objType='plugin', objStatus='install', objParent=None)[source]

Bases: object

This class contain the object(plugin/binary) operation details

getObjName()[source]

Get the object(plugin/binary) name

getObjParent()[source]

Get the object parent in the tree. If the object is a bynary, this method return None

getObjStatus()[source]

Get the object status (installed, uninstalled, to install,…)

getObjText()[source]

Get the object(plugin/binary) text

getObjType()[source]

Get the object type (plugin or binary)

runOperation(processors)[source]

This method install or uninstall a plugin/binary operation :param processors: number of processors to compilation

setObjStatus(status)[source]

Set the object status

class scipion.install.plugin_manager.OperationList[source]

Bases: object

This class contain a plugins/binaries operations list and allow execute it

applyOperations()[source]

Execute a operation list

clearOperations()[source]

Clear the operation List

getOperationByName(opName)[source]

Return an operation that match with a given name

getOperations(op)[source]

Return the operation List. If the operation is not None return a list with only the operation op

insertOperation(operation)[source]

This method insert into the list a given operation. If the operation was inserted previously is eliminated

operationIndex(operation)[source]

Returns the index of an operation within the list

removeOperation(index)[source]

Remove an operation from the list based on an index

class scipion.install.plugin_manager.PluginBrowser(master, **args)[source]

Bases: tkinter.Frame

This class will implement a frame. It will display a list of plugin at the left panel. A TreeProvider will be used to populate the list (Tree). At the right panel provide a plugin/binary information(top panel) and a list of operation (bottom panel)

deleteOperation(operationName)[source]

Delete an operation given the object name

isPlugin(value)[source]
linkToWebSite(event)[source]

Load the plugin url

loadPlugins()[source]

Load all plugins and fill the tree view widget

operationInformation(event)[source]

Update the operationTree selected item

reloadInstalledPlugin(pluginName)[source]

Reload a given plugin and update the tree view

showOperationList()[source]

Shows the operation list at left bottom panel :return:

showPluginInformation(pluginName)[source]

Shows the information associated with a given plugin

class scipion.install.plugin_manager.PluginHelp(title, master=None, **kwargs)[source]

Bases: pyworkflow.gui.gui.Window

Windows to hold a plugin manager help

createHelp()[source]
class scipion.install.plugin_manager.PluginManager(title, master=None, **kwargs)[source]

Bases: scipion.install.plugin_manager.PluginManagerWindow

Windows to hold a frame inside.

class scipion.install.plugin_manager.PluginManagerWindow(title, master=None, **kwargs)[source]

Bases: pyworkflow.gui.gui.Window

Windows to hold a plugin manager frame inside.

close(e=None)[source]
onExit()[source]
onHelp()[source]
onUser()[source]
onVariables()[source]
class scipion.install.plugin_manager.PluginTree(master=None, **kw)[source]

Bases: tkinter.ttk.Treeview

Treeview widget with checkboxes left of each item. The checkboxes are done via the image attribute of the item, so to keep the checkbox, you cannot add an image to the item.

check_item(item)[source]

check the box of item and change the state of the boxes of item’s ancestors accordingly

disable()[source]
enable()[source]
failure_item(item)[source]

change the box item to failure item

insert(parent, index, iid=None, **kw)[source]

same method as for standard treeview but add the tag ‘unchecked’ automatically if no tag among (‘checked’, ‘unchecked’) is given

installed_item(item)[source]

change the box item to processing item

is_disabled()[source]
is_enabled()[source]
processing_item(item)[source]

change the box item to processing item

uncheck_item(item)[source]

uncheck the boxes of item’s descendant

update_item(item)[source]

change the boxes item to update item’s

scipion.install.plugin_manager.main()[source]