Package schrodinger :: Package application :: Package jaguar :: Package gui :: Package tabs :: Module base_tab :: Class ProvidesStructuresMixin
[hide private]
[frames] | no frames]

Class ProvidesStructuresMixin

object --+
         |
        ProvidesStructuresMixin
Known Subclasses:

A mixin for tabs that allow the user to select structures. This mixin is used to find tabs (via basePanel.getTab()) that can provide structure information.

Nested Classes [hide private]
  __metaclass__
A metaclass for the ProvidesStructuresMixin class.
Instance Methods [hide private]
 
structureChanged(...)
str or NoneType
getStructureTitleForJobname(self)
Get the structure title to be used in the job name.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  MULTIPLE_STRUC_JOB_TITLE = 'batch'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

getStructureTitleForJobname(self)

 

Get the structure title to be used in the job name. If the tab includes multiple structures, then MULTIPLE_STRUC_JOB_TITLE should be returned. If no structures have been specified yet, then None should be returned.

Returns: str or NoneType
The structure title