onScopeChanged();
}
@Override
protected void applyEditorTo(DartUnitRunConfiguration configuration) throws ConfigurationException {
final DartUnitRunnerParameters parameters = configuration.getRunnerParameters();
final Scope scope = (Scope)myScopeCombo.getSelectedItem();
parameters.setScope(scope);
parameters.setFilePath(StringUtil.nullize(FileUtil.toSystemIndependentName(myFileField.getText().trim()), true));
parameters.setTestName(scope == Scope.ALL ? null : StringUtil.nullize(myTestNameField.getText()));
parameters.setArguments(StringUtil.nullize(myArguments.getText(), true));
parameters.setVMOptions(StringUtil.nullize(myVMOptions.getText(), true));
parameters.setCheckedMode(myCheckedModeCheckBox.isSelected());
parameters.setWorkingDirectory(StringUtil.nullize(FileUtil.toSystemIndependentName(myWorkingDirectory.getText().trim()), true));
parameters.setEnvs(myEnvironmentVariables.getEnvs());
parameters.setIncludeParentEnvs(myEnvironmentVariables.isPassParentEnvs());
}