|
|
|
@ -30,7 +30,7 @@ public class DesktopCardPane extends BasicPane implements TargetModifiedListener
|
|
|
|
|
// 判断是否切换设计器状态到禁止拷贝剪切
|
|
|
|
|
if (jt.getTarget().getAttrMark(DesignBanCopyAttrMark.XML_TAG) != null) { |
|
|
|
|
DesignModeContext.switchTo(DesignerMode.BAN_COPY_AND_CUT); |
|
|
|
|
} else { |
|
|
|
|
} else if (!DesignModeContext.isVcsMode()){ |
|
|
|
|
DesignModeContext.switchTo(DesignerMode.NORMAL); |
|
|
|
|
} |
|
|
|
|
DesignerFrameFileDealerPane.getInstance().setCurrentEditingTemplate(jt); |
|
|
|
|