Package Pmv :: Module SLCommands :: Class RestoreBsptCommand
[hide private]
[frames] | no frames]

Class RestoreBsptCommand

source code

ViewerFramework.VFCommand.Command --+    
                                    |    
                  mvCommand.MVCommand --+
                                        |
                                       RestoreBsptCommand

Command to build a geometric object out of previously built and saved in a file Bspt set. Adds the new object to the viewer. The object can be linked to a molecule.

Instance Methods [hide private]
  checkDependencies(self)
virtual method.
  __init__(self)
  guiCallback(self)
  doit(self, file, molname=None)
virtual method.
  __call__(self, file, molname=None, **kw)
None <- RestoreBspt(file) file - a .bsp file

Inherited from mvCommand.MVCommand: strArg

Inherited from mvCommand.MVCommand (private): _strArg

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


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

checkDependencies(self)

source code 
virtual method. Has to be implemented by the sub classes. Method called when command is loaded, if all the dependencies are not found the command won't be loaded.
Overrides: ViewerFramework.VFCommand.Command.checkDependencies
(inherited documentation)

__init__(self)
(Constructor)

source code 
None
Overrides: mvCommand.MVCommand.__init__

guiCallback(self)

source code 
None
Overrides: mvCommand.MVCommand.guiCallback

doit(self, file, molname=None)

source code 
virtual method. Has to be implemented by the sub classes
Overrides: ViewerFramework.VFCommand.Command.doit
(inherited documentation)

__call__(self, file, molname=None, **kw)
(Call operator)

source code 
None <- RestoreBspt(file) file - a .bsp file
Overrides: ViewerFramework.VFCommand.Command.__call__