예제 #1
0
 @Override
 public void clearGui() {
   super.clearGui();
   filename.setText(""); // $NON-NLS-1$
   parameters.setText(""); // $NON-NLS-1$
   scriptField.setText(""); // $NON-NLS-1$
   resetInterpreter.setSelected(false);
 }
예제 #2
0
 @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);
 }