Package schrodinger :: Package application :: Package desmond :: Module gui :: Class RestraintsTab
[hide private]
[frames] | no frames]

Class RestraintsTab

object --+    
         |    
  _MdcBase --+
             |
            RestraintsTab

Frame for the Restraints tab of the Advanced Options dialog

Instance Methods [hide private]
 
__init__(self, master, key, ui)
x.__init__(...) initializes x; see help(type(x)) for signature
 
updatePosresButtons(self, ignored1=None, ignored2=None)
 
selectPosResAsl(self)
 
addPosResRow(self)
 
deletePosResRow(self)
 
resetPosResTable(self)
 
getRestrGroup(self)
 
checkValidity(self)
Checks if all widgets have valid values.
 
resetFromModel(self, model)
Update the Restraints tab UI based on the given model CTs.
 
updateModel(self, model)
Updates the given model to the data from the UI
 
updateKey(self, key)
 
updateFromKey(self, key)
Update the options in the restraints tab to the model.
 
reset(self)
Called when the panel is reset.

Inherited from _MdcBase: add, hasWidget, refresh, remove

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, master, key, ui)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

checkValidity(self)

 

Checks if all widgets have valid values. If a widget with invalid value was encountered, then returns string that describes the problem. Returns None if there are no issues.

Overrides: _MdcBase.checkValidity

updateKey(self, key)

 
Overrides: _MdcBase.updateKey

updateFromKey(self, key)

 

Update the options in the restraints tab to the model.

Overrides: _MdcBase.updateFromKey