@ -1,5 +1,6 @@
package com.fr.quickeditor ;
package com.fr.quickeditor ;
import com.fr.base.GraphHelper ;
import com.fr.design.actions.UpdateAction ;
import com.fr.design.actions.UpdateAction ;
import com.fr.design.actions.core.ActionFactory ;
import com.fr.design.actions.core.ActionFactory ;
import com.fr.design.file.HistoryTemplateListPane ;
import com.fr.design.file.HistoryTemplateListPane ;
@ -49,7 +50,6 @@ public abstract class CellQuickEditor extends QuickEditor<ElementCasePane> {
protected static final Dimension LABEL_DIMENSION = new Dimension ( 60 , 20 ) ;
protected static final Dimension LABEL_DIMENSION = new Dimension ( 60 , 20 ) ;
protected static final int VGAP = 10 , HGAP = 8 , VGAP_INNER = 3 ;
protected static final int VGAP = 10 , HGAP = 8 , VGAP_INNER = 3 ;
private static final int INSERT_CONTENT_LABEL_WIDTH = 60 ;
/ * *
/ * *
* 滚动条相关配置
* 滚动条相关配置
@ -208,7 +208,7 @@ public abstract class CellQuickEditor extends QuickEditor<ElementCasePane> {
private JPanel initTopContent ( ) {
private JPanel initTopContent ( ) {
double p = TableLayout . PREFERRED ;
double p = TableLayout . PREFERRED ;
double f = TableLayout . FILL ;
double f = TableLayout . FILL ;
double [ ] columnSize = { INSERT_CONTENT_LABEL_WIDTH , f } ;
double [ ] columnSize = { GraphHelper . getWidth ( com . fr . design . i18n . Toolkit . i18nText ( "Fine-Design_Report_Insert_Cell_Element" ) ) , f } ;
double [ ] rowSize = { p , p } ;
double [ ] rowSize = { p , p } ;
UILabel cellLabel = new UILabel ( com . fr . design . i18n . Toolkit . i18nText ( "Fine-Design_Basic_Cell" ) ) ;
UILabel cellLabel = new UILabel ( com . fr . design . i18n . Toolkit . i18nText ( "Fine-Design_Basic_Cell" ) ) ;
UILabel insertContentLabel = FRWidgetFactory . createLineWrapLabel ( com . fr . design . i18n . Toolkit . i18nText ( "Fine-Design_Report_Insert_Cell_Element" ) ) ;
UILabel insertContentLabel = FRWidgetFactory . createLineWrapLabel ( com . fr . design . i18n . Toolkit . i18nText ( "Fine-Design_Report_Insert_Cell_Element" ) ) ;