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

Class ShowHBDonorsAcceptors

source code

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

This class allows user to show AtomSets of HydrogenBond donors and acceptors.
   
Package : Pmv
   
Module  : hbondCommands
   
Class   : ShowHBDonorsAcceptors
   
Command : showHBDA
   
Synopsis:

        None <- showHBDA(dnodes, anodes, donorList, acceptorList, **kw)
    



Instance Methods [hide private]
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  __call__(self, dnodes, anodes, donorList=allDonors, acceptorList=allAcceptors, **kw)
None <- showHBDA(dnodes, anodes, donorList, acceptorList, **kw)
  doit(self, donats, acats, donorList, acceptorList)
virtual method.
  showGeom(self, geom, var, event=None)
  select_cb(self, dAts2, dAts3, acAts2, acAts3)
  cancel_cb(self, event=None)
  buildForm(self)
  guiCallback(self)
Default callback function called by the gui
  Close_cb(self, event=None)
  Accept_cb(self, event=None)
  hideDSelector(self, event=None)
  hideDTypes(self, event=None)
  hideASelector(self, event=None)
  hideATypes(self, event=None)

Inherited from mvCommand.MVCommand: __init__, 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, setupUndoAfter, setupUndoBefore, showForm, tkCb, updateGeom, warningMsg


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)

__call__(self, dnodes, anodes, donorList=allDonors, acceptorList=allAcceptors, **kw)
(Call operator)

source code 
None <- showHBDA(dnodes, anodes, donorList, acceptorList, **kw)
Overrides: ViewerFramework.VFCommand.Command.__call__

doit(self, donats, acats, donorList, acceptorList)

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

showGeom(self, geom, var, event=None)

source code 
None

select_cb(self, dAts2, dAts3, acAts2, acAts3)

source code 
None

cancel_cb(self, event=None)

source code 
None

buildForm(self)

source code 
None

guiCallback(self)

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

Close_cb(self, event=None)

source code 
None

Accept_cb(self, event=None)

source code 
None

hideDSelector(self, event=None)

source code 
None

hideDTypes(self, event=None)

source code 
None

hideASelector(self, event=None)

source code 
None

hideATypes(self, event=None)

source code 
None