jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1818766 - in /jmeter/trunk/src: components/org/apache/jmeter/assertions/ components/org/apache/jmeter/assertions/gui/ components/org/apache/jmeter/config/ components/org/apache/jmeter/extractor/ components/org/apache/jmeter/extractor/gui/ ...
Date Wed, 20 Dec 2017 09:48:06 GMT
Author: pmouawad
Date: Wed Dec 20 09:48:06 2017
New Revision: 1818766

URL: http://svn.apache.org/viewvc?rev=1818766&view=rev
Log:
Bug 61919 - UX : Reorder Menus
Reordered menus a bit differently
Make 100 the default value to be able to move some elements down
Bugzilla Id: 61919

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/assertions/BeanShellAssertion.java
    jmeter/trunk/src/components/org/apache/jmeter/assertions/JSR223Assertion.java
    jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/SizeAssertionGui.java
    jmeter/trunk/src/components/org/apache/jmeter/config/CSVDataSet.java
    jmeter/trunk/src/components/org/apache/jmeter/extractor/BeanShellPostProcessor.java
    jmeter/trunk/src/components/org/apache/jmeter/extractor/JSR223PostProcessor.java
    jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/BoundaryExtractorGui.java
    jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/HtmlExtractorGui.java
    jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/RegexExtractorGui.java
    jmeter/trunk/src/components/org/apache/jmeter/extractor/json/jsonpath/gui/JSONPostProcessorGui.java
    jmeter/trunk/src/components/org/apache/jmeter/modifiers/BeanShellPreProcessor.java
    jmeter/trunk/src/components/org/apache/jmeter/modifiers/JSR223PreProcessor.java
    jmeter/trunk/src/components/org/apache/jmeter/sampler/gui/TestActionGui.java
    jmeter/trunk/src/components/org/apache/jmeter/timers/BeanShellTimer.java
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/BeanShellListener.java
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/BackendListenerGui.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/GUIMenuSortOrder.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/util/MenuInfo.java
    jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/assertions/BeanShellAssertion.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/assertions/BeanShellAssertion.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/assertions/BeanShellAssertion.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/assertions/BeanShellAssertion.java Wed Dec
20 09:48:06 2017
@@ -18,6 +18,7 @@
 
 package org.apache.jmeter.assertions;
 
+import org.apache.jmeter.gui.GUIMenuSortOrder;
 import org.apache.jmeter.samplers.SampleResult;
 import org.apache.jmeter.util.BeanShellInterpreter;
 import org.apache.jmeter.util.BeanShellTestElement;
@@ -28,6 +29,7 @@ import org.slf4j.LoggerFactory;
  * An Assertion which understands BeanShell
  *
  */
+@GUIMenuSortOrder(Integer.MAX_VALUE)
 public class BeanShellAssertion extends BeanShellTestElement implements Assertion {
     private static final Logger log = LoggerFactory.getLogger(BeanShellAssertion.class);
 

Modified: jmeter/trunk/src/components/org/apache/jmeter/assertions/JSR223Assertion.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/assertions/JSR223Assertion.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/assertions/JSR223Assertion.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/assertions/JSR223Assertion.java Wed Dec
20 09:48:06 2017
@@ -31,7 +31,7 @@ import org.apache.jmeter.util.JSR223Test
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-@GUIMenuSortOrder(3)
+@GUIMenuSortOrder(4)
 public class JSR223Assertion extends JSR223TestElement implements Cloneable, Assertion, TestBean
 {
     private static final Logger log = LoggerFactory.getLogger(JSR223Assertion.class);

Modified: jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/SizeAssertionGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/SizeAssertionGui.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/SizeAssertionGui.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/SizeAssertionGui.java Wed
Dec 20 09:48:06 2017
@@ -30,6 +30,7 @@ import javax.swing.JRadioButton;
 import javax.swing.JTextField;
 
 import org.apache.jmeter.assertions.SizeAssertion;
+import org.apache.jmeter.gui.GUIMenuSortOrder;
 import org.apache.jmeter.testelement.TestElement;
 import org.apache.jmeter.util.JMeterUtils;
 import org.apache.jorphan.gui.layout.VerticalLayout;
@@ -37,6 +38,7 @@ import org.apache.jorphan.gui.layout.Ver
 /**
  * GUI for {@link SizeAssertion}
  */
+@GUIMenuSortOrder(3)
 public class SizeAssertionGui extends AbstractAssertionGui implements ActionListener {
 
     private static final long serialVersionUID = 241L;

Modified: jmeter/trunk/src/components/org/apache/jmeter/config/CSVDataSet.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/config/CSVDataSet.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/config/CSVDataSet.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/config/CSVDataSet.java Wed Dec 20 09:48:06
2017
@@ -28,6 +28,7 @@ import org.apache.commons.lang3.StringUt
 import org.apache.jmeter.engine.event.LoopIterationEvent;
 import org.apache.jmeter.engine.event.LoopIterationListener;
 import org.apache.jmeter.engine.util.NoConfigMerge;
+import org.apache.jmeter.gui.GUIMenuSortOrder;
 import org.apache.jmeter.save.CSVSaveService;
 import org.apache.jmeter.services.FileServer;
 import org.apache.jmeter.testbeans.TestBean;
@@ -67,6 +68,7 @@ import org.slf4j.LoggerFactory;
  * threads with the same suffix.
  *
  */
+@GUIMenuSortOrder(4)
 public class CSVDataSet extends ConfigTestElement 
     implements TestBean, LoopIterationListener, NoConfigMerge {
     private static final Logger log = LoggerFactory.getLogger(CSVDataSet.class);

Modified: jmeter/trunk/src/components/org/apache/jmeter/extractor/BeanShellPostProcessor.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/extractor/BeanShellPostProcessor.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/extractor/BeanShellPostProcessor.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/extractor/BeanShellPostProcessor.java Wed
Dec 20 09:48:06 2017
@@ -18,6 +18,7 @@
 
 package org.apache.jmeter.extractor;
 
+import org.apache.jmeter.gui.GUIMenuSortOrder;
 import org.apache.jmeter.processor.PostProcessor;
 import org.apache.jmeter.samplers.SampleResult;
 import org.apache.jmeter.testbeans.TestBean;
@@ -29,6 +30,7 @@ import org.apache.jorphan.util.JMeterExc
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@GUIMenuSortOrder(Integer.MAX_VALUE)
 public class BeanShellPostProcessor extends BeanShellTestElement
     implements Cloneable, PostProcessor, TestBean
 {

Modified: jmeter/trunk/src/components/org/apache/jmeter/extractor/JSR223PostProcessor.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/extractor/JSR223PostProcessor.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/extractor/JSR223PostProcessor.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/extractor/JSR223PostProcessor.java Wed Dec
20 09:48:06 2017
@@ -23,12 +23,14 @@ import java.io.IOException;
 import javax.script.ScriptEngine;
 import javax.script.ScriptException;
 
+import org.apache.jmeter.gui.GUIMenuSortOrder;
 import org.apache.jmeter.processor.PostProcessor;
 import org.apache.jmeter.testbeans.TestBean;
 import org.apache.jmeter.util.JSR223TestElement;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@GUIMenuSortOrder(5)
 public class JSR223PostProcessor extends JSR223TestElement implements Cloneable, PostProcessor,
TestBean
 {
     private static final Logger log = LoggerFactory.getLogger(JSR223PostProcessor.class);

Modified: jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/BoundaryExtractorGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/BoundaryExtractorGui.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/BoundaryExtractorGui.java
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/BoundaryExtractorGui.java
Wed Dec 20 09:48:06 2017
@@ -33,6 +33,7 @@ import javax.swing.JRadioButton;
 
 import org.apache.jmeter.extractor.BoundaryExtractor;
 import org.apache.jmeter.extractor.RegexExtractor;
+import org.apache.jmeter.gui.GUIMenuSortOrder;
 import org.apache.jmeter.processor.gui.AbstractPostProcessorGui;
 import org.apache.jmeter.testelement.AbstractScopedTestElement;
 import org.apache.jmeter.testelement.TestElement;
@@ -43,6 +44,7 @@ import org.apache.jorphan.gui.JLabeledTe
  * Boundary Extractor Post-Processor GUI
  * @since 4.0
  */
+@GUIMenuSortOrder(4)
 public class BoundaryExtractorGui extends AbstractPostProcessorGui {
     private static final long serialVersionUID = 240L;
 

Modified: jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/HtmlExtractorGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/HtmlExtractorGui.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/HtmlExtractorGui.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/HtmlExtractorGui.java Wed
Dec 20 09:48:06 2017
@@ -46,7 +46,7 @@ import org.apache.jorphan.gui.JLabeledTe
  * CSS/JQuery Expression Extractor Post-Processor GUI
  * @since 2.9
  */
-@GUIMenuSortOrder(2)
+@GUIMenuSortOrder(1)
 public class HtmlExtractorGui extends AbstractPostProcessorGui {
     private static final long serialVersionUID = 240L;
 

Modified: jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/RegexExtractorGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/RegexExtractorGui.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/RegexExtractorGui.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/RegexExtractorGui.java Wed
Dec 20 09:48:06 2017
@@ -42,7 +42,7 @@ import org.apache.jorphan.gui.JLabeledTe
 /**
  * Regular Expression Extractor Post-Processor GUI
  */
-@GUIMenuSortOrder(1)
+@GUIMenuSortOrder(4)
 public class RegexExtractorGui extends AbstractPostProcessorGui {
     private static final long serialVersionUID = 240L;
 

Modified: jmeter/trunk/src/components/org/apache/jmeter/extractor/json/jsonpath/gui/JSONPostProcessorGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/extractor/json/jsonpath/gui/JSONPostProcessorGui.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/extractor/json/jsonpath/gui/JSONPostProcessorGui.java
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/extractor/json/jsonpath/gui/JSONPostProcessorGui.java
Wed Dec 20 09:48:06 2017
@@ -40,7 +40,7 @@ import org.apache.jorphan.gui.JLabeledTe
  * GUI for {@link JSONPostProcessor}
  * @since 3.0
  */
-@GUIMenuSortOrder(3)
+@GUIMenuSortOrder(2)
 public class JSONPostProcessorGui extends AbstractPostProcessorGui {
 
     private static final long serialVersionUID = -2845056031828291476L;

Modified: jmeter/trunk/src/components/org/apache/jmeter/modifiers/BeanShellPreProcessor.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/modifiers/BeanShellPreProcessor.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/modifiers/BeanShellPreProcessor.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/modifiers/BeanShellPreProcessor.java Wed
Dec 20 09:48:06 2017
@@ -18,6 +18,7 @@
 
 package org.apache.jmeter.modifiers;
 
+import org.apache.jmeter.gui.GUIMenuSortOrder;
 import org.apache.jmeter.processor.PreProcessor;
 import org.apache.jmeter.samplers.Sampler;
 import org.apache.jmeter.testbeans.TestBean;
@@ -29,6 +30,7 @@ import org.apache.jorphan.util.JMeterExc
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@GUIMenuSortOrder(Integer.MAX_VALUE)
 public class BeanShellPreProcessor extends BeanShellTestElement
     implements Cloneable, PreProcessor, TestBean
 {

Modified: jmeter/trunk/src/components/org/apache/jmeter/modifiers/JSR223PreProcessor.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/modifiers/JSR223PreProcessor.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/modifiers/JSR223PreProcessor.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/modifiers/JSR223PreProcessor.java Wed Dec
20 09:48:06 2017
@@ -23,12 +23,14 @@ import java.io.IOException;
 import javax.script.ScriptEngine;
 import javax.script.ScriptException;
 
+import org.apache.jmeter.gui.GUIMenuSortOrder;
 import org.apache.jmeter.processor.PreProcessor;
 import org.apache.jmeter.testbeans.TestBean;
 import org.apache.jmeter.util.JSR223TestElement;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@GUIMenuSortOrder(1)
 public class JSR223PreProcessor extends JSR223TestElement implements Cloneable, PreProcessor,
TestBean
 {
     private static final Logger log = LoggerFactory.getLogger(JSR223PreProcessor.class);

Modified: jmeter/trunk/src/components/org/apache/jmeter/sampler/gui/TestActionGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/sampler/gui/TestActionGui.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/sampler/gui/TestActionGui.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/sampler/gui/TestActionGui.java Wed Dec 20
09:48:06 2017
@@ -25,6 +25,7 @@ import javax.swing.JLabel;
 import javax.swing.JRadioButton;
 import javax.swing.JTextField;
 
+import org.apache.jmeter.gui.GUIMenuSortOrder;
 import org.apache.jmeter.gui.util.HorizontalPanel;
 import org.apache.jmeter.sampler.TestAction;
 import org.apache.jmeter.samplers.gui.AbstractSamplerGui;
@@ -32,6 +33,7 @@ import org.apache.jmeter.testelement.Tes
 import org.apache.jmeter.util.JMeterUtils;
 import org.apache.jorphan.gui.layout.VerticalLayout;
 
+@GUIMenuSortOrder(1)
 public class TestActionGui extends AbstractSamplerGui {
     private static final long serialVersionUID = 240L;
 

Modified: jmeter/trunk/src/components/org/apache/jmeter/timers/BeanShellTimer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/timers/BeanShellTimer.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/timers/BeanShellTimer.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/timers/BeanShellTimer.java Wed Dec 20 09:48:06
2017
@@ -18,6 +18,7 @@
 
 package org.apache.jmeter.timers;
 
+import org.apache.jmeter.gui.GUIMenuSortOrder;
 import org.apache.jmeter.testbeans.TestBean;
 import org.apache.jmeter.util.BeanShellInterpreter;
 import org.apache.jmeter.util.BeanShellTestElement;
@@ -25,6 +26,7 @@ import org.apache.jorphan.util.JMeterExc
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@GUIMenuSortOrder(Integer.MAX_VALUE)
 public class BeanShellTimer extends BeanShellTestElement implements Cloneable, Timer, TestBean
{
     private static final Logger log = LoggerFactory.getLogger(BeanShellTimer.class);
 

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/BeanShellListener.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/BeanShellListener.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/BeanShellListener.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/BeanShellListener.java Wed Dec
20 09:48:06 2017
@@ -18,6 +18,7 @@
 
 package org.apache.jmeter.visualizers;
 
+import org.apache.jmeter.gui.GUIMenuSortOrder;
 import org.apache.jmeter.gui.UnsharedComponent;
 import org.apache.jmeter.samplers.SampleEvent;
 import org.apache.jmeter.samplers.SampleListener;
@@ -33,6 +34,7 @@ import org.slf4j.LoggerFactory;
  * We must implement Visualizer so that TestBeanGUI can find the correct GUI class
  *
  */
+@GUIMenuSortOrder(Integer.MAX_VALUE)
 public class BeanShellListener extends BeanShellTestElement
     implements Cloneable, SampleListener, TestBean, Visualizer, UnsharedComponent  {
     

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/BackendListenerGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/BackendListenerGui.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/BackendListenerGui.java
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/BackendListenerGui.java
Wed Dec 20 09:48:06 2017
@@ -38,6 +38,7 @@ import org.apache.commons.lang3.ArrayUti
 import org.apache.jmeter.config.Argument;
 import org.apache.jmeter.config.Arguments;
 import org.apache.jmeter.config.gui.ArgumentsPanel;
+import org.apache.jmeter.gui.GUIMenuSortOrder;
 import org.apache.jmeter.gui.util.HorizontalPanel;
 import org.apache.jmeter.testelement.TestElement;
 import org.apache.jmeter.testelement.property.JMeterProperty;
@@ -52,6 +53,7 @@ import org.slf4j.LoggerFactory;
  * {@link BackendListener} object.
  * @since 2.13
  */
+@GUIMenuSortOrder(4)
 public class BackendListenerGui extends AbstractListenerGui implements ActionListener {
 
     private static final long serialVersionUID = 1L;

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/GUIMenuSortOrder.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/GUIMenuSortOrder.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/GUIMenuSortOrder.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/GUIMenuSortOrder.java Wed Dec 20 09:48:06
2017
@@ -22,6 +22,8 @@ import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
+import org.apache.jmeter.gui.util.MenuInfo;
+
 /**
  * Annotation to allow specific ordering of this item in the GUI Menu
  * @since 4.0
@@ -29,5 +31,5 @@ import java.lang.annotation.Target;
 @Retention(RetentionPolicy.RUNTIME)
 @Target(ElementType.TYPE)
 public @interface GUIMenuSortOrder {
-    int value() default Integer.MAX_VALUE;
+    int value() default MenuInfo.SORT_ORDER_DEFAULT;
 }

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/util/MenuInfo.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/util/MenuInfo.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/util/MenuInfo.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/util/MenuInfo.java Wed Dec 20 09:48:06 2017
@@ -26,7 +26,7 @@ import org.apache.jmeter.gui.JMeterGUICo
  */
 public class MenuInfo {
 
-    public static final int SORT_ORDER_DEFAULT = Integer.MAX_VALUE;
+    public static final int SORT_ORDER_DEFAULT = 100;
     private final String label;
     private final String className;
     private final JMeterGUIComponent guiComp;

Modified: jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.java?rev=1818766&r1=1818765&r2=1818766&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.java
(original)
+++ jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.java
Wed Dec 20 09:48:06 2017
@@ -24,6 +24,7 @@ import java.util.Set;
 
 import org.apache.jmeter.config.ConfigTestElement;
 import org.apache.jmeter.engine.util.ConfigMergabilityIndicator;
+import org.apache.jmeter.gui.GUIMenuSortOrder;
 import org.apache.jmeter.samplers.Entry;
 import org.apache.jmeter.samplers.Interruptible;
 import org.apache.jmeter.samplers.SampleResult;
@@ -39,6 +40,7 @@ import org.slf4j.LoggerFactory;
  * A sampler which understands BeanShell
  *
  */
+@GUIMenuSortOrder(Integer.MAX_VALUE)
 public class BeanShellSampler extends BeanShellTestElement implements Sampler, Interruptible,
ConfigMergabilityIndicator
 {
     private static final Set<String> APPLIABLE_CONFIG_CLASSES = new HashSet<>(



Mime
View raw message