@ -24,6 +24,7 @@ import com.fr.design.mainframe.DesignerContext;
import com.fr.design.mainframe.EastRegionContainerPane ;
import com.fr.design.mainframe.EastRegionContainerPane ;
import com.fr.design.mainframe.FormDesigner ;
import com.fr.design.mainframe.FormDesigner ;
import com.fr.design.mainframe.JForm ;
import com.fr.design.mainframe.JForm ;
import com.fr.design.mainframe.JTemplate ;
import com.fr.design.widget.DataModify ;
import com.fr.design.widget.DataModify ;
import com.fr.design.widget.FormWidgetDefinePaneFactoryBase ;
import com.fr.design.widget.FormWidgetDefinePaneFactoryBase ;
import com.fr.design.widget.Operator ;
import com.fr.design.widget.Operator ;
@ -164,7 +165,8 @@ public class FormWidgetCardPane extends AbstractAttrNoScrollPane {
}
}
private static void freshPropertyMode ( XCreator xCreator ) {
private static void freshPropertyMode ( XCreator xCreator ) {
if ( ! ( HistoryTemplateListCache . getInstance ( ) . getCurrentEditingTemplate ( ) instanceof JForm ) ) {
JTemplate jTemplate = HistoryTemplateListCache . getInstance ( ) . getCurrentEditingTemplate ( ) ;
if ( ! ( jTemplate instanceof JForm ) & & jTemplate . isUpMode ( ) ) {
if ( xCreator instanceof XWParameterLayout ) {
if ( xCreator instanceof XWParameterLayout ) {
EastRegionContainerPane . getInstance ( ) . switchMode ( EastRegionContainerPane . PropertyMode . REPORT_PARA ) ;
EastRegionContainerPane . getInstance ( ) . switchMode ( EastRegionContainerPane . PropertyMode . REPORT_PARA ) ;
} else {
} else {