|
|
|
@ -74,9 +74,10 @@ public class OpenFailedPane extends JPanel {
|
|
|
|
|
if (e.getEventType().equals(HyperlinkEvent.EventType.ACTIVATED)) { |
|
|
|
|
// 重试
|
|
|
|
|
JTemplate<?, ?> template = HistoryTemplateListCache.getInstance().getCurrentEditingTemplate(); |
|
|
|
|
template.whenClose(); |
|
|
|
|
template = JTemplateFactory.createJTemplate(template.getEditingFILE()); |
|
|
|
|
HistoryTemplateListCache.getInstance().replaceCurrentEditingTemplate(template); |
|
|
|
|
DesignerContext.getDesignerFrame().addAndActivateJTemplate(template); |
|
|
|
|
HistoryTemplateListCache.getInstance(). setCurrentEditingTemplate(template); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|