xiaxiang 9 years ago
parent
commit
84d3c5761b
  1. 6
      designer_form/src/com/fr/design/designer/creator/XElementCase.java

6
designer_form/src/com/fr/design/designer/creator/XElementCase.java

@ -84,15 +84,15 @@ public class XElementCase extends XBorderStyleWidgetCreator implements FormEleme
};
FormElementCaseEditorProcessor processor = ExtraDesignClassManager.getInstance().getPropertyTableEditor();
if (processor == null) {
return propertyTableEditor;
}
this.designer = WidgetPropertyPane.getInstance().getEditingFormDesigner();
FitProvider wbTpl = (FitProvider) designer.getTarget();
ReportFitAttrProvider fitAttr = wbTpl.getFitAttr();
ElementCaseEditor editor = this.toData();
ReportFitAttrProvider reportFitAttr = editor.getReportFitAttr() == null ? fitAttr : editor.getReportFitAttr();
PropertyDescriptor[] extraEditor = processor.createPropertyDescriptor(this.data.getClass(), reportFitAttr);
if (processor == null) {
return propertyTableEditor;
}
if (editor.getReportFitAttr() == null) {
editor.setReportFitInPc(processor.getFitStateInPC(fitAttr));
}

Loading…
Cancel
Save