Browse Source

表单属性的getReportMobileAttr方法的名字改成了getFormMobileAttr,这样合适一点

master
fanglei 8 years ago
parent
commit
70eddf71d7
  1. 4
      designer_form/src/com/fr/design/mainframe/actions/FormMobileAttrAction.java

4
designer_form/src/com/fr/design/mainframe/actions/FormMobileAttrAction.java

@ -40,14 +40,14 @@ public class FormMobileAttrAction extends JTemplateAction<JForm> {
return; return;
} }
final Form formTpl = jf.getTarget(); final Form formTpl = jf.getTarget();
FormMobileAttr mobileAttr = formTpl.getReportMobileAttr(); FormMobileAttr mobileAttr = formTpl.getFormMobileAttr();
final FormMobileAttrPane mobileAttrPane = new FormMobileAttrPane(); final FormMobileAttrPane mobileAttrPane = new FormMobileAttrPane();
mobileAttrPane.populateBean(mobileAttr); mobileAttrPane.populateBean(mobileAttr);
BasicDialog dialog = mobileAttrPane.showWindow(DesignerContext.getDesignerFrame(), new DialogActionAdapter() { BasicDialog dialog = mobileAttrPane.showWindow(DesignerContext.getDesignerFrame(), new DialogActionAdapter() {
@Override @Override
public void doOk() { public void doOk() {
formTpl.setReportMobileAttr(mobileAttrPane.updateBean()); formTpl.setFormMobileAttr(mobileAttrPane.updateBean());
jf.fireTargetModified(); jf.fireTargetModified();
} }
}); });

Loading…
Cancel
Save