Package ViewerFramework :: Module basicCommand :: Class loadCommandCommand
[hide private]
[frames] | no frames]

Class loadCommandCommand

source code

VFCommand.Command --+    
                    |    
    loadModuleCommand --+
                        |
                       loadCommandCommand

Command to load dynamically individual commands in the Viewer.
    
Package : ViewerFramework
    
Module : basicCommand.py
    
Class : loadCommandCommand
    
Command : loadCommand
    
Synopsis:

        None <- loadCommand(moduleName, commandsName, package=None,
        gui=None)
    
Required Arguements:

        moduleName --- name of the module to be loaded
        commandsName --- name of the Command or list of Commands
    
Optional Arguements:

        package --- name of the package to which filename belongs
    



Instance Methods [hide private]
  doit(self, module, commands, package=None, gui=None)
Load a command instance with the given alias and gui
  guiCallback(self, event=None)
Default callback function called by the gui
  package_cb(self, event=None)
  Dismiss_cb(self)
  __call__(self, moduleName, commandsName, package=None, gui=None, **kw)
None <- loadCommand(moduleName, commandsName, package=None,...
  getDefaults(self, package, filename, commandName)
  loadCmd_cb(self, event=None)
  getModuleCmds(self, modName=None, package=None)
Callback method of the module chooser to get the corresponding commands:
  modChooser_cb(self, event=None)
CallBack method that gets called when clicking on an entry of the mocule cjooser.
  buildFormDescr(self, formName)
Create the pulldown menu and Listchooser to let for the selection of commands.

Inherited from loadModuleCommand: loadModule_cb, loadModules

Inherited from VFCommand.Command: __init__, __repr__, addCallbackAfter, addCallbackBefore, addUndoCall, afterDoit, beforeDoit, buildLogArgList, checkDependencies, cleanup, customizeGUI, doitWrapper, getArguments, getHelp, getLastUsedValues, getLogArgs, getValNamedArgs, log, logString, onAddCmdToViewer, onAddNewCmd, onCmdRun, setLastUsedValues, setupUndoAfter, setupUndoBefore, showForm, strArg, tkCb, updateGeom, warningMsg

Inherited from VFCommand.Command (private): _strArg


Class Variables [hide private]
  active = 0

Inherited from VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

doit(self, module, commands, package=None, gui=None)

source code 
Load a command instance with the given alias and gui
Overrides: loadModuleCommand.doit

guiCallback(self, event=None)

source code 
Default callback function called by the gui
Overrides: loadModuleCommand.guiCallback

package_cb(self, event=None)

source code 
None
Overrides: loadModuleCommand.package_cb

Dismiss_cb(self)

source code 
None
Overrides: loadModuleCommand.Dismiss_cb

__call__(self, moduleName, commandsName, package=None, gui=None, **kw)
(Call operator)

source code 
None <- loadCommand(moduleName, commandsName, package=None,
        gui=None)
        
Required Arguements:

        moduleName --- name of the module to be loaded
        commandsName --- name of the Command or list of Commands
    
Optional Arguements:

        package --- name of the package to which filename belongs
        

Overrides: loadModuleCommand.__call__

getDefaults(self, package, filename, commandName)

source code 
None

loadCmd_cb(self, event=None)

source code 
None

getModuleCmds(self, modName=None, package=None)

source code 
Callback method of the module chooser to get the corresponding commands:

modChooser_cb(self, event=None)

source code 
CallBack method that gets called when clicking on an entry of the mocule cjooser.

buildFormDescr(self, formName)

source code 
Create the pulldown menu and Listchooser to let for the selection of commands.
Overrides: loadModuleCommand.buildFormDescr

Class Variable Details [hide private]

active

None
Value:
0