Package schrodinger :: Package application :: Package bioluminate :: Module pml_menus :: Class LabelAtom
[hide private]
[frames] | no frames]

Class LabelAtom

PyQt4.QtGui.QAction --+    
                      |    
                MAction --+
                          |
                         LabelAtom

A QAction that performs labels atoms with the given label

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
Create a MAction object
 
command(self)
Clears all the atom labels and then labels the atoms in self.asl with any label defined by self.label
Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

 

Create a MAction object

See parent class for argument documentation

Parameters:
  • label (str) - the label to use, values should be taken from the Maestro labelatom command documentation
Overrides: MAction.__init__

command(self)

 

Clears all the atom labels and then labels the atoms in self.asl with any label defined by self.label

Overrides: MAction.command