|
|
|
@ -406,8 +406,11 @@ public abstract class JTemplate<T extends BaseBook, U extends BaseUndoState<?>>
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void setTargetByFile(FILE file) { |
|
|
|
|
this.template = JTemplateFactory.asIOFile(file, this.suffix()); |
|
|
|
|
setTarget(this.template); |
|
|
|
|
T newTemplate = JTemplateFactory.asIOFile(file, this.suffix()); |
|
|
|
|
if (newTemplate != null) { |
|
|
|
|
this.template = newTemplate; |
|
|
|
|
setTarget(this.template); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void addCenterPane() { |
|
|
|
|