Browse Source

Revert "无jira任务 代码质量"

This reverts commit fa0a3073db.
fbp-1.0
Destiny.Lin 3 months ago
parent
commit
6bd18381a7
  1. 4
      designer-base/src/main/java/com/fr/design/data/datapane/TableDataCreatorProducer.java
  2. 2
      designer-base/src/main/java/com/fr/design/data/tabledata/wrapper/TableDataFactory.java

4
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

2
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));

Loading…
Cancel
Save