|
|
|
@ -1,7 +1,6 @@
|
|
|
|
|
package com.fr.design.formula; |
|
|
|
|
|
|
|
|
|
import com.fr.base.BaseFormula; |
|
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @author Carlson |
|
|
|
@ -13,10 +12,6 @@ public class DefaultTinyFormulaPane extends TinyFormulaPane{
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
protected void populateTextField(BaseFormula fm) { |
|
|
|
|
if (fm.getContent().length() <= 1) { |
|
|
|
|
formulaTextField.setText(StringUtils.EMPTY); |
|
|
|
|
} else { |
|
|
|
|
formulaTextField.setText(fm.getContent()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|