diff --git a/designer-base/src/main/java/com/fr/design/data/datapane/TableDataCreatorProducer.java b/designer-base/src/main/java/com/fr/design/data/datapane/TableDataCreatorProducer.java index 0d1d9127a0..d0a8f076de 100644 --- a/designer-base/src/main/java/com/fr/design/data/datapane/TableDataCreatorProducer.java +++ b/designer-base/src/main/java/com/fr/design/data/datapane/TableDataCreatorProducer.java @@ -89,10 +89,10 @@ public class TableDataCreatorProducer { return merge(creators, ExtraDesignClassManager.getInstance().getReportTableDataCreators()); } - private TableDataNameObjectCreator[] createDatacentersTableDataCreator() { + public TableDataNameObjectCreator[] createDatacentersTableDataCreator() { if (!WorkContext.getCurrent().isLocal()) { return new TableDataNameObjectCreator[]{ - new TableDataNameObjectCreator(i18nText("Dec-Authority_Data_Center"), + new TableDataNameObjectCreator(i18nText("数据中心"), "/com/fr/design/standard/server_database_normal.svg", DCTableData.class, DatacentersPane.class) { @Override diff --git a/designer-base/src/main/java/com/fr/design/data/tabledata/wrapper/TableDataFactory.java b/designer-base/src/main/java/com/fr/design/data/tabledata/wrapper/TableDataFactory.java index b43f283b87..752c7fa414 100644 --- a/designer-base/src/main/java/com/fr/design/data/tabledata/wrapper/TableDataFactory.java +++ b/designer-base/src/main/java/com/fr/design/data/tabledata/wrapper/TableDataFactory.java @@ -77,7 +77,7 @@ public abstract class TableDataFactory { //defaultMap.put(MultiFieldTableData.class.getName(), new TableDataNameObjectCreator(null, "/com/fr/design/standard/database_normal.svg", MultiFieldTableData.class, null)); defaultMap.put(DCTableData.class.getName(), new TableDataNameObjectCreator( - i18nText("Dec-Authority_Data_Center"), + i18nText("数据中心"), "/com/fr/design/standard/store_procedure_normal.svg", DCTableData.class, DatacentersPane.class));