Uranium
Application Framework
UM.Extension.Extension Class Reference

Base class for plugins that extend the functionality of Uranium. More...

Inheritance diagram for UM.Extension.Extension:
UM.PluginObject.PluginObject

Public Member Functions

def __init__ (self)
 
def addMenuItem
 Add an item to the sub-menu of the extension. More...
 
def setMenuName
 Set name of the menu where all menu items are placed in. More...
 
def getMenuName (self)
 Get the name of the menu where all menu items are placed in. More...
 
def activateMenuItem
 Call function associated with option. More...
 
def getMenuItemList (self)
 Get list of all menu item names. More...
 
- Public Member Functions inherited from UM.PluginObject.PluginObject
def __init__ (self, args, kwags)
 
def getId (self)
 
def setPluginId
 
def setMetaData
 
def getMetaData (self)
 
def getPluginId (self)
 
def setVersion
 
def getVersion (self)
 

Detailed Description

Base class for plugins that extend the functionality of Uranium.

Every extension adds a (sub) menu to the extension menu with one or more menu items.

Member Function Documentation

def UM.Extension.Extension.activateMenuItem (   self,
  name 
)

Call function associated with option.

Parameters
namestring
def UM.Extension.Extension.addMenuItem (   self,
  name 
)

Add an item to the sub-menu of the extension.

Parameters
namestring
functionfunction
def UM.Extension.Extension.getMenuItemList (   self,
  List,
  str 
)

Get list of all menu item names.

Returns
list
def UM.Extension.Extension.getMenuName (   self,
  Optional,
  str 
)

Get the name of the menu where all menu items are placed in.

Parameters
menuname string
def UM.Extension.Extension.setMenuName (   self,
  name 
)

Set name of the menu where all menu items are placed in.

Parameters
namestring

The documentation for this class was generated from the following file: