|
|
|
@ -16,9 +16,9 @@ import com.fr.design.data.tabledata.wrapper.AbstractTableDataWrapper;
|
|
|
|
|
import com.fr.design.dialog.BasicDialog; |
|
|
|
|
import com.fr.design.dialog.BasicPane; |
|
|
|
|
import com.fr.design.dialog.DialogActionAdapter; |
|
|
|
|
import com.fr.design.dialog.FineJOptionPane; |
|
|
|
|
import com.fr.design.file.HistoryTemplateListCache; |
|
|
|
|
import com.fr.design.fun.TableDataDefineProvider; |
|
|
|
|
import com.fr.design.dialog.FineJOptionPane; |
|
|
|
|
import com.fr.design.fun.TableDataPaneProcessor; |
|
|
|
|
import com.fr.design.gui.ibutton.UIHeadGroup; |
|
|
|
|
import com.fr.design.gui.icontainer.UIScrollPane; |
|
|
|
@ -172,8 +172,7 @@ public class TableDataTreePane extends BasicTableDataTreePane {
|
|
|
|
|
private void reloadCurrTemplate() { |
|
|
|
|
JTemplate<?, ?> jt = HistoryTemplateListCache.getInstance().getCurrentEditingTemplate(); |
|
|
|
|
if (accept(jt)) { |
|
|
|
|
HistoryTemplateListCache.getInstance().closeSelectedReport(jt); |
|
|
|
|
DesignerContext.getDesignerFrame().openTemplate(jt.getEditingFILE()); |
|
|
|
|
jt.refreshResource(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|