|
|
@ -173,13 +173,6 @@ public class AdaptiveSwitchUtil { |
|
|
|
TemplateTool.saveForm(old); |
|
|
|
TemplateTool.saveForm(old); |
|
|
|
} |
|
|
|
} |
|
|
|
if (old.getTarget() instanceof Form) { |
|
|
|
if (old.getTarget() instanceof Form) { |
|
|
|
Form form = (Form) old.getTarget(); |
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
NewFormMarkAttr newFormMarkAttr = form.getAttrMark(NewFormMarkAttr.XML_TAG); |
|
|
|
|
|
|
|
}catch (Exception e){ |
|
|
|
|
|
|
|
//插件启用的时候走到这里
|
|
|
|
|
|
|
|
return JTemplateFactory.createJTemplate(old.getEditingFILE()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
return new NewJForm((Form) (old.getTarget()).clone(), old.getEditingFILE()); |
|
|
|
return new NewJForm((Form) (old.getTarget()).clone(), old.getEditingFILE()); |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|