/** * Configures the GUI from the associated test element. * * @param el - the test element (should be XMLSchemaAssertion) */ public void configure(TestElement el) { super.configure(el); XMLSchemaAssertion assertion = (XMLSchemaAssertion) el; xmlSchema.setText(assertion.getXsdFileName()); }
/** * Modifies a given TestElement to mirror the data in the gui components. * * @see org.apache.jmeter.gui.JMeterGUIComponent#modifyTestElement(TestElement) */ public void modifyTestElement(TestElement inElement) { log.debug("XMLSchemaAssertionGui.modifyTestElement() called"); configureTestElement(inElement); ((XMLSchemaAssertion) inElement).setXsdFileName(xmlSchema.getText()); }