Browse Source

REPORT-70850 下拉树优化埋点

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

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

@ -62,12 +62,6 @@ public class TreeSettingPane extends BasicPane implements DataCreatorUI {
UILabel buildWayLabel = new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Build_Way") + " :"); UILabel buildWayLabel = new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Build_Way") + " :");
buildWayPanel.add(buildWayLabel); buildWayPanel.add(buildWayLabel);
buildBox = new UIComboBox(buildWay); buildBox = new UIComboBox(buildWay);
buildBox.addItemListener(e -> {
cardChanged(buildBox.getSelectedIndex());
if (e.getStateChange() == ItemEvent.SELECTED) {
doBuildBoxSelect(buildBox.getSelectedIndex());
}
});
buildWayPanel.add(buildBox); buildWayPanel.add(buildBox);
controlPane = new JTreeControlPane(new NameableCreator[]{treeNode}, controlPane = new JTreeControlPane(new NameableCreator[]{treeNode},
@ -78,6 +72,11 @@ public class TreeSettingPane extends BasicPane implements DataCreatorUI {
cardChanged(0); cardChanged(0);
} }
@Override
public void checkValid() throws Exception {
doBuildBoxSelect(buildBox.getSelectedIndex());
}
private void doBuildBoxSelect(Integer selectedIndex) { private void doBuildBoxSelect(Integer selectedIndex) {
} }

Loading…
Cancel
Save