1 18 19 package org.apache.jmeter.gui; 20 import java.util.Collection ; 21 22 import javax.swing.JPopupMenu ; 23 24 import org.apache.jmeter.gui.tree.JMeterTreeNode; 25 import org.apache.jmeter.testelement.TestElement; 26 45 46 public interface JMeterGUIComponent 47 { 48 49 56 void setName(String name); 57 58 64 String getName(); 65 66 76 String getStaticLabel(); 77 78 85 String getLabelResource(); 86 87 93 String getDocAnchor(); 94 95 104 TestElement createTestElement(); 105 106 115 void modifyTestElement(TestElement element); 116 117 124 boolean isEnabled(); 125 126 131 void setEnabled(boolean enabled); 132 133 141 JPopupMenu createPopupMenu(); 142 143 150 void configure(TestElement element); 151 152 167 Collection getMenuCategories(); 168 169 174 void setNode(JMeterTreeNode node); 175 176 183 public void clear(); 184 } 185 | Popular Tags |