|
|
@ -4,6 +4,7 @@ package com.fr.design.file; |
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
import com.fr.base.GraphHelper; |
|
|
|
import com.fr.base.GraphHelper; |
|
|
|
import com.fr.base.vcs.DesignerMode; |
|
|
|
import com.fr.base.vcs.DesignerMode; |
|
|
|
|
|
|
|
import com.fr.design.base.mode.DesignModeContext; |
|
|
|
import com.fr.design.constants.UIConstants; |
|
|
|
import com.fr.design.constants.UIConstants; |
|
|
|
import com.fr.design.dialog.FineJOptionPane; |
|
|
|
import com.fr.design.dialog.FineJOptionPane; |
|
|
|
import com.fr.design.gui.imenu.UIMenuItem; |
|
|
|
import com.fr.design.gui.imenu.UIMenuItem; |
|
|
@ -753,7 +754,7 @@ public class MutilTempalteTabPane extends JComponent { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 关闭掉一个模板之后激活新的待显示模板 |
|
|
|
* 关闭掉一个模板之后激活新的待显示模板 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private void activePrevTemplateAfterClose() { |
|
|
|
public void activePrevTemplateAfterClose() { |
|
|
|
if (openedTemplate.isEmpty()) { |
|
|
|
if (openedTemplate.isEmpty()) { |
|
|
|
//新建并激活模板
|
|
|
|
//新建并激活模板
|
|
|
|
DesignerContext.getDesignerFrame().addAndActivateJTemplate(); |
|
|
|
DesignerContext.getDesignerFrame().addAndActivateJTemplate(); |
|
|
|