|
|
@ -171,8 +171,10 @@ public class TableDataTreePane extends BasicTableDataTreePane { |
|
|
|
|
|
|
|
|
|
|
|
private void reloadCurrTemplate() { |
|
|
|
private void reloadCurrTemplate() { |
|
|
|
JTemplate<?, ?> jt = HistoryTemplateListCache.getInstance().getCurrentEditingTemplate(); |
|
|
|
JTemplate<?, ?> jt = HistoryTemplateListCache.getInstance().getCurrentEditingTemplate(); |
|
|
|
HistoryTemplateListCache.getInstance().closeSelectedReport(jt); |
|
|
|
if (jt != null && jt.getEditingFILE() != null) { |
|
|
|
DesignerContext.getDesignerFrame().openTemplate(jt.getEditingFILE()); |
|
|
|
HistoryTemplateListCache.getInstance().closeSelectedReport(jt); |
|
|
|
|
|
|
|
DesignerContext.getDesignerFrame().openTemplate(jt.getEditingFILE()); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, new PluginFilter() { |
|
|
|
}, new PluginFilter() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|