You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2007/10/31 15:03:53 UTC
svn commit: r590677 -
/jakarta/jmeter/trunk/src/core/org/apache/jmeter/control/gui/WorkBenchGui.java
Author: sebb
Date: Wed Oct 31 07:03:51 2007
New Revision: 590677
URL: http://svn.apache.org/viewvc?rev=590677&view=rev
Log:
Allow any test element to be added to the workbench via the pop-up menu
(they can all be pasted anyway)
Modified:
jakarta/jmeter/trunk/src/core/org/apache/jmeter/control/gui/WorkBenchGui.java
Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/control/gui/WorkBenchGui.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/control/gui/WorkBenchGui.java?rev=590677&r1=590676&r2=590677&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/core/org/apache/jmeter/control/gui/WorkBenchGui.java (original)
+++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/control/gui/WorkBenchGui.java Wed Oct 31 07:03:51 2007
@@ -75,18 +75,22 @@
* to return a JPopupMenu that provides all the options available to the
* user from this component.
* <p>
- * The WorkBench will return a popup menu allowing you to add Controllers,
- * Samplers, Configuration Elements, and Non-test Elements.
+ * The WorkBench returns a popup menu allowing you to add anything.
*
* @return a JPopupMenu appropriate for the component.
*/
public JPopupMenu createPopupMenu() {
JPopupMenu menu = new JPopupMenu();
JMenu addMenu = MenuFactory.makeMenus(new String[] {
- MenuFactory.CONTROLLERS,
- MenuFactory.SAMPLERS,
+ MenuFactory.NON_TEST_ELEMENTS,
+ MenuFactory.CONTROLLERS,
MenuFactory.CONFIG_ELEMENTS,
- MenuFactory.NON_TEST_ELEMENTS
+ MenuFactory.TIMERS,
+ MenuFactory.PRE_PROCESSORS,
+ MenuFactory.SAMPLERS,
+ MenuFactory.ASSERTIONS,
+ MenuFactory.POST_PROCESSORS,
+ MenuFactory.LISTENERS,
},
JMeterUtils.getResString("add"), // $NON-NLS-1$
ActionNames.ADD);
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org