|
|
|
@ -34,6 +34,7 @@ import com.fr.design.gui.itextarea.UITextArea;
|
|
|
|
|
import com.fr.design.gui.itextfield.UITextField; |
|
|
|
|
import com.fr.design.gui.syntax.ui.rsyntaxtextarea.RSyntaxTextArea; |
|
|
|
|
import com.fr.design.gui.syntax.ui.rsyntaxtextarea.SyntaxConstants; |
|
|
|
|
import com.fr.design.i18n.DesignSizeI18nManager; |
|
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
@ -742,7 +743,8 @@ public class FormulaPane extends BasicPane implements KeyListener, UIFormula {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public BasicDialog showLargeWindow(Window window, DialogActionListener l) { |
|
|
|
|
BasicDialog basicDialog = super.showWindowWithCustomSize(window, l, new Dimension(900, 600)); |
|
|
|
|
Dimension dimension = DesignSizeI18nManager.getInstance().i18nDimension(this.getClass().getName()); |
|
|
|
|
BasicDialog basicDialog = super.showWindowWithCustomSize(window, l, dimension); |
|
|
|
|
basicDialog.setMinimumSize(new Dimension(900, 600)); |
|
|
|
|
basicDialog.setResizable(true); |
|
|
|
|
return basicDialog; |
|
|
|
@ -1196,7 +1198,7 @@ public class FormulaPane extends BasicPane implements KeyListener, UIFormula {
|
|
|
|
|
|
|
|
|
|
private void initDescriptionTextArea() { |
|
|
|
|
// Description
|
|
|
|
|
descriptionTextArea = new UITextArea(DESCRIPTION_TEXT_AREA_ROW,DESCRIPTION_TEXT_AREA_COLUMN); |
|
|
|
|
descriptionTextArea = new UITextArea(DESCRIPTION_TEXT_AREA_ROW, DESCRIPTION_TEXT_AREA_COLUMN); |
|
|
|
|
descriptionTextArea.setBackground(Color.white); |
|
|
|
|
descriptionTextArea.setLineWrap(true); |
|
|
|
|
descriptionTextArea.setWrapStyleWord(true); |
|
|
|
@ -1282,7 +1284,7 @@ public class FormulaPane extends BasicPane implements KeyListener, UIFormula {
|
|
|
|
|
desScrollPane.setBorder(null); |
|
|
|
|
panel.add(this.createNamePane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_FormulaPane_Formula_Description") + ":", desScrollPane), BorderLayout.CENTER); |
|
|
|
|
initVariablesTreeSelectionListener(); |
|
|
|
|
this.add(panel,BorderLayout.CENTER); |
|
|
|
|
this.add(panel, BorderLayout.CENTER); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void initComponents() { |
|
|
|
|