1 18 19 package org.apache.jmeter.control.gui; 20 import java.awt.BorderLayout ; 21 22 import org.apache.jmeter.control.TransactionController; 23 import org.apache.jmeter.control.gui.AbstractControllerGui; 24 import org.apache.jmeter.testelement.TestElement; 25 26 31 public class TransactionControllerGui extends AbstractControllerGui 32 { 33 36 public TransactionControllerGui() 37 { 38 init(); 39 } 40 41 42 public TestElement createTestElement() 43 { 44 TransactionController lc = new TransactionController(); 45 configureTestElement(lc); 46 return lc; 47 } 48 49 50 public void modifyTestElement(TestElement el) 51 { 52 configureTestElement(el); 53 } 54 55 public String getLabelResource() 56 { 57 return "transaction_controller_title"; 58 } 59 60 63 private void init() 64 { 65 setLayout(new BorderLayout ()); 66 setBorder(makeBorder()); 67 add(makeTitlePanel(), BorderLayout.NORTH); 68 } 69 } 70 | Popular Tags |