/** * Implements JMeterGUIComponent.clearGui */ @Override public void clearGui() { super.clearGui(); style.setSelected(false); }
@Override public void configure(TestElement el) { super.configure(el); switchValue.setText(((SwitchController) el).getSelection()); }
public void modifyTestElement(TestElement te) { super.configureTestElement(te); if (te instanceof ParameterizedController) { ParameterizedController controller = (ParameterizedController) te; controller.setUserDefinedVariables((Arguments) argsPanel.createTestElement()); } }
@Override public void modifyTestElement(TestElement element) { super.configureTestElement(element); if (element instanceof WeightedSwitchController) { WeightedSwitchController wsc = (WeightedSwitchController) element; wsc.setData(grid.getModel()); } }
@Override public void configure(TestElement el) { super.configure(el); if (((RandomController) el).getStyle() == InterleaveControl.IGNORE_SUB_CONTROLLERS) { style.setSelected(true); } else { style.setSelected(false); } }
/** * Implements JMeterGUIComponent.clearGui */ @Override public void clearGui() { super.clearGui(); seconds.setText("1"); // $NON-NLS-1$ }
public void modifyTestElement(TestElement te) { super.configureTestElement(te); if (te instanceof ParameterizedController) { ParameterizedController controller = (ParameterizedController) te; controller.setUserDefinedVariables((Arguments) argsPanel.createTestElement()); } }
@Override public void configure(TestElement el) { super.configure(el); InterleaveControl controller = (InterleaveControl) el; if (controller.getStyle() == InterleaveControl.IGNORE_SUB_CONTROLLERS) { style.setSelected(true); } else { style.setSelected(false); } accrossThreads.setSelected(controller.getInterleaveAccrossThreads()); }
/** * Implements JMeterGUIComponent.clearGui */ @Override public void clearGui() { super.clearGui(); tfLockName.setText("global_lock"); // $NON-NLS-1$ }
@Override public void modifyTestElement(TestElement element) { super.configureTestElement(element); if (element instanceof WeightedSwitchController) { WeightedSwitchController wsc = (WeightedSwitchController) element; if (grid.getModel().getRowCount() > 0){ wsc.setData(grid.getModel()); } wsc.setIsRandomChoice(isRandomChoiceCheckBox.isSelected()); } }
/** * A newly created component can be initialized with the contents of a Test * Element object by calling this method. The component is responsible for * querying the Test Element object for the relevant information to display * in its GUI. * * @param element * the TestElement to configure */ @Override public void configure(TestElement element) { super.configure(element); if (element instanceof CriticalSectionController) { CriticalSectionController controller = (CriticalSectionController) element; tfLockName.setText(controller.getLockName()); } }
/** * Implements JMeterGUIComponent.clearGui */ @Override public void clearGui() { super.clearGui(); switchValue.setText(""); // $NON-NLS-1$ }
@Override public void configure(TestElement el) { super.configure(el); generateParentSample.setSelected(((TransactionController) el).isGenerateParentSample()); includeTimers.setSelected(((TransactionController) el).isIncludeTimers()); }
/** * Implements JMeterGUIComponent.clearGui */ @Override public void clearGui() { super.clearGui(); loops.setText("1"); // $NON-NLS-1$ infinite.setSelected(false); }
/** * {@inheritDoc} */ @Override public void configure(TestElement el) { super.configure(el); IncludeController controller = (IncludeController) el; this.includePanel.setFilename(controller.getIncludePath()); }
/** * Implements JMeterGUIComponent.clearGui */ @Override public void clearGui() { super.clearGui(); style.setSelected(false); accrossThreads.setSelected(false); }
@Override public void configure(TestElement el) { super.configure(el); if (((ThroughputController) el).getStyle() == ThroughputController.BYNUMBER) { styleBox.getModel().setSelectedItem(BYNUMBER_LABEL); throughput.setText(((ThroughputController) el).getMaxThroughput()); } else { styleBox.setSelectedItem(BYPERCENT_LABEL); throughput.setText(((ThroughputController) el).getPercentThroughput()); } perthread.setSelected(((ThroughputController) el).isPerThread()); }
/** * Implements JMeterGUIComponent.clearGui */ @Override public void clearGui() { super.clearGui(); styleBox.setSelectedIndex(1); throughput.setText("1"); // $NON-NLS-1$ perthread.setSelected(false); }
/** * A newly created component can be initialized with the contents of a Test * Element object by calling this method. The component is responsible for * querying the Test Element object for the relevant information to display * in its GUI. * * @param element * the TestElement to configure */ @Override public void configure(TestElement element) { super.configure(element); if (element instanceof WhileController) { theCondition.setText(((WhileController) element).getCondition()); } }
/** * Implements JMeterGUIComponent.clearGui */ @Override public void clearGui() { super.clearGui(); inputVal.setText(""); // $NON-NLS-1$ startIndex.setText(""); // $NON-NLS-1$ endIndex.setText(""); // $NON-NLS-1$ returnVal.setText(""); // $NON-NLS-1$ useSeparator.setSelected(true); }