|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
package com.fr.design.form.util; |
|
|
|
|
|
|
|
|
|
import com.fr.design.designer.creator.XWFitLayout; |
|
|
|
|
import com.fr.design.file.HistoryTemplateListCache; |
|
|
|
|
import com.fr.design.mainframe.FormDesigner; |
|
|
|
|
import com.fr.design.mainframe.JTemplate; |
|
|
|
@ -17,7 +18,7 @@ public class FormDesignerUtils {
|
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
public static boolean isAppRelayout(FormDesigner designer) { |
|
|
|
|
if (!designer.getRootComponent().acceptType(WFitLayout.class)) { |
|
|
|
|
if (!designer.getRootComponent().acceptType(XWFitLayout.class)) { |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
return ((WFitLayout) designer.getRootComponent().toData()).isAppRelayout(); |
|
|
|
|