void (@NotNull RestRunConfiguration configuration) { AbstractPythonRunConfiguration.copyParams(configuration, myCommonOptionsForm); myInputFileField.setText(configuration.getInputFile()); myOutputFileField.setText(configuration.getOutputFile()); myParamsTextField.setText(configuration.getParams()); myTasks.setSelectedItem(configuration.getTask()); myOpenInBrowser.setSelected(configuration.openInBrowser()); if (configuration.getTask().equals("rst2latex") || configuration.getTask().equals("rst2odt")) myOpenInBrowser.setEnabled(false); else myOpenInBrowser.setEnabled(true); }