/**
 Copyright 2017 John Kester (Jack Kester)

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 */

package com.github.slidekb.api;

/**
 * @author JackSec
 */
public interface SlideBarPlugin {

    /**
     * returns the priority for the plugin
     * not currently used for anything yet
     * 
     * @return
     */
    public int getPriority();

    /**
     * name displayed in master configuration window/ main application.
     * 
     * @return
     */
    public String getLabelName();

    /**
     * runs while exe current window or hotkey is being pressed
     */
    public void run();

    /**
     * runs on first .exe match or hotkeypress. used to set up run();
     */
    public void runFirst();

    /**
     * sets the SlideBar
     * 
     * @param Slider
     */
    public void setSlider(Slider slider, int position);

    public int numberOfSlidersRequired();
}

@@ -862,15 +862,8 @@
  in 
-master 
 conf
@@ -878,17 +878,20 @@
 n window
-/
+ and
  main ap
@@ -986,64 +986,174 @@
   * 
-runs while exe current window or hotkey is being pressed
+Ran once when the plugin is loaded. Put code to initialize the plugin in this.%0A     */%0A    public void setup();%0A%0A    /**%0A     * Runs the main functions of this plugin
 %0A   
@@ -1200,32 +1200,23 @@
   * 
-r
+R
 uns on 
-first .exe match
+process
  or 
@@ -1221,21 +1221,23 @@
 r hotkey
-press
+ change
 . used t
@@ -1250,17 +1250,16 @@
 up run()
-;
 %0A     */
@@ -1303,18 +1303,21 @@
 %0A     * 
-se
+Injec
 ts the S
@@ -1320,19 +1320,34 @@
 he Slide
-Bar
+r at the set index
 %0A     * 
@@ -1425,19 +1425,142 @@
 int 
-position);%0A
+index);%0A%0A    /**%0A     * The number of sliders this plugin needs%0A     * %0A     * @return The number of sliders this plugin needs%0A     */
 %0A   

Add setup method and change some javadocs