@Override
public void configure(TestElement el) {
super.configure(el);
if (el instanceof RegexExtractor){
RegexExtractor re = (RegexExtractor) el;
showScopeSettings(re, true);
useHeaders.setSelected(re.useHeaders());
useBody.setSelected(re.useBody());
useUnescapedBody.setSelected(re.useUnescapedBody());
useBodyAsDocument.setSelected(re.useBodyAsDocument());
useURL.setSelected(re.useUrl());
useCode.setSelected(re.useCode());
useMessage.setSelected(re.useMessage());
regexField.setText(re.getRegex());
templateField.setText(re.getTemplate());
defaultField.setText(re.getDefaultValue());
matchNumberField.setText(re.getMatchNumberAsString());
refNameField.setText(re.getRefName());
}
}