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 2004/03/05 02:33:13 UTC

cvs commit: jakarta-jmeter/src/components/org/apache/jmeter/timers/gui UniformRandomTimerGui.java ConstantTimerGui.java GaussianRandomTimerGui.java

sebb        2004/03/04 17:33:13

  Modified:    src/components/org/apache/jmeter/modifiers/gui
                        UserParametersGui.java CounterConfigGui.java
               src/components/org/apache/jmeter/timers/gui
                        UniformRandomTimerGui.java ConstantTimerGui.java
                        GaussianRandomTimerGui.java
  Log:
  Replaced getStaticLabel() with getLabelResource()
  
  Revision  Changes    Path
  1.17      +4 -7      jakarta-jmeter/src/components/org/apache/jmeter/modifiers/gui/UserParametersGui.java
  
  Index: UserParametersGui.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/components/org/apache/jmeter/modifiers/gui/UserParametersGui.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- UserParametersGui.java	13 Feb 2004 01:39:07 -0000	1.16
  +++ UserParametersGui.java	5 Mar 2004 01:33:13 -0000	1.17
  @@ -70,12 +70,9 @@
           init();
       }
   
  -    /**
  -     * @see org.apache.jmeter.gui.JMeterGUIComponent#getStaticLabel()
  -     */
  -    public String getStaticLabel()
  +    public String getLabelResource()
       {
  -        return JMeterUtils.getResString("user_parameters_title");
  +        return "user_parameters_title";
       }
   
       public void configure(TestElement el)
  
  
  
  1.11      +4 -7      jakarta-jmeter/src/components/org/apache/jmeter/modifiers/gui/CounterConfigGui.java
  
  Index: CounterConfigGui.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/components/org/apache/jmeter/modifiers/gui/CounterConfigGui.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- CounterConfigGui.java	13 Feb 2004 01:39:07 -0000	1.10
  +++ CounterConfigGui.java	5 Mar 2004 01:33:13 -0000	1.11
  @@ -28,7 +28,7 @@
   import org.apache.jorphan.gui.layout.VerticalLayout;
   
   /**
  - * @version $Revision$
  + * @version $Revision$ on $Date$
    */
   public class CounterConfigGui extends AbstractPreProcessorGui
   {
  @@ -41,12 +41,9 @@
           init();
       }
   
  -    /**
  -     * @see org.apache.jmeter.gui.JMeterGUIComponent#getStaticLabel()
  -     */
  -    public String getStaticLabel()
  +    public String getLabelResource()
       {
  -        return JMeterUtils.getResString("counter_config_title");
  +        return "counter_config_title";
       }
       /**
        * @see org.apache.jmeter.gui.JMeterGUIComponent#createTestElement()
  
  
  
  1.15      +4 -11     jakarta-jmeter/src/components/org/apache/jmeter/timers/gui/UniformRandomTimerGui.java
  
  Index: UniformRandomTimerGui.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/components/org/apache/jmeter/timers/gui/UniformRandomTimerGui.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- UniformRandomTimerGui.java	13 Feb 2004 01:39:06 -0000	1.14
  +++ UniformRandomTimerGui.java	5 Mar 2004 01:33:13 -0000	1.15
  @@ -36,8 +36,6 @@
   /**
    * Implementation of a uniform random timer.
    *
  - * @author    Michael Stover
  - * @author <a href="mailto:seade@backstagetech.com.au">Scott Eade</a>
    * @version $Id$
    */
   public class UniformRandomTimerGui extends AbstractTimerGui
  @@ -71,14 +69,9 @@
           JOptionPane.showMessageDialog(thrower, e, "Error", JOptionPane.ERROR_MESSAGE);
       }
   
  -    /**
  -     * Get the title to display for this component.
  -     * 
  -     * @see org.apache.jmeter.gui.JMeterGUIComponent#getStaticLabel()
  -     */
  -    public String getStaticLabel()
  +    public String getLabelResource()
       {
  -        return JMeterUtils.getResString("uniform_timer_title");
  +        return "uniform_timer_title";
       }
   
       /**
  
  
  
  1.12      +4 -11     jakarta-jmeter/src/components/org/apache/jmeter/timers/gui/ConstantTimerGui.java
  
  Index: ConstantTimerGui.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/components/org/apache/jmeter/timers/gui/ConstantTimerGui.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ConstantTimerGui.java	13 Feb 2004 01:39:06 -0000	1.11
  +++ ConstantTimerGui.java	5 Mar 2004 01:33:13 -0000	1.12
  @@ -32,9 +32,7 @@
   /**
    * The GUI for ConstantTimer. 
    *
  - * @author Michael Stover
  - * @author <a href="mailto:seade@backstagetech.com.au">Scott Eade</a>
  - * @version $Id$
  + * @version $Revision$ on $Date$
    */
   public class ConstantTimerGui extends AbstractTimerGui
   {
  @@ -66,14 +64,9 @@
           JOptionPane.showMessageDialog(thrower, e, "Error", JOptionPane.ERROR_MESSAGE);
       }
   
  -    /**
  -     * Get the title to display for this component.
  -     * 
  -     * @see org.apache.jmeter.gui.JMeterGUIComponent#getStaticLabel()
  -     */
  -    public String getStaticLabel()
  +    public String getLabelResource()
       {
  -        return JMeterUtils.getResString("constant_timer_title");
  +        return "constant_timer_title";
       }
   
       /**
  
  
  
  1.14      +4 -11     jakarta-jmeter/src/components/org/apache/jmeter/timers/gui/GaussianRandomTimerGui.java
  
  Index: GaussianRandomTimerGui.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/components/org/apache/jmeter/timers/gui/GaussianRandomTimerGui.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- GaussianRandomTimerGui.java	13 Feb 2004 01:39:06 -0000	1.13
  +++ GaussianRandomTimerGui.java	5 Mar 2004 01:33:13 -0000	1.14
  @@ -38,8 +38,6 @@
   /**
    * Implementation of a gaussian random timer.
    *
  - * @author    Michael Stover
  - * @author <a href="mailto:seade@backstagetech.com.au">Scott Eade</a>
    * @version $Revision$ last updated $Date$
    */
   public class GaussianRandomTimerGui extends AbstractTimerGui
  @@ -108,14 +106,9 @@
           rangeField.setText(el.getPropertyAsString(RandomTimer.RANGE));
       }
   
  -    /**
  -     * Get the title to display for this component.
  -     * 
  -     * @see org.apache.jmeter.gui.JMeterGUIComponent#getStaticLabel()
  -     */
  -    public String getStaticLabel()
  +    public String getLabelResource()
       {
  -        return JMeterUtils.getResString("gaussian_timer_title");
  +        return "gaussian_timer_title";
       }
   
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org