本文整理汇总了Java中org.apache.jmeter.util.JMeterUtils.addLocaleChangeListener方法的典型用法代码示例。如果您正苦于以下问题:Java JMeterUtils.addLocaleChangeListener方法的具体用法?Java JMeterUtils.addLocaleChangeListener怎么用?Java JMeterUtils.addLocaleChangeListener使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.jmeter.util.JMeterUtils
的用法示例。
在下文中一共展示了JMeterUtils.addLocaleChangeListener方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: JMeterMenuBar
import org.apache.jmeter.util.JMeterUtils; //导入方法依赖的package包/类
public JMeterMenuBar() {
// List for recent files menu items
file_load_recent_files = new LinkedList<JComponent>();
// Lists for remote engines menu items
remote_engine_start = new LinkedList<JMenuItem>();
remote_engine_stop = new LinkedList<JMenuItem>();
remote_engine_shut = new LinkedList<JMenuItem>();
remote_engine_exit = new LinkedList<JMenuItem>();
remoteHosts = JOrphanUtils.split(JMeterUtils.getPropDefault("remote_hosts", ""), ","); //$NON-NLS-1$
if (remoteHosts.length == 1 && remoteHosts[0].equals("")) {
remoteHosts = new String[0];
}
this.getRemoteItems();
createMenuBar();
JMeterUtils.addLocaleChangeListener(this);
}
示例2: createToolbar
import org.apache.jmeter.util.JMeterUtils; //导入方法依赖的package包/类
/**
* Create the default JMeter toolbar
* @return the JMeter toolbar
*/
public static JMeterToolBar createToolbar(boolean visible) {
JMeterToolBar toolBar = new JMeterToolBar();
toolBar.setFloatable(false);
toolBar.setVisible(visible);
setupToolbarContent(toolBar);
JMeterUtils.addLocaleChangeListener(toolBar);
// implicit return empty toolbar if icons == null
return toolBar;
}
示例3: GuiPackage
import org.apache.jmeter.util.JMeterUtils; //导入方法依赖的package包/类
/**
* Private constructor to permit instantiation only from within this class.
* Use {@link #getInstance()} to retrieve a singleton instance.
*/
private GuiPackage(JMeterTreeModel treeModel, JMeterTreeListener treeListener) {
this.treeModel = treeModel;
this.treeListener = treeListener;
JMeterUtils.addLocaleChangeListener(this);
}
示例4: FunctionHelper
import org.apache.jmeter.util.JMeterUtils; //导入方法依赖的package包/类
public FunctionHelper() {
super((JFrame) null, JMeterUtils.getResString("function_helper_title"), false); //$NON-NLS-1$
init();
JMeterUtils.addLocaleChangeListener(this);
}
示例5: ReportGuiPackage
import org.apache.jmeter.util.JMeterUtils; //导入方法依赖的package包/类
/**
* Private constructor to permit instantiation only from within this class.
* Use {@link #getInstance()} to retrieve a singleton instance.
*/
private ReportGuiPackage() {
JMeterUtils.addLocaleChangeListener(this);
}