1 18 19 package org.apache.jmeter.reporters.gui; 20 21 import java.awt.BorderLayout ; 22 23 import org.apache.jmeter.reporters.Summariser; 24 import org.apache.jmeter.processor.gui.AbstractPostProcessorGui; 25 import org.apache.jmeter.testelement.TestElement; 26 27 36 public class SummariserGui extends AbstractPostProcessorGui 37 { 38 39 public SummariserGui() 40 { 41 super(); 42 init(); 43 } 44 45 public String getLabelResource() 46 { 47 return "summariser_title"; 48 } 49 50 public void configure(TestElement el) 51 { 52 super.configure(el); 53 } 54 55 58 public TestElement createTestElement() 59 { 60 Summariser summariser = new Summariser(); 61 modifyTestElement(summariser); 62 return summariser; 63 } 64 65 69 public void modifyTestElement(TestElement summariser) 70 { 71 super.configureTestElement(summariser); 72 } 73 74 private void init() 75 { 76 setLayout(new BorderLayout ()); 77 setBorder(makeBorder()); 78 79 add(makeTitlePanel(),BorderLayout.NORTH); 80 } 81 } 82 | Popular Tags |