public void setFile(String filename) { mergeAndWritePanel.setFilename(filename); }
public void setFile(String filename) { mergeAndWritePanel.setFilename(filename); }
/** * Sets the filename which results will be saved to. This will set the * filename in the FilePanel. Subclasses don't normally need to call this * method, because configuration of the FilePanel is handled in this base * class. * * @param filename * the new filename * * @see #getFilePanel() */ public void setFile(String filename) { // TODO: Does this method need to be public? It isn't currently // called outside of this class. filePanel.setFilename(filename); }
/** * Implements JMeterGUIComponent.clearGui * {@inheritDoc} */ @Override public void clearGui() { super.clearGui(); docTypeBox.setSelectedIndex(0); htmlRadioButton.setSelected(true); xhtmlRadioButton.setSelected(false); xmlRadioButton.setSelected(false); errorThresholdField.setText("0"); //$NON-NLS-1$ warningThresholdField.setText("0"); //$NON-NLS-1$ filePanel.setFilename(""); //$NON-NLS-1$ errorsOnly.setSelected(false); }
/** * {@inheritDoc} */ @Override public void configure(TestElement el) { super.configure(el); IncludeController controller = (IncludeController) el; this.includePanel.setFilename(controller.getIncludePath()); }
/** * Configures the associated test element. * {@inheritDoc} */ @Override public void configure(TestElement inElement) { super.configure(inElement); HTMLAssertion lAssertion = (HTMLAssertion) inElement; errorThresholdField.setText(String.valueOf(lAssertion.getErrorThreshold())); warningThresholdField.setText(String.valueOf(lAssertion.getWarningThreshold())); errorsOnly.setSelected(lAssertion.isErrorsOnly()); docTypeBox.setSelectedItem(lAssertion.getDoctype()); if (lAssertion.isHTML()) { htmlRadioButton.setSelected(true); } else if (lAssertion.isXHTML()) { xhtmlRadioButton.setSelected(true); } else { xmlRadioButton.setSelected(true); } if (lAssertion.isErrorsOnly()) { warningThresholdField.setEnabled(false); warningThresholdField.setEditable(false); } else { warningThresholdField.setEnabled(true); warningThresholdField.setEditable(true); } filePanel.setFilename(lAssertion.getFilename()); }
@Override public void clearGui(){ super.clearGui(); useProperties.setSelected(false); jndiICF.setText(""); // $NON-NLS-1$ urlField.setText(""); // $NON-NLS-1$ jndiConnFac.setText(""); // $NON-NLS-1$ jmsDestination.setText(""); // $NON-NLS-1$ expiration.setText(""); // $NON-NLS-1$ jmsErrorReconnectOnCodes.setText(""); priority.setText(""); // $NON-NLS-1$ jmsUser.setText(""); // $NON-NLS-1$ jmsPwd.setText(""); // $NON-NLS-1$ textMessage.setInitialText(""); // $NON-NLS-1$ messageFile.setFilename(""); // $NON-NLS-1$ randomFile.setFilename(""); // $NON-NLS-1$ msgChoice.setText(""); // $NON-NLS-1$ fileEncoding.setSelectedIndex(0); configChoice.setText(USE_TEXT_RSC); updateConfig(USE_TEXT_RSC); msgChoice.setText(TEXT_MSG_RSC); iterations.setText("1"); // $NON-NLS-1$ useAuth.setSelected(false); jmsUser.setEnabled(false); jmsPwd.setEnabled(false); destSetup.setText(DEST_SETUP_STATIC); useNonPersistentDelivery.setSelected(false); jmsPropertiesPanel.clearGui(); }
textMessage.setInitialText(sampler.getTextMessage()); textMessage.setCaretPosition(0); messageFile.setFilename(sampler.getInputFile()); randomFile.setFilename(sampler.getRandomPath()); configChoice.setText(sampler.getConfigChoice()); msgChoice.setText(sampler.getMessageChoice());