package kg.apc.jmeter.modifiers;

import java.awt.BorderLayout;
import kg.apc.jmeter.JMeterPluginsUtils;
import org.apache.jmeter.processor.gui.AbstractPreProcessorGui;
import org.apache.jmeter.testelement.TestElement;

public class AnchorModifierGui extends AbstractPreProcessorGui {

    private static final String WIKIPAGE = "SpiderPreProcessor";

    public AnchorModifierGui() {
        init();
    }

    @Override
    public String getStaticLabel() {
        return JMeterPluginsUtils.prefixLabel("Spider PreProcessor");
    }

    public String getLabelResource() {
        return this.getClass().getName();
    }

    public TestElement createTestElement() {
        AnchorModifier modifier = new AnchorModifier();
        modifyTestElement(modifier);
        return modifier;
    }

    /**
     * Modifies a given TestElement to mirror the data in the gui components.
     *
     * @see
     * org.apache.jmeter.gui.JMeterGUIComponent#modifyTestElement(TestElement)
     */
    public void modifyTestElement(TestElement modifier) {
        configureTestElement(modifier);
    }

    private void init() {
        setLayout(new BorderLayout(0, 5));
        setBorder(makeBorder());

        add(JMeterPluginsUtils.addHelpLinkToPanel(makeTitlePanel(), WIKIPAGE), BorderLayout.NORTH);

        add(makeTitlePanel(), BorderLayout.NORTH);
    }
}

@@ -374,24 +374,41 @@
 fierGui() %7B%0A
+        super();%0A
         init
@@ -407,24 +407,24 @@
     init();%0A
-
     %7D%0A%0A    @
@@ -538,32 +538,46 @@
 essor%22);%0A    %7D%0A%0A
+    @Override%0A
     public Strin
@@ -644,24 +644,38 @@
 e();%0A    %7D%0A%0A
+    @Override%0A
     public T
@@ -1024,16 +1024,30 @@
      */%0A
+    @Override%0A
     publ
@@ -1242,24 +1242,24 @@
 Border());%0A%0A
+
         add(
@@ -1349,60 +1349,8 @@
 TH);
-%0A%0A        add(makeTitlePanel(), BorderLayout.NORTH);
 %0A   

Fix help link not displayed