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 d0a8f076de..0d1d9127a0 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()); } - public TableDataNameObjectCreator[] createDatacentersTableDataCreator() { + private TableDataNameObjectCreator[] createDatacentersTableDataCreator() { if (!WorkContext.getCurrent().isLocal()) { return new TableDataNameObjectCreator[]{ - new TableDataNameObjectCreator(i18nText("数据中心"), + new TableDataNameObjectCreator(i18nText("Dec-Authority_Data_Center"), "/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 752c7fa414..b43f283b87 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("数据中心"), + i18nText("Dec-Authority_Data_Center"), "/com/fr/design/standard/store_procedure_normal.svg", DCTableData.class, DatacentersPane.class));