@ -263,6 +263,7 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript
this . setBorder ( UITitledBorder . createBorderWithTitle ( Toolkit . i18nText ( "Fine-Design_Basic_Export_JS_Template_Other" ) ) ) ;
this . setBorder ( UITitledBorder . createBorderWithTitle ( Toolkit . i18nText ( "Fine-Design_Basic_Export_JS_Template_Other" ) ) ) ;
editorPane = new UITableEditorPane < > ( new ExportJSTableModel ( ) ) ;
editorPane = new UITableEditorPane < > ( new ExportJSTableModel ( ) ) ;
editorPane . setHeaderResizing ( false ) ;
this . add ( editorPane , BorderLayout . CENTER ) ;
this . add ( editorPane , BorderLayout . CENTER ) ;
}
}
@ -488,7 +489,7 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript
@Override
@Override
public Component getTableCellEditorComponent ( JTable table , Object value , boolean isSelected , int row , int column ) {
public Component getTableCellEditorComponent ( JTable table , Object value , boolean isSelected , int row , int column ) {
exportTypeComboBox . setSelectedItem ( value ) ;
exportTypeComboBox . setSelectedItem ( getList ( ) . get ( row ) . getExportType ( ) ) ;
return exportTypeComboBox ;
return exportTypeComboBox ;
}
}
@ -544,7 +545,7 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript
@Override
@Override
public Component getTableCellEditorComponent ( JTable table , Object value , boolean isSelected , int row , int column ) {
public Component getTableCellEditorComponent ( JTable table , Object value , boolean isSelected , int row , int column ) {
fileNameComboBox . setSelectedItem ( value ) ;
fileNameComboBox . setSelectedItem ( getList ( ) . get ( row ) . isDefaultFileName ( ) ? DEFAULT : CUSTOM ) ;
return fileNameComboBox ;
return fileNameComboBox ;
}
}
@ -643,7 +644,7 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript
@Override
@Override
public Component getTableCellEditorComponent ( JTable table , Object value , boolean isSelected , int row , int column ) {
public Component getTableCellEditorComponent ( JTable table , Object value , boolean isSelected , int row , int column ) {
parameterSetting . setSelectedItem ( value ) ;
parameterSetting . setSelectedItem ( getList ( ) . get ( row ) . isExtendParameters ( ) ? DEFAULT : CUSTOM ) ;
return parameterSetting ;
return parameterSetting ;
}
}