|
|
|
@ -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; |
|
|
|
|