|
|
@ -189,13 +189,13 @@ public abstract class JTemplate<T extends BaseBook, U extends BaseUndoState<?>> |
|
|
|
designModel = createDesignModel(parameters); |
|
|
|
designModel = createDesignModel(parameters); |
|
|
|
} |
|
|
|
} |
|
|
|
addCenterPane(); |
|
|
|
addCenterPane(); |
|
|
|
this.undoState = createUndoState(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
initAndStartPlugin(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (isNewFile) { |
|
|
|
if (isNewFile) { |
|
|
|
|
|
|
|
// REPORT-58486: 必须在初始的UndoState创建前设置主题,使得初始的UndoState就包含了主题效果
|
|
|
|
setUpTheme4NewTemplate(); |
|
|
|
setUpTheme4NewTemplate(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
this.undoState = createUndoState(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
initAndStartPlugin(); |
|
|
|
startListenThemeConfig(); |
|
|
|
startListenThemeConfig(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|