Changeset 929


Ignore:
Timestamp:
10/17/12 11:54:37 (12 years ago)
Author:
sherbold
Message:
  • replaced occurences of QUEST/Quest/quest with AutoQUEST
Location:
trunk
Files:
12 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-plugin-core-test/src/test/java/de/ugoe/cs/autoquest/plugin/PluginLoaderTest.java

    r927 r929  
    2525import de.ugoe.cs.autoquest.plugin.PluginLoader; 
    2626import de.ugoe.cs.autoquest.plugin.PluginLoaderException; 
    27 import de.ugoe.cs.autoquest.plugin.QuestPlugin; 
     27import de.ugoe.cs.autoquest.plugin.AutoQUESTPlugin; 
    2828import static org.junit.Assert.*; 
    2929 
     
    182182                loader.load(); 
    183183                 
    184                 Collection<QuestPlugin> plugins = loader.getPlugins(); 
     184                Collection<AutoQUESTPlugin> plugins = loader.getPlugins(); 
    185185                 
    186186                assertEquals(1, plugins.size()); 
    187                 QuestPlugin plugin = plugins.iterator().next(); 
     187                AutoQUESTPlugin plugin = plugins.iterator().next(); 
    188188                assertNotNull(plugin); 
    189189                assertEquals("Mock Plugin", plugin.getTitle()); 
     
    198198                        loader.load(); 
    199199                } catch(PluginLoaderException e) { 
    200                         e.getMessage().endsWith("not instance of QuestPlugin"); 
     200                        e.getMessage().endsWith("not instance of AutoQUESTPlugin"); 
    201201                } 
    202202        } 
  • trunk/autoquest-plugin-core/src/main/java/de/ugoe/cs/autoquest/plugin/AutoQUESTPlugin.java

    r927 r929  
    1919/** 
    2020 * <p> 
    21  * Interface for QUEST plug-ins. 
     21 * Interface for AutoQUEST plug-ins. 
    2222 * </p> 
    2323 *  
     
    2525 * @version 1.0 
    2626 */ 
    27 public interface QuestPlugin { 
     27public interface AutoQUESTPlugin { 
    2828 
    2929        /** 
  • trunk/autoquest-plugin-core/src/main/java/de/ugoe/cs/autoquest/plugin/PluginLoader.java

    r927 r929  
    3333/** 
    3434 * <p> 
    35  * This class provides the functionality to load QUEST plug-ins from a 
     35 * This class provides the functionality to load AutoQUEST plug-ins from a 
    3636 * pre-defined folder. 
    3737 * </p> 
     
    5454         * </p> 
    5555         */ 
    56         private final Collection<QuestPlugin> plugins; 
     56        private final Collection<AutoQUESTPlugin> plugins; 
    5757 
    5858        /** 
     
    7777                } 
    7878                this.pluginDir = pluginDir; 
    79                 plugins = new LinkedList<QuestPlugin>(); 
     79                plugins = new LinkedList<AutoQUESTPlugin>(); 
    8080        } 
    8181 
     
    112112                        } 
    113113                        try { 
    114                                 QuestPlugin pluginObject = (QuestPlugin) pluginClass 
     114                                AutoQUESTPlugin pluginObject = (AutoQUESTPlugin) pluginClass 
    115115                                                .newInstance(); 
    116116                                plugins.add(pluginObject); 
     
    123123                        } catch (ClassCastException e) { 
    124124                                throw new PluginLoaderException("Class " + pluginClassName 
    125                                                 + " not instance of QuestPlugin"); 
     125                                                + " not instance of AutoQUESTPlugin"); 
    126126                        } 
    127127                } 
     
    232232        /** 
    233233         * <p> 
    234          * Checks if the name of a file indicates that it defines a QUEST plug-in. 
     234         * Checks if the name of a file indicates that it defines a AutoQUEST plug-in. 
    235235         * The structure of valid plug-in filenames is 
    236236         * <code>quest-plugin-%PLUGIN_NAME%-version.jar</code>, where 
     
    241241         * @param filename 
    242242         *            filename that is checked 
    243          * @return true if filename matches pattern of QUEST plug-in; false 
     243         * @return true if filename matches pattern of AutoQUEST plug-in; false 
    244244         *         otherwise 
    245245         */ 
     
    254254        } 
    255255         
    256         public Collection<QuestPlugin> getPlugins() { 
     256        public Collection<AutoQUESTPlugin> getPlugins() { 
    257257                return Collections.unmodifiableCollection(plugins); 
    258258        } 
  • trunk/autoquest-plugin-core/src/main/java/de/ugoe/cs/autoquest/plugin/PluginLoaderException.java

    r927 r929  
    1818 * <p> 
    1919 * This exception is thrown in case there is an error during the loading of 
    20  * QUEST plugins. Note that the failures during the loading may result in an 
     20 * AutoQUEST plugins. Note that the failures during the loading may result in an 
    2121 * invalid classpath and this exception should, therefore, be treated with 
    2222 * appropriate care. 
  • trunk/autoquest-plugin-guitar/src/main/java/de/ugoe/cs/autoquest/plugin/guitar/GUITARPlugin.java

    r927 r929  
    1919import java.util.List; 
    2020 
    21 import de.ugoe.cs.autoquest.plugin.QuestPlugin; 
     21import de.ugoe.cs.autoquest.plugin.AutoQUESTPlugin; 
    2222 
    2323/** 
    2424 * <p> 
    25  * Identifier class for the QUEST GUITAR plug-in. 
     25 * Identifier class for the AutoQUEST GUITAR plug-in. 
    2626 * </p> 
    2727 *  
     
    2929 * @version 1.0 
    3030 */ 
    31 public class GUITARPlugin implements QuestPlugin { 
     31public class GUITARPlugin implements AutoQUESTPlugin { 
    3232 
    3333        /** 
     
    4141         * (non-Javadoc) 
    4242         *  
    43          * @see de.ugoe.cs.autoquest.plugin.QuestPlugin#getTitle() 
     43         * @see de.ugoe.cs.autoquest.plugin.AutoQUESTPlugin#getTitle() 
    4444         */ 
    4545        @Override 
     
    5151         * (non-Javadoc) 
    5252         *  
    53          * @see de.ugoe.cs.autoquest.plugin.QuestPlugin#getCommandPackages() 
     53         * @see de.ugoe.cs.autoquest.plugin.AutoQUESTPlugin#getCommandPackages() 
    5454         */ 
    5555        @Override 
  • trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/JFCPlugin.java

    r927 r929  
    1919import java.util.List; 
    2020 
    21 import de.ugoe.cs.autoquest.plugin.QuestPlugin; 
     21import de.ugoe.cs.autoquest.plugin.AutoQUESTPlugin; 
    2222 
    2323/** 
    2424 * <p> 
    25  * Identifier class for the QUEST JFC plug-in. 
     25 * Identifier class for the AutoQUEST JFC plug-in. 
    2626 * </p> 
    2727 *  
     
    2929 * @version 1.0 
    3030 */ 
    31 public class JFCPlugin implements QuestPlugin { 
     31public class JFCPlugin implements AutoQUESTPlugin { 
    3232 
    3333    /** 
     
    4242     * (non-Javadoc) 
    4343     *  
    44      * @see de.ugoe.cs.autoquest.plugin.QuestPlugin#getTitle() 
     44     * @see de.ugoe.cs.autoquest.plugin.AutoQUESTPlugin#getTitle() 
    4545     */ 
    4646    @Override 
     
    5252     * (non-Javadoc) 
    5353     *  
    54      * @see de.ugoe.cs.autoquest.plugin.QuestPlugin#getCommandPackages() 
     54     * @see de.ugoe.cs.autoquest.plugin.AutoQUESTPlugin#getCommandPackages() 
    5555     */ 
    5656    @Override 
  • trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/EventGenerator.java

    r927 r929  
    4646 * <p> 
    4747 * Translates sequences of windows messages into {@link Event}s that can be used by the 
    48  * QUEST core libraries. 
     48 * AutoQUEST core libraries. 
    4949 * </p> 
    5050 *  
  • trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/MFCPlugin.java

    r927 r929  
    1919import java.util.List; 
    2020 
    21 import de.ugoe.cs.autoquest.plugin.QuestPlugin; 
     21import de.ugoe.cs.autoquest.plugin.AutoQUESTPlugin; 
    2222 
    2323/** 
    2424 * <p> 
    25  * Identifier class for the QUEST MFC plug-in. 
     25 * Identifier class for the AutoQUEST MFC plug-in. 
    2626 * </p> 
    2727 *  
     
    2929 * @version 1.0 
    3030 */ 
    31 public class MFCPlugin implements QuestPlugin { 
     31public class MFCPlugin implements AutoQUESTPlugin { 
    3232 
    3333        /** 
     
    4141         * (non-Javadoc) 
    4242         *  
    43          * @see de.ugoe.cs.autoquest.plugin.QuestPlugin#getTitle() 
     43         * @see de.ugoe.cs.autoquest.plugin.AutoQUESTPlugin#getTitle() 
    4444         */ 
    4545        @Override 
     
    5151         * (non-Javadoc) 
    5252         *  
    53          * @see de.ugoe.cs.autoquest.plugin.QuestPlugin#getCommandPackages() 
     53         * @see de.ugoe.cs.autoquest.plugin.AutoQUESTPlugin#getCommandPackages() 
    5454         */ 
    5555        @Override 
  • trunk/autoquest-plugin-php/src/main/java/de/ugoe/cs/autoquest/plugin/php/PHPPlugin.java

    r927 r929  
    1919import java.util.List; 
    2020 
    21 import de.ugoe.cs.autoquest.plugin.QuestPlugin; 
     21import de.ugoe.cs.autoquest.plugin.AutoQUESTPlugin; 
    2222 
    2323/** 
    2424 * <p> 
    25  * Identifier class for the QUEST PHP plug-in. 
     25 * Identifier class for the AutoQUEST PHP plug-in. 
    2626 * </p> 
    2727 *  
     
    2929 * @version 1.0 
    3030 */ 
    31 public class PHPPlugin implements QuestPlugin { 
     31public class PHPPlugin implements AutoQUESTPlugin { 
    3232 
    3333        /** 
     
    4141         * (non-Javadoc) 
    4242         *  
    43          * @see de.ugoe.cs.autoquest.plugin.QuestPlugin#getTitle() 
     43         * @see de.ugoe.cs.autoquest.plugin.AutoQUESTPlugin#getTitle() 
    4444         */ 
    4545        @Override 
     
    5151         * (non-Javadoc) 
    5252         *  
    53          * @see de.ugoe.cs.autoquest.plugin.QuestPlugin#getCommandPackages() 
     53         * @see de.ugoe.cs.autoquest.plugin.AutoQUESTPlugin#getCommandPackages() 
    5454         */ 
    5555        @Override 
  • trunk/autoquest-runner/src/main/java/de/ugoe/cs/autoquest/ui/Runner.java

    r927 r929  
    2626import de.ugoe.cs.autoquest.log4j.Log4JLogger; 
    2727import de.ugoe.cs.autoquest.plugin.PluginLoader; 
    28 import de.ugoe.cs.autoquest.plugin.QuestPlugin; 
     28import de.ugoe.cs.autoquest.plugin.AutoQUESTPlugin; 
    2929import de.ugoe.cs.autoquest.ui.swt.MainWindow; 
    3030import de.ugoe.cs.util.console.CommandExecuter; 
     
    100100        pluginLoader.load(); 
    101101 
    102         for (QuestPlugin plugin : pluginLoader.getPlugins()) { 
     102        for (AutoQUESTPlugin plugin : pluginLoader.getPlugins()) { 
    103103            for (String commandPackage : plugin.getCommandPackages()) { 
    104104                CommandExecuter.getInstance().addCommandPackage(commandPackage); 
Note: See TracChangeset for help on using the changeset viewer.