Package Pmv :: Module repairCommands :: Class EditHistHydrogensGUICommand
[hide private]
[frames] | no frames]

Class EditHistHydrogensGUICommand

source code

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

Allows user to call editHistHydrogens on each histidine residue in selection.
   
Package : Pmv
   
Module  : repairCommands
   
Class   : EditHistHydrogensGUICommand
   
Command : editHist_hGC
   
Synopsis:

        newHydrogens <--- editHist_hGC(nodes, resSet, **kw)
   
Required Arguments:
    
        nodes --- TreeNodeSet holding the current selection
        
resSet --- residueSet 
    



Instance Methods [hide private]
  __init__(self, func=None)
  guiCallback(self)
Default callback function called by the gui
  __call__(self, nodes, resSet, **kw)
newHydrogens <--- editHist_hGC(nodes, resSet, **kw)
  doit(self, resSet)
virtual method.
  highLight(self, name, event=None)
  apply_cb(self, event=None)
  dismiss_cb(self, event=None)

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, 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]

__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

__call__(self, nodes, resSet, **kw)
(Call operator)

source code 

newHydrogens <--- editHist_hGC(nodes, resSet, **kw)

nodes --- TreeNodeSet holding the current selection

resSet --- residueSet
Overrides: ViewerFramework.VFCommand.Command.__call__

doit(self, resSet)

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

highLight(self, name, event=None)

source code 
None

apply_cb(self, event=None)

source code 
None

dismiss_cb(self, event=None)

source code 
None