private void initGui() { setName(getStaticLabel()); commentPanel.clearGui(); }
/** * A newly created gui 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. * <p> * AbstractJMeterGuiComponent provides a partial implementation of this * method, setting the name of the component and its enabled status. * Subclasses should override this method, performing their own * configuration as needed, but also calling this super-implementation. * * @param element * the TestElement to configure */ @Override public void configure(TestElement element) { setName(element.getName()); enabled = element.isEnabled(); getCommentPanel().setText(element.getComment()); }