Browse Source

REPORT-70850 下拉树优化埋点

feature/x
Yuan.Wang 3 years ago
parent
commit
2dbf13726d
  1. 12
      designer-base/src/main/java/com/fr/design/gui/frpane/TreeSettingPane.java

12
designer-base/src/main/java/com/fr/design/gui/frpane/TreeSettingPane.java

@ -62,11 +62,10 @@ public class TreeSettingPane extends BasicPane implements DataCreatorUI {
UILabel buildWayLabel = new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Build_Way") + " :");
buildWayPanel.add(buildWayLabel);
buildBox = new UIComboBox(buildWay);
buildBox.addItemListener(new ItemListener() {
@Override
public void itemStateChanged(ItemEvent e) {
buildBox.addItemListener(e -> {
cardChanged(buildBox.getSelectedIndex());
if (e.getStateChange() == ItemEvent.SELECTED) {
doBuildBoxSelect(buildBox.getSelectedIndex());
}
});
buildWayPanel.add(buildBox);
@ -79,7 +78,10 @@ public class TreeSettingPane extends BasicPane implements DataCreatorUI {
cardChanged(0);
}
private void cardChanged(Integer index) {
private void doBuildBoxSelect(Integer selectedIndex) {
}
private void cardChanged(int index) {
this.remove(controlPane);
this.remove(autoBuildPane);

Loading…
Cancel
Save