You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by mi...@apache.org on 2011/12/06 22:16:47 UTC
svn commit: r1211154 -
/jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterToolBar.java
Author: milamber
Date: Tue Dec 6 21:16:47 2011
New Revision: 1211154
URL: http://svn.apache.org/viewvc?rev=1211154&view=rev
Log:
Add an icon for Start no timers Action in the new JMeter Toolbar. Missing icon enable/disable when test running
Modified:
jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterToolBar.java
Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterToolBar.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterToolBar.java?rev=1211154&r1=1211153&r2=1211154&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterToolBar.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterToolBar.java Tue Dec 6 21:16:47 2011
@@ -186,6 +186,7 @@ public class JMeterToolBar extends JTool
public void setTestStarted(boolean started) {
Map<String, Boolean> buttonStates = new HashMap<String, Boolean>();
buttonStates.put(ActionNames.ACTION_START,Boolean.valueOf(!started));
+ buttonStates.put(ActionNames.ACTION_START_NO_TIMERS,Boolean.valueOf(!started));
buttonStates.put(ActionNames.ACTION_STOP,Boolean.valueOf(started));
buttonStates.put(ActionNames.ACTION_SHUTDOWN,Boolean.valueOf(started));
buttonStates.put(ActionNames.REMOTE_START_ALL,Boolean.valueOf(!started));