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