|
|
@ -62,13 +62,12 @@ 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(new ItemListener() { |
|
|
|
buildBox.addItemListener(e -> { |
|
|
|
|
|
|
|
cardChanged(buildBox.getSelectedIndex()); |
|
|
|
@Override |
|
|
|
if (e.getStateChange() == ItemEvent.SELECTED) { |
|
|
|
public void itemStateChanged(ItemEvent e) { |
|
|
|
doBuildBoxSelect(buildBox.getSelectedIndex()); |
|
|
|
cardChanged(buildBox.getSelectedIndex()); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
buildWayPanel.add(buildBox); |
|
|
|
buildWayPanel.add(buildBox); |
|
|
|
|
|
|
|
|
|
|
|
controlPane = new JTreeControlPane(new NameableCreator[]{treeNode}, |
|
|
|
controlPane = new JTreeControlPane(new NameableCreator[]{treeNode}, |
|
|
@ -79,7 +78,10 @@ public class TreeSettingPane extends BasicPane implements DataCreatorUI { |
|
|
|
cardChanged(0); |
|
|
|
cardChanged(0); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void cardChanged(Integer index) { |
|
|
|
private void doBuildBoxSelect(Integer selectedIndex) { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void cardChanged(int index) { |
|
|
|
|
|
|
|
|
|
|
|
this.remove(controlPane); |
|
|
|
this.remove(controlPane); |
|
|
|
this.remove(autoBuildPane); |
|
|
|
this.remove(autoBuildPane); |
|
|
|