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