org.apache.jmeter.gui.JMeterGUIComponent Java Examples
The following examples show how to use
org.apache.jmeter.gui.JMeterGUIComponent.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DebuggerDialog.java From jmeter-debugger with Apache License 2.0 | 5 votes |
private void clearListeners() { GuiPackage guiPackage = GuiPackage.getInstance(); for (JMeterTreeNode node : guiPackage.getTreeModel().getNodesOfType(Clearable.class)) { JMeterGUIComponent guiComp = guiPackage.getGui(node.getTestElement()); if (guiComp instanceof Clearable){ Clearable item = (Clearable) guiComp; try { item.clearData(); } catch (Exception ex) { log.error("Can't clear: {} {}", node, guiComp, ex); } } } }
Example #2
Source File: DebuggerDialog.java From jmeter-debugger with Apache License 2.0 | 5 votes |
private synchronized void displayElementGui(TestElement wrpElm) { GuiPackage gui = GuiPackage.getInstance(); if (gui != null) { JMeterGUIComponent egui = gui.getGui(wrpElm); egui.configure(wrpElm); egui.modifyTestElement(wrpElm); elementContainer.removeAll(); if (egui instanceof Component) { // egui.setEnabled(false); elementContainer.add((Component) egui, BorderLayout.CENTER); } elementContainer.updateUI(); } }
Example #3
Source File: WebDriverSamplerGuiTest.java From jmeter-plugins-webdriver with Apache License 2.0 | 4 votes |
@Test public void shouldImplementJMeterGUIComponent() { assertThat(gui, is(CoreMatchers.instanceOf(JMeterGUIComponent.class))); }
Example #4
Source File: WebDriverConfigGuiTest.java From jmeter-plugins-webdriver with Apache License 2.0 | 4 votes |
@Test public void shouldImplementJMeterGUIComponent() { assertThat(gui, is(CoreMatchers.instanceOf(JMeterGUIComponent.class))); }