|
|
|
@ -818,7 +818,7 @@ public abstract class JTemplate<T extends BaseBook, U extends BaseUndoState<?>>
|
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
try { |
|
|
|
|
this.getTarget().export(TemplateResourceManager.getResource().saveTemplate(editingFILE)); |
|
|
|
|
export(); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|
|
JOptionPane.showMessageDialog(DesignerContext.getDesignerFrame(), e.getMessage(), "Save Error", JOptionPane.ERROR_MESSAGE); |
|
|
|
@ -832,6 +832,10 @@ public abstract class JTemplate<T extends BaseBook, U extends BaseUndoState<?>>
|
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected boolean export() throws Exception { |
|
|
|
|
return this.getTarget().export(TemplateResourceManager.getResource().saveTemplate(editingFILE)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// /////////////////////////////toolbarMenuDock//////////////////////////////////
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|