|
|
|
@ -98,23 +98,29 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
|
|
|
|
|
private PropertyItem selectedItem; // 当前被选中的属性配置项
|
|
|
|
|
|
|
|
|
|
public enum PropertyMode { |
|
|
|
|
REPORT("report"), // 报表
|
|
|
|
|
REPORT_PARA("reportPara"), // 报表参数面板
|
|
|
|
|
REPORT_FLOAT("reportFloat"), // 报表悬浮元素
|
|
|
|
|
FORM("form"), // 表单
|
|
|
|
|
FORM_REPORT("formReport"), // 表单报表块
|
|
|
|
|
POLY("poly"), // 聚合报表
|
|
|
|
|
POLY_REPORT("polyReport"), // 聚合报表-报表块
|
|
|
|
|
POLY_CHART("polyChart"), // 聚合报表-图表块
|
|
|
|
|
AUTHORITY_EDITION("authorityEdition"), // 权限编辑
|
|
|
|
|
AUTHORITY_EDITION_DISABLED ("authorityEditionDisabled"); // 权限编辑
|
|
|
|
|
REPORT, // 报表
|
|
|
|
|
REPORT_PARA, // 报表参数面板
|
|
|
|
|
REPORT_FLOAT, // 报表悬浮元素
|
|
|
|
|
FORM(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Component_Settings")), // 表单
|
|
|
|
|
FORM_REPORT, // 表单报表块
|
|
|
|
|
POLY, // 聚合报表
|
|
|
|
|
POLY_REPORT, // 聚合报表-报表块
|
|
|
|
|
POLY_CHART, // 聚合报表-图表块
|
|
|
|
|
AUTHORITY_EDITION, // 权限编辑
|
|
|
|
|
AUTHORITY_EDITION_DISABLED; // 权限编辑
|
|
|
|
|
|
|
|
|
|
private String value; |
|
|
|
|
PropertyMode(String value) { |
|
|
|
|
this.value = value; |
|
|
|
|
private String title; |
|
|
|
|
|
|
|
|
|
PropertyMode() { |
|
|
|
|
this.title = com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Settings"); |
|
|
|
|
} |
|
|
|
|
public String getValue() { |
|
|
|
|
return this.value; |
|
|
|
|
|
|
|
|
|
PropertyMode(String title) { |
|
|
|
|
this.title = title; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public String getTitle() { |
|
|
|
|
return this.title; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -748,11 +754,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
|
|
|
|
|
public void updateTitle() { |
|
|
|
|
try { |
|
|
|
|
if (StringUtils.equals(KEY_WIDGET_SETTINGS, name)) { |
|
|
|
|
if (currentMode == PropertyMode.FORM) { |
|
|
|
|
title = com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Component_Settings"); |
|
|
|
|
} else { |
|
|
|
|
title = com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Settings"); |
|
|
|
|
} |
|
|
|
|
title = currentMode.getTitle(); |
|
|
|
|
button.setToolTipText(title); |
|
|
|
|
UILabel uiLabel = (UILabel) ((BorderLayout) popupToolPane.contentPane.getLayout()).getLayoutComponent(BorderLayout.WEST); |
|
|
|
|
uiLabel.setText(title); |
|
|
|
|