Browse Source

Merge pull request #1263 in BA/design from ~PLOUGH/design:release/9.0 to release/9.0

* commit '358cef7cdae3e7d7c2f90a6c2007e24d814a4d03':
  REPORT-4684 进入权限编辑后,对参数面板控件进行编辑,退出权限编辑后,控件属性面板空白
master
superman 7 years ago
parent
commit
23efa423c7
  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