1 18 19 package org.apache.jmeter.control.gui; 20 import java.awt.BorderLayout ; 21 22 import org.apache.jmeter.control.GenericController; 23 import org.apache.jmeter.testelement.TestElement; 24 25 30 public class LogicControllerGui extends AbstractControllerGui 31 { 32 35 public LogicControllerGui() 36 { 37 init(); 38 } 39 40 41 public TestElement createTestElement() 42 { 43 GenericController lc = new GenericController(); 44 configureTestElement(lc); 45 return lc; 46 } 47 48 49 public void modifyTestElement(TestElement el) 50 { 51 configureTestElement(el); 52 } 53 54 55 public String getLabelResource() 56 { 57 return "logic_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 |