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
- getObjParent()[source]
Get the object parent in the tree. If the object is a binary, this method return None
- class scipion.install.plugin_manager.OperationList[source]
Bases:
object
This class contains a plugins/binaries operations list and allows to execute it
- getOperations(op)[source]
Return the operation List. If the operation is not None return a list with only the operation op
- class scipion.install.plugin_manager.PluginBrowser(master, **args)[source]
Bases:
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)
Construct a frame widget with the parent MASTER.
Valid resource names: background, bd, bg, borderwidth, class, colormap, container, cursor, height, highlightbackground, highlightcolor, highlightthickness, relief, takefocus, visual, width.
- class scipion.install.plugin_manager.PluginHelp(title, master=None, **kwargs)[source]
Bases:
Window
Windows to hold a plugin manager help
Create a Tk window. title: string to use as title for the windows. master: if not provided, the windows create will be the principal one weight: if true, the first col and row will be configured with weight=1 minsize: a minimum size for height and width icon: if not None, set the windows icon
- class scipion.install.plugin_manager.PluginManager(title, master=None, **kwargs)[source]
Bases:
PluginManagerWindow
Windows to hold a frame inside.
Create a Tk window. title: string to use as title for the windows. master: if not provided, the windows create will be the principal one weight: if true, the first col and row will be configured with weight=1 minsize: a minimum size for height and width icon: if not None, set the windows icon
- class scipion.install.plugin_manager.PluginManagerWindow(title, master=None, **kwargs)[source]
Bases:
Window
Windows to hold a plugin manager frame inside.
Create a Tk window. title: string to use as title for the windows. master: if not provided, the windows create will be the principal one weight: if true, the first col and row will be configured with weight=1 minsize: a minimum size for height and width icon: if not None, set the windows icon
- class scipion.install.plugin_manager.PluginTree(master=None, **kw)[source]
Bases:
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.
Construct a Ttk Treeview with parent master.
STANDARD OPTIONS
class, cursor, style, takefocus, xscrollcommand, yscrollcommand
WIDGET-SPECIFIC OPTIONS
columns, displaycolumns, height, padding, selectmode, show
ITEM OPTIONS
text, image, values, open, tags
TAG OPTIONS
foreground, background, font, image
- check_item(item)[source]
check the box of item and change the state of the boxes of item’s ancestors accordingly