|
|
|
@ -760,13 +760,14 @@ public class JWorkBook extends JTemplate<WorkBook, WorkBookUndoState> {
|
|
|
|
|
if (hasParameterPane()) { |
|
|
|
|
parameterPane.populate(u.getApplyTarget()); |
|
|
|
|
setAutoHeightForCenterPane(); |
|
|
|
|
reportComposite.setSelectedIndex(u.getSelectedReportIndex()); |
|
|
|
|
DesignModuleFactory.getFormHierarchyPane().refreshRoot(); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
reportComposite.setSelectedIndex(u.getSelectedReportIndex()); |
|
|
|
|
u.getSelectedEditingState().revert(); |
|
|
|
|
TableDataTreePane.getInstance(DesignModelAdapter.getCurrentModelAdapter()).refreshDockingView(); |
|
|
|
|
} |
|
|
|
|
reportComposite.setSelectedIndex(u.getSelectedReportIndex()); |
|
|
|
|
this.undoState = u; |
|
|
|
|
} else { |
|
|
|
|
//参数面板
|
|
|
|
|