@Override public void clearGui() { super.clearGui(); filename.setText(""); // $NON-NLS-1$ parameters.setText(""); // $NON-NLS-1$ scriptField.setText(""); // $NON-NLS-1$ resetInterpreter.setSelected(false); }
@Override public void configure(TestElement element) { scriptField.setText(element.getPropertyAsString(BeanShellAssertion.SCRIPT)); filename.setText(element.getPropertyAsString(BeanShellAssertion.FILENAME)); parameters.setText(element.getPropertyAsString(BeanShellAssertion.PARAMETERS)); resetInterpreter.setSelected( element.getPropertyAsBoolean(BeanShellAssertion.RESET_INTERPRETER)); super.configure(element); }