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

Class ProvidesStructuresMixin

PyQt4.QtGui.QWidget --+
                      |
                     ProvidesStructuresMixin

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]
str or NoneType
getStructureTitleForJobname(self)
Get the structure title to be used in the job name.
Class Variables [hide private]
  MULTIPLE_STRUC_JOB_TITLE = "batch"
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