@Override public void reset() { myOSCombo.setSelectedItem(expandDefault(myBuildTargetSettings.getOS(), myDefaultOSValue)); myArchCombo.setSelectedItem(expandDefault(myBuildTargetSettings.getArch(), myDefaultArchValue)); myGoVersionCombo.setSelectedItem( expandDefault(myBuildTargetSettings.getGoVersion(), myDefaultGoVersion)); myCgoCombo.setSelectedItem(expandDefault(cgo(myBuildTargetSettings.getCgo()), myDefaultCgo)); myCompilerCombo.setSelectedItem(myBuildTargetSettings.getCompiler()); myCustomFlagsField.setText(StringUtil.join(myBuildTargetSettings.getCustomFlags(), " ")); }
@Override public void doReset() { myTextField.setText(""); }
public void setText(@Nullable String text) { myTextField.setText(text); }