|
|
|
@ -33,33 +33,33 @@ public class TableDataCreatorProducer {
|
|
|
|
|
public TableDataNameObjectCreator[] createReportTableDataCreator() { |
|
|
|
|
TableDataNameObjectCreator dataBase = new TableDataNameObjectCreator(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_DS_Database_Query"), |
|
|
|
|
"ds", |
|
|
|
|
"/com/fr/design/standard/database.svg", DBTableData.class, DBTableDataPane.class); |
|
|
|
|
"/com/fr/design/standard/database_normal.svg", DBTableData.class, DBTableDataPane.class); |
|
|
|
|
TableDataNameObjectCreator ds_Class = new TableDataNameObjectCreator(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Tabledata_Type_Class"), |
|
|
|
|
"Class", |
|
|
|
|
"/com/fr/design/standard/class_table_data.svg", ClassTableData.class, ClassTableDataPane.class); |
|
|
|
|
"/com/fr/design/standard/class_table_data_normal.svg", ClassTableData.class, ClassTableDataPane.class); |
|
|
|
|
TableDataNameObjectCreator table = new TableDataNameObjectCreator(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Tabledata_Type_Embedded"), |
|
|
|
|
"Embedded", |
|
|
|
|
"/com/fr/design/standard/data_table.svg", EmbeddedTableData.class, EmbeddedTableDataPane.class); |
|
|
|
|
"/com/fr/design/standard/data_table_normal.svg", EmbeddedTableData.class, EmbeddedTableDataPane.class); |
|
|
|
|
TableDataNameObjectCreator multiTable = new TableDataNameObjectCreator(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Tabledata_Type_Relation"), |
|
|
|
|
"Multi", |
|
|
|
|
"/com/fr/design/standard/multi.svg", ConditionTableData.class, MultiTDTableDataPane.class) { |
|
|
|
|
"/com/fr/design/standard/multi_normal.svg", ConditionTableData.class, MultiTDTableDataPane.class) { |
|
|
|
|
public boolean isNeedParameterWhenPopulateJControlPane() { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
TableDataNameObjectCreator fileTable = new TableDataNameObjectCreator(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Tabledata_Type_File"), |
|
|
|
|
"File", |
|
|
|
|
"/com/fr/design/standard/file.svg", FileTableData.class, FileTableDataSmallHeightPane.class); |
|
|
|
|
"/com/fr/design/standard/file_normal.svg", FileTableData.class, FileTableDataSmallHeightPane.class); |
|
|
|
|
TableDataNameObjectCreator treeTable = new TableDataNameObjectCreator(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Tabledata_Type_Tree"), |
|
|
|
|
"Tree", |
|
|
|
|
"/com/fr/design/standard/tree.svg", RecursionTableData.class, TreeTableDataPane.class) { |
|
|
|
|
"/com/fr/design/standard/tree_normal.svg", RecursionTableData.class, TreeTableDataPane.class) { |
|
|
|
|
public boolean isNeedParameterWhenPopulateJControlPane() { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
TableDataNameObjectCreator storeProcedure = new TableDataNameObjectCreator(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Datasource_Stored_Procedure"), |
|
|
|
|
"Proc", |
|
|
|
|
"/com/fr/design/standard/store_procedure.svg", |
|
|
|
|
"/com/fr/design/standard/store_procedure_normal.svg", |
|
|
|
|
StoreProcedure.class, ProcedureDataPane.class) { |
|
|
|
|
@Override |
|
|
|
|
public boolean shouldInsertSeparator() { |
|
|
|
@ -72,33 +72,33 @@ public class TableDataCreatorProducer {
|
|
|
|
|
|
|
|
|
|
public TableDataNameObjectCreator[] createServerTableDataCreator() { |
|
|
|
|
TableDataNameObjectCreator dataBase = new TableDataNameObjectCreator(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_DS_Database_Query"), |
|
|
|
|
"/com/fr/design/standard/server_database.svg", DBTableData.class, |
|
|
|
|
"/com/fr/design/standard/server_database_normal.svg", DBTableData.class, |
|
|
|
|
DBTableDataPane.class); |
|
|
|
|
TableDataNameObjectCreator ds_Class = new TableDataNameObjectCreator(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Tabledata_Type_Class"), |
|
|
|
|
"/com/fr/design/standard/class_table_data.svg", ClassTableData.class, |
|
|
|
|
"/com/fr/design/standard/class_table_data_normal.svg", ClassTableData.class, |
|
|
|
|
ClassTableDataPane.class); |
|
|
|
|
TableDataNameObjectCreator table = new TableDataNameObjectCreator(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Tabledata_Type_Embedded"), |
|
|
|
|
"/com/fr/design/standard/data_table.svg", EmbeddedTableData.class, |
|
|
|
|
"/com/fr/design/standard/data_table_normal.svg", EmbeddedTableData.class, |
|
|
|
|
EmbeddedTableDataPane.class); |
|
|
|
|
TableDataNameObjectCreator fileTable = new TableDataNameObjectCreator(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Tabledata_Type_File"), |
|
|
|
|
"/com/fr/design/standard/file.svg", FileTableData.class, |
|
|
|
|
"/com/fr/design/standard/file_normal.svg", FileTableData.class, |
|
|
|
|
FileTableDataSmallPane.class); |
|
|
|
|
TableDataNameObjectCreator treeTable = new TableDataNameObjectCreator(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Tabledata_Type_Tree"), |
|
|
|
|
"/com/fr/design/standard/tree.svg", |
|
|
|
|
"/com/fr/design/standard/tree_normal.svg", |
|
|
|
|
RecursionTableData.class, GlobalTreeTableDataPane.class) { |
|
|
|
|
public boolean isNeedParameterWhenPopulateJControlPane() { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
TableDataNameObjectCreator multiTable = new TableDataNameObjectCreator(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Tabledata_Type_Relation"), |
|
|
|
|
"/com/fr/design/standard/multi.svg", |
|
|
|
|
"/com/fr/design/standard/multi_normal.svg", |
|
|
|
|
ConditionTableData.class, GlobalMultiTDTableDataPane.class) { |
|
|
|
|
public boolean isNeedParameterWhenPopulateJControlPane() { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
TableDataNameObjectCreator storeProcedure = new TableDataNameObjectCreator(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Tabledata_Type_Stored_Procedure"), |
|
|
|
|
"/com/fr/design/standard/store_procedure.svg", |
|
|
|
|
"/com/fr/design/standard/store_procedure_normal.svg", |
|
|
|
|
StoreProcedure.class, ProcedureDataPane.class) { |
|
|
|
|
@Override |
|
|
|
|
public boolean shouldInsertSeparator() { |
|
|
|
|