Browse Source

将控件顺序代码还原

master
fanglei 7 years ago
parent
commit
a18b7cb1bf
  1. 2
      designer_form/src/com/fr/design/designer/properties/mobile/ElementCasePropertyUI.java
  2. 22
      designer_form/src/com/fr/design/mainframe/WidgetPropertyPane.java

2
designer_form/src/com/fr/design/designer/properties/mobile/ElementCasePropertyUI.java

@ -21,7 +21,7 @@ public class ElementCasePropertyUI extends AbstractWidgetPropertyUIProvider {
@Override @Override
public AbstractPropertyTable createWidgetAttrTable() { public AbstractPropertyTable createWidgetAttrTable() {
return new ElementCasePropertyTable(xCreator); return null;
} }
@Override @Override

22
designer_form/src/com/fr/design/mainframe/WidgetPropertyPane.java

@ -123,9 +123,11 @@ public class WidgetPropertyPane extends FormDockView implements BaseWidgetPrope
extraPane.initPropertyGroups(designer); extraPane.initPropertyGroups(designer);
} }
} }
// for (AbstractPropertyTable propertyTable : widgetPropertyTables) { if (widgetPropertyTables != null) {
// propertyTable.initPropertyGroups(designer); for (AbstractPropertyTable propertyTable : widgetPropertyTables) {
// } propertyTable.initPropertyGroups(designer);
}
}
} }
/** /**
@ -224,12 +226,14 @@ public class WidgetPropertyPane extends FormDockView implements BaseWidgetPrope
mobileExtraPropertyPanes.add(extraPane); mobileExtraPropertyPanes.add(extraPane);
wsp.add(extraPane); wsp.add(extraPane);
} }
// AbstractPropertyTable propertyTable = widgetAttrProvider.createWidgetAttrTable(); AbstractPropertyTable propertyTable = widgetAttrProvider.createWidgetAttrTable();
// widgetPropertyTables.add(propertyTable); if (propertyTable != null) {
// designer.addDesignerEditListener(new WidgetPropertyDesignerAdapter(formWidgetCardPane)); widgetPropertyTables.add(propertyTable);
// designer.addDesignerEditListener(new WidgetPropertyDesignerAdapter(formWidgetCardPane));
// UIScrollPane uiScrollPane = new UIScrollPane(getExtraBodyTable(propertyTable));
// wsp.add(uiScrollPane); UIScrollPane uiScrollPane = new UIScrollPane(getExtraBodyTable(propertyTable));
wsp.add(uiScrollPane);
}
} }
} }
} }

Loading…
Cancel
Save