Browse Source

REPORT-4684 进入权限编辑后,对参数面板控件进行编辑,退出权限编辑后,控件属性面板空白

master
plough 7 years ago
parent
commit
358cef7cda
  1. 7
      designer/src/com/fr/design/mainframe/JWorkBook.java

7
designer/src/com/fr/design/mainframe/JWorkBook.java

@ -113,12 +113,15 @@ public class JWorkBook extends JTemplate<WorkBook, WorkBookUndoState> {
public void refreshEastPropertiesPane() {
if (isEditingPolySheet()) {
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.POLY);
} else {
if (isUpMode()) {
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.REPORT_PARA);
} else {
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.REPORT);
EastRegionContainerPane.getInstance().replaceCellElementPane(getEastUpPane());
EastRegionContainerPane.getInstance().replaceCellAttrPane(getEastDownPane());
}
}
refreshToolArea();
}
private boolean isEditingPolySheet() {
return template.getReport(getEditingReportIndex()) instanceof PolyWorkSheet;

Loading…
Cancel
Save