|
|
@ -30,7 +30,6 @@ import com.fr.design.mainframe.alphafine.component.AlphaFinePane; |
|
|
|
import com.fr.design.mainframe.bbs.UserInfoLabel; |
|
|
|
import com.fr.design.mainframe.bbs.UserInfoLabel; |
|
|
|
import com.fr.design.mainframe.bbs.UserInfoPane; |
|
|
|
import com.fr.design.mainframe.bbs.UserInfoPane; |
|
|
|
import com.fr.design.mainframe.toolbar.ToolBarMenuDockPlus; |
|
|
|
import com.fr.design.mainframe.toolbar.ToolBarMenuDockPlus; |
|
|
|
import com.fr.design.mainframe.vcs.common.VcsHelper; |
|
|
|
|
|
|
|
import com.fr.design.menu.KeySetUtils; |
|
|
|
import com.fr.design.menu.KeySetUtils; |
|
|
|
import com.fr.design.menu.MenuDef; |
|
|
|
import com.fr.design.menu.MenuDef; |
|
|
|
import com.fr.design.menu.SeparatorDef; |
|
|
|
import com.fr.design.menu.SeparatorDef; |
|
|
@ -221,9 +220,6 @@ public class Designer extends BaseDesigner { |
|
|
|
jt.stopEditing(); |
|
|
|
jt.stopEditing(); |
|
|
|
jt.saveTemplate(); |
|
|
|
jt.saveTemplate(); |
|
|
|
jt.requestFocus(); |
|
|
|
jt.requestFocus(); |
|
|
|
if (DesignerEnvManager.getEnvManager().getVcsConfigManager().isVcsEnable()) { |
|
|
|
|
|
|
|
VcsHelper.dealWithVcs(jt); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
return saveButton; |
|
|
|
return saveButton; |
|
|
@ -281,9 +277,6 @@ public class Designer extends BaseDesigner { |
|
|
|
if (jt == null) { |
|
|
|
if (jt == null) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
if (DesignerEnvManager.getEnvManager().getVcsConfigManager().isVcsEnable() && saveButton.isEnabled()) { |
|
|
|
|
|
|
|
VcsHelper.dealWithVcs(jt); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
WebPreviewUtils.preview(jt); |
|
|
|
WebPreviewUtils.preview(jt); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|