Package Pmv :: Module hbondCommands :: Class RemoveHBondCommandGUICommand
[hide private]
[frames] | no frames]

Class RemoveHBondCommandGUICommand

source code

 ViewerFramework.VFCommand.Command --+    
                                     |    
                   mvCommand.MVCommand --+
                                         |
ViewerFramework.VFCommand.ICOM --+       |
                                 |       |
                  mvCommand.MVICOM --+   |
                                     |   |
                  mvCommand.MVBondICOM --+
                                         |
                                        RemoveHBondCommandGUICommand

RemoveHBondCommandGUICommand allows user to remove hbonds between
    picked atoms.
   
Package : Pmv
   
Module  : hbondCommands
   
Class   : RemoveHBondCommandGUICommand
   
Command : removeHBondGC
   
Synopsis:

        None <- removeHBondGC(atoms, **kw)
   
Required Arguments:

        atoms: atoms to remove hbonds between
    



Instance Methods [hide private]
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  __init__(self, func=None)
  guiCallback(self)
Default callback function called by the gui
  stop(self)
  getObjects(self, pick)
  dismiss(self)
  done_cb(self)
  __call__(self, atoms, **kw)
None <- removeHBondGC(atoms, **kw) atoms: atoms to remove hbonds between
  doit(self, ats)
virtual method.
  setupUndoAfter(self, ats, **kw)
A chance to modify self.undoCmds after the command was carried out

Inherited from mvCommand.MVCommand: strArg

Inherited from mvCommand.MVCommand (private): _strArg

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

Inherited from ViewerFramework.VFCommand.ICOM: initICOM, startICOM, stopICOM


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

onAddCmdToViewer(self)

source code 
method called when an instance of this command is added to the viewer. This enable viewer-addition time initializations
Overrides: ViewerFramework.VFCommand.Command.onAddCmdToViewer
(inherited documentation)

__init__(self, func=None)
(Constructor)

source code 
None
Overrides: mvCommand.MVCommand.__init__

guiCallback(self)

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

stop(self)

source code 
None

getObjects(self, pick)

source code 
None
Overrides: mvCommand.MVBondICOM.getObjects

dismiss(self)

source code 
None

done_cb(self)

source code 
None

__call__(self, atoms, **kw)
(Call operator)

source code 
None <- removeHBondGC(atoms, **kw) atoms: atoms to remove hbonds between
Overrides: ViewerFramework.VFCommand.Command.__call__

doit(self, ats)

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

setupUndoAfter(self, ats, **kw)

source code 
A chance to modify self.undoCmds after the command was carried out
Overrides: ViewerFramework.VFCommand.Command.setupUndoAfter
(inherited documentation)