|
|
@ -25,6 +25,7 @@ import com.fr.stable.Nameable; |
|
|
|
import com.fr.write.BuiltInSQLSubmiterProvider; |
|
|
|
import com.fr.write.BuiltInSQLSubmiterProvider; |
|
|
|
import com.fr.write.DBManipulation; |
|
|
|
import com.fr.write.DBManipulation; |
|
|
|
import com.fr.write.WClassSubmiterProvider; |
|
|
|
import com.fr.write.WClassSubmiterProvider; |
|
|
|
|
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
import javax.swing.*; |
|
|
|
import java.awt.*; |
|
|
|
import java.awt.*; |
|
|
@ -37,7 +38,6 @@ 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 { |
|
|
|
|
|
|
|
|
|
|
@ -52,12 +52,12 @@ public class SubmitVisitorListPane extends ObjectJControlPane { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public NameableCreator[] createNameableCreators() { |
|
|
|
public NameableCreator[] createNameableCreators() { |
|
|
|
return new NameableCreator[]{ |
|
|
|
return new NameableCreator[]{ |
|
|
|
new NameObjectCreator(i18nText("Fine-Design_Report_Submit_Type_Build_In_Sql"), |
|
|
|
new NameObjectCreator(Toolkit.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( |
|
|
|
i18nText("Fine-Design_Report_Submit_Type_Custom"), |
|
|
|
Toolkit.i18nText("Fine-Design_Report_Submit_Type_Custom"), |
|
|
|
new LazyIcon("dataLink"), |
|
|
|
new LazyIcon("dataLink"), |
|
|
|
WClassSubmiter.class, |
|
|
|
WClassSubmiter.class, |
|
|
|
CustomPane.class) |
|
|
|
CustomPane.class) |
|
|
@ -194,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(i18nText("Fine-Design_Report_Write_Choose_Submit_Type"))), |
|
|
|
cell(new UILabel(Toolkit.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, i18nText("Fine-Design_Report_Write_Submit_Type"))), |
|
|
|
cell(FineUIUtils.wrapComponentWithTitle(typePane, Toolkit.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() { |
|
|
|