Lines 138-143
Link Here
|
138 |
((HTMLAssertion) inElement).setFilename(filePanel.getFilename()); |
138 |
((HTMLAssertion) inElement).setFilename(filePanel.getFilename()); |
139 |
} |
139 |
} |
140 |
|
140 |
|
|
|
141 |
/** |
142 |
* Implements JMeterGUIComponent.clear |
143 |
*/ |
144 |
public void clear() { |
145 |
super.clear(); |
146 |
|
147 |
docTypeBox.setSelectedIndex(0); |
148 |
htmlRadioButton.setSelected(true); |
149 |
xhtmlRadioButton.setSelected(false); |
150 |
xmlRadioButton.setSelected(false); |
151 |
errorThresholdField.setText("0"); //$NON-NLS-1$ |
152 |
warningThresholdField.setText("0"); //$NON-NLS-1$ |
153 |
filePanel.setFilename(""); //$NON-NLS-1$ |
154 |
errorsOnly.setSelected(false); |
155 |
} |
156 |
|
141 |
/** |
157 |
/** |
142 |
* Configures the associated test element. |
158 |
* Configures the associated test element. |
143 |
* |
159 |
* |
Lines 161-166
Link Here
|
161 |
warningThresholdField.setEnabled(false); |
177 |
warningThresholdField.setEnabled(false); |
162 |
warningThresholdField.setEditable(false); |
178 |
warningThresholdField.setEditable(false); |
163 |
} |
179 |
} |
|
|
180 |
else { |
181 |
warningThresholdField.setEnabled(true); |
182 |
warningThresholdField.setEditable(true); |
183 |
} |
164 |
filePanel.setFilename(lAssertion.getFilename()); |
184 |
filePanel.setFilename(lAssertion.getFilename()); |
165 |
} |
185 |
} |
166 |
|
186 |
|