/**
 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;

import javax.swing.JFrame;

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

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

    /**
     * returns either the .exe names or a "toString form of hotkeys" in a list.
     * 
     * @return
     */
    public String[] getProcessNames();

    /**
     * If true, this plugin uses process names. If false, this plugin uses hotkeys.
     * 
     * @return true if processes, false otherwise
     */
    public boolean usesProcessNames();
    
    /**
     * name displayed in master configuration window/ main application.
     * 
     * @return
     */
    public String getLabelName();

    /**
     * runs while exe current window or hotkey is being pressed
     * 
     * @param process
     */
    public void run(String process);
    
    /**
     * runs on first .exe match or hotkeypress. used to set up run();
     * 
     * @param process
     */
    public void runFirst(String process);

    /**
     * returns configuration window.
     * optional for now
     * @return
     */
    public JFrame getConfigWindow();

    

    public JFrame getProcessWindow();

    /**
     * reloads the property file or whatever file needed when this runs
     * 
     */
    public void reloadPropFile();

    /**
     * sets the alpha key manager
     * optional
     * @param alphaKeyManager
     */
    public void setAlphaKeyManager(AlphaKeyManager alphaKeyManager);

    /**
     * sets the hot key manager
     * optional
     * @param hotKeyManager
     */
    public void setHotKeyManager(HotKeyManager hotKeyManager);
    
    /**
     * sets the SlideBar manager
     * @param sliderManager
     */
	public void setSliderManager(SliderManager sliderManager);
}

@@ -611,36 +611,8 @@
 i;%0A%0A
-import javax.swing.JFrame;%0A%0A
 /**%0A
@@ -762,32 +762,40 @@
 hing yet%0A     * 
+%0A     * 
 @return%0A     */%0A
@@ -828,369 +828,8 @@
 ();%0A
-%0A    /**%0A     * returns either the .exe names or a %22toString form of hotkeys%22 in a list.%0A     * %0A     * @return%0A     */%0A    public String%5B%5D getProcessNames();%0A%0A    /**%0A     * If true, this plugin uses process names. If false, this plugin uses hotkeys.%0A     * %0A     * @return true if processes, false otherwise%0A     */%0A    public boolean usesProcessNames();%0A    
 %0A   
@@ -1047,38 +1047,8 @@
 sed%0A
-     * %0A     * @param process%0A
     
@@ -1075,29 +1075,11 @@
 run(
-String process);%0A    
+);%0A
 %0A   
@@ -1157,38 +1157,8 @@
 ();%0A
-     * %0A     * @param process%0A
     
@@ -1190,22 +1190,8 @@
 rst(
-String process
 );%0A%0A
@@ -1209,640 +1209,8 @@
   * 
-returns configuration window.%0A     * optional for now%0A     * @return%0A     */%0A    public JFrame getConfigWindow();%0A%0A    %0A%0A    public JFrame getProcessWindow();%0A%0A    /**%0A     * reloads the property file or whatever file needed when this runs%0A     * %0A     */%0A    public void reloadPropFile();%0A%0A    /**%0A     * sets the alpha key manager%0A     * optional%0A     * @param alphaKeyManager%0A     */%0A    public void setAlphaKeyManager(AlphaKeyManager alphaKeyManager);%0A%0A    /**%0A     * sets the hot key manager%0A     * optional%0A     * @param hotKeyManager%0A     */%0A    public void setHotKeyManager(HotKeyManager hotKeyManager);%0A    %0A    /**%0A     * 
 sets
@@ -1226,24 +1226,32 @@
 eBar manager
+%0A     * 
 %0A     * @par
@@ -1279,9 +1279,12 @@
  */%0A
-%09
+    
 publ

Remove unused methods from plugin API