1 18 19 package org.apache.jmeter.protocol.http.modifier.gui; 20 21 import java.awt.BorderLayout ; 22 23 import org.apache.jmeter.processor.gui.AbstractPreProcessorGui; 24 import org.apache.jmeter.protocol.http.modifier.AnchorModifier; 25 import org.apache.jmeter.testelement.TestElement; 26 27 30 public class AnchorModifierGui extends AbstractPreProcessorGui 31 { 32 public AnchorModifierGui() 33 { 34 init(); 35 } 36 37 public String getLabelResource() 38 { 39 return "anchor_modifier_title"; 40 } 41 42 public TestElement createTestElement() 43 { 44 AnchorModifier modifier = new AnchorModifier(); 45 modifyTestElement(modifier); 46 return modifier; 47 } 48 49 53 public void modifyTestElement(TestElement modifier) 54 { 55 configureTestElement(modifier); 56 } 57 58 private void init() 59 { 60 setLayout(new BorderLayout ()); 61 setBorder(makeBorder()); 62 63 add(makeTitlePanel(), BorderLayout.NORTH); 64 } 65 } 66 | Popular Tags |