@Override public void actionPerformed(ActionEvent actionEvent) { setVisible(false); } };
@Override public void removeUpdate(DocumentEvent e) { changeLabelButton(); }
@Override public void clearGui() { super.clearGui(); initFields(); }
@Override public void configure(TestElement element) { super.configure(element); setUpData(); }
/** * Create a panel containing components allowing the user to provide * arguments to be passed to the test class instance. * * @return a panel containing the relevant components */ private JPanel createParameterPanel() { argsPanel = new ArgumentsPanel(JMeterUtils.getResString("paramtable")); // $NON-NLS-1$ return argsPanel; }
private void init() { // WARNING: called from ctor so must not be overridden (i.e. must be private or final) setLayout(new BorderLayout(0, 10)); setBorder(makeBorder()); add(obsoleteMessage,BorderLayout.WEST); }
@Override public void actionPerformed(ActionEvent actionEvent) { doUpdate(actionEvent); setVisible(false); } };
public ObsoleteGui(){ init(); }
/** * Create a new SimpleConfigGui as either a standalone or an embedded * component. * * @param displayName * indicates whether or not this component should display its * name. If true, this is a standalone component. If false, this * component is intended to be used as a subpanel for another * component. */ public SimpleConfigGui(boolean displayName) { this.displayName = displayName; init(); }
/** * This is the list of menu categories this gui component will be available * under. * * @return a Collection of Strings, where each element is one of the * constants defined in MenuFactory */ @Override public Collection<String> getMenuCategories() { if (standalone) { return super.getMenuCategories(); } return null; }
/** * Create a new LoginConfigGui as either a standalone or an embedded * component. * * @param displayName * indicates whether or not this component should display its * name. If true, this is a standalone component. If false, this * component is intended to be used as a subpanel for another * component. */ public LoginConfigGui(boolean displayName) { this.displayName = displayName; init(); }
protected void addFromClipboard() { addFromClipboard(CLIPBOARD_LINE_DELIMITERS, CLIPBOARD_ARG_DELIMITERS); }
public RowDetailDialog(ObjectTableModel tableModel, int selectedRow) { super((JFrame) null, JMeterUtils.getResString("detail"), true); //$NON-NLS-1$ this.tableModel = tableModel; this.selectedRow = selectedRow; init(); }
@Override public TestElement createTestElement() { TestElement el = new ConfigTestElement(); modifyTestElement(el); return el; }
protected Argument createArgumentFromClipboard(String[] clipboardCols) { Argument argument = makeNewArgument(); argument.setName(clipboardCols[0]); if (clipboardCols.length > 1) { argument.setValue(clipboardCols[1]); if (clipboardCols.length > 2) { argument.setDescription(clipboardCols[2]); } } return argument; }
@Override public void clearGui() { super.clearGui(); initFields(); }
@Override public void insertUpdate(DocumentEvent e) { changeLabelButton(); }
@Override public void changedUpdate(DocumentEvent e) { changeLabelButton(); }