}
else
{
if (FORMULA_VALUE_ROLE.equals(valueRole) && isFormulaFragment())
{
final GenericExpressionRuntime expressionRuntime = new GenericExpressionRuntime
(new StaticDataRow(), new DefaultTableModel(), -1, new DefaultProcessingContext());
final String formulaText = FormulaUtil.createEditorTextFromFormula
(String.valueOf(value), new ReportFormulaContext(new DefaultFormulaContext(), expressionRuntime));
textField.setText(formulaText);
comboBox.setSelectedItem(formulaText);