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