@Override
public void modifyTestElement(TestElement element) {
super.configureTestElement(element);
if (element instanceof JobStatistics) {
JobStatistics jobStats = (JobStatistics) element;
jobStats.setJobTracker(jobTrackerTextField.getText());
jobStats.setJobId(jobTextField.getText());
jobStats.setJobIdAndGroup(groupOfCountersNameTextField.getText());
jobStats.setJobCountersByIdBool(getJobCountersByIdCheckBox.isSelected());
jobStats.setJobCountersByIdAndGroupBool(getJobCountersByIdAndGroupNameCheckBox.isSelected());
jobStats.setJobStatisticsByIdBool(getJobStatisticsByJobIdCheckBox.isSelected());
jobStats.setTaskCountersByIdBool(getTaskLevelCountersByJobIdCheckBox.isSelected());
jobStats.setTaskStatisticsByIdBool(getTaskStatisticsByJobIdCheckBox.isSelected());
}
}