|
|
@ -13,8 +13,6 @@ import com.fr.design.gui.icombobox.UIComboBox; |
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.mainframe.ElementCasePane; |
|
|
|
import com.fr.design.mainframe.ElementCasePane; |
|
|
|
import com.fr.design.scrollruler.ModLineBorder; |
|
|
|
|
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
|
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
|
|
|
|
|
|
|
@ -39,6 +37,7 @@ import static com.fine.swing.ui.layout.Layouts.row; |
|
|
|
import static com.fine.swing.ui.layout.Layouts.column; |
|
|
|
import static com.fine.swing.ui.layout.Layouts.column; |
|
|
|
import static com.fine.swing.ui.layout.Layouts.cell; |
|
|
|
import static com.fine.swing.ui.layout.Layouts.cell; |
|
|
|
import static com.fine.swing.ui.layout.Layouts.flex; |
|
|
|
import static com.fine.swing.ui.layout.Layouts.flex; |
|
|
|
|
|
|
|
import static com.fr.design.i18n.Toolkit.i18nText; |
|
|
|
|
|
|
|
|
|
|
|
public class SubmitVisitorListPane extends ObjectJControlPane { |
|
|
|
public class SubmitVisitorListPane extends ObjectJControlPane { |
|
|
|
|
|
|
|
|
|
|
@ -53,12 +52,12 @@ public class SubmitVisitorListPane extends ObjectJControlPane { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public NameableCreator[] createNameableCreators() { |
|
|
|
public NameableCreator[] createNameableCreators() { |
|
|
|
return new NameableCreator[]{ |
|
|
|
return new NameableCreator[]{ |
|
|
|
new NameObjectCreator(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Submit_Type_Build_In_Sql"), |
|
|
|
new NameObjectCreator(i18nText("Fine-Design_Report_Submit_Type_Build_In_Sql"), |
|
|
|
new LazyIcon("dataLink"), |
|
|
|
new LazyIcon("dataLink"), |
|
|
|
BuiltInSQLSubmiter.class, |
|
|
|
BuiltInSQLSubmiter.class, |
|
|
|
BuildInSQLPane.class), |
|
|
|
BuildInSQLPane.class), |
|
|
|
new NameObjectCreator( |
|
|
|
new NameObjectCreator( |
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Submit_Type_Custom"), |
|
|
|
i18nText("Fine-Design_Report_Submit_Type_Custom"), |
|
|
|
new LazyIcon("dataLink"), |
|
|
|
new LazyIcon("dataLink"), |
|
|
|
WClassSubmiter.class, |
|
|
|
WClassSubmiter.class, |
|
|
|
CustomPane.class) |
|
|
|
CustomPane.class) |
|
|
@ -195,11 +194,11 @@ public class SubmitVisitorListPane extends ObjectJControlPane { |
|
|
|
|
|
|
|
|
|
|
|
JPanel typePane = new JPanel(new BorderLayout()); |
|
|
|
JPanel typePane = new JPanel(new BorderLayout()); |
|
|
|
typePane.add(row(10, |
|
|
|
typePane.add(row(10, |
|
|
|
cell(new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Write_Choose_Submit_Type"))), |
|
|
|
cell(new UILabel(i18nText("Fine-Design_Report_Write_Choose_Submit_Type"))), |
|
|
|
cell(csjConfigComboBox).weight(0.5), flex()).getComponent()); |
|
|
|
cell(csjConfigComboBox).weight(0.5), flex()).getComponent()); |
|
|
|
|
|
|
|
|
|
|
|
this.add(column( |
|
|
|
this.add(column( |
|
|
|
cell(FineUIUtils.wrapComponentWithTitle(typePane, com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Write_Submit_Type"))), |
|
|
|
cell(FineUIUtils.wrapComponentWithTitle(typePane, i18nText("Fine-Design_Report_Write_Submit_Type"))), |
|
|
|
cell(customCardPane).weight(1.0)).getComponent()); |
|
|
|
cell(customCardPane).weight(1.0)).getComponent()); |
|
|
|
|
|
|
|
|
|
|
|
csjConfigComboBox.addItemListener(new ItemListener() { |
|
|
|
csjConfigComboBox.addItemListener(new ItemListener() { |
|
|
|