From 6bd18381a75466212a4d845e5db9b640d6660d45 Mon Sep 17 00:00:00 2001 From: "Destiny.Lin" Date: Thu, 15 Aug 2024 17:56:20 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=97=A0jira=E4=BB=BB=E5=8A=A1=20?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B4=A8=E9=87=8F"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fa0a3073db92937b2acea16aba58c40d79931bed. --- .../com/fr/design/data/datapane/TableDataCreatorProducer.java | 4 ++-- .../fr/design/data/tabledata/wrapper/TableDataFactory.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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));