[Erp5-report] r36779 kazuhiko - /erp5/trunk/products/ERP5/Document/SolverDecision.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jul 1 14:53:43 CEST 2010
Author: kazuhiko
Date: Thu Jul 1 14:53:43 2010
New Revision: 36779
URL: http://svn.erp5.org?rev=36779&view=rev
Log:
implement getDefaultConfigurationPropertyListDict().
Modified:
erp5/trunk/products/ERP5/Document/SolverDecision.py
Modified: erp5/trunk/products/ERP5/Document/SolverDecision.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/SolverDecision.py?rev=36779&r1=36778&r2=36779&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/SolverDecision.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/SolverDecision.py [utf8] Thu Jul 1 14:53:43 2010
@@ -100,6 +100,18 @@ class SolverDecision(ConfigurableMixin,
else:
return solver_type.getDefaultConfigurationPropertyDict(self)
+ def getDefaultConfigurationPropertyListDict(self):
+ """
+ Returns a dictionary of possible values for specified
+ configurable object
+ (implementation)
+ """
+ solver_type = self.getSolverValue()
+ if solver_type is None:
+ return {}
+ else:
+ return solver_type.getDefaultConfigurationPropertyListDict(self)
+
def getExplanationMessage(self, all=False):
"""
Returns the HTML message that describes the detail of divergences to
More information about the Erp5-report
mailing list