Home | Trees | Indices | Help |
|
---|
|
ViewerFramework.VFCommand.Command --+ | mvCommand.MVCommand --+ | DeleteMolecule
Command to delete a molecule from the MoleculeViewer Package : Pmv Module : deleteCommands Class : DeleteMolecule Command : deleteMolecule Synopsis: None<---deleteMol(nodes, **kw) Required Arguments: nodes --- TreeNodeSet holding the current selection It resets the undo stack automatically.
|
|||
|
onAddCmdToViewer(self) method called when an instance of this command is added to the viewer. |
||
| onAddObjectToViewer(self, obj) | ||
|
deleteMolecule_cb(self) called each time the 'Delete Molecule' button is pressed |
||
| hide_cb(self) | ||
| continue_cb(self) | ||
| cancel_cb(self) | ||
|
guiCallback(self) Default callback function called by the gui |
||
|
deleteMol(self,
mol) Function to delete all the references to each elements of a molecule and then these elements and the molecule to free the memory space. |
||
|
getFreeMemoryInformation(self) Store how many TreeNodes have been actually free'ed during the last delete operation in a dictionary |
||
|
doit(self,
nodes) virtual method. |
||
|
__call__(self,
nodes,
**kw) None <- deleteMol(nodes, **kw) |
||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|
|
|
|
|
|
|
|
|
|
None <- deleteMol(nodes, **kw) nodes: TreeNodeSet holding the current selection. It resets the undo stack automatically.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Nov 2 14:14:30 2007 | http://epydoc.sourceforge.net |