Changeset 940


Ignore:
Timestamp:
10/23/12 10:05:29 (12 years ago)
Author:
sherbold
Message:
  • renamed de.ugoe.cs.autoquest.plugin.mfc.guimodel.WindowTree? to MFCWindowTree.
  • corrected loading of plug-ins to use prefix "autoquest" instead of "quest"
Location:
trunk
Files:
10 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-plugin-core/.classpath

    r511 r940  
    22<classpath> 
    33        <classpathentry kind="src" output="target/classes" path="src/main/java"> 
    4                 <attributes> 
    5                         <attribute name="optional" value="true"/> 
    6                         <attribute name="maven.pomderived" value="true"/> 
    7                 </attributes> 
    8         </classpathentry> 
    9         <classpathentry kind="src" output="target/test-classes" path="src/test/java"> 
    104                <attributes> 
    115                        <attribute name="optional" value="true"/> 
  • trunk/autoquest-plugin-core/src/main/java/de/ugoe/cs/autoquest/plugin/PluginLoader.java

    r929 r940  
    248248                        return false; 
    249249                } 
    250                 return filename.startsWith("quest-plugin-") && !filename.startsWith("quest-plugin-core") 
     250                return filename.startsWith("autoquest-plugin-") && !filename.startsWith("autoquest-plugin-core") 
    251251                                && 
    252252                                ((filename.split("-").length == 4 && filename.endsWith(".jar")) || 
  • trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/EventGenerator.java

    r929 r940  
    4040import de.ugoe.cs.autoquest.plugin.mfc.eventcore.WindowsMessageType; 
    4141import de.ugoe.cs.autoquest.plugin.mfc.guimodel.MFCGUIElement; 
    42 import de.ugoe.cs.autoquest.plugin.mfc.guimodel.WindowTree; 
     42import de.ugoe.cs.autoquest.plugin.mfc.guimodel.MFCWindowTree; 
    4343import de.ugoe.cs.util.console.Console; 
    4444 
     
    124124     * </p> 
    125125     */ 
    126     private WindowTree windowTree; 
     126    private MFCWindowTree windowTree; 
    127127 
    128128    /** 
     
    131131     * </p> 
    132132     */ 
    133     public EventGenerator(WindowTree windowTree) { 
     133    public EventGenerator(MFCWindowTree windowTree) { 
    134134        rulesFile = "data/rules.xml"; 
    135135        this.windowTree = windowTree; 
  • trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/HandlerCreate.java

    r927 r940  
    1515package de.ugoe.cs.autoquest.plugin.mfc; 
    1616 
    17 import de.ugoe.cs.autoquest.plugin.mfc.guimodel.WindowTree; 
     17import de.ugoe.cs.autoquest.plugin.mfc.guimodel.MFCWindowTree; 
    1818 
    1919/** 
    2020 * <p> 
    21  * Message handler for {@code WM_CREATE} messages. The handler maintains the {@link WindowTree}. 
     21 * Message handler for {@code WM_CREATE} messages. The handler maintains the {@link MFCWindowTree}. 
    2222 * </p> 
    2323 *  
     
    3535     *                   parsing 
    3636     */ 
    37     public HandlerCreate(WindowTree windowTree) { 
     37    public HandlerCreate(MFCWindowTree windowTree) { 
    3838        super(windowTree); 
    3939    } 
  • trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/HandlerDestroy.java

    r927 r940  
    1515package de.ugoe.cs.autoquest.plugin.mfc; 
    1616 
    17 import de.ugoe.cs.autoquest.plugin.mfc.guimodel.WindowTree; 
     17import de.ugoe.cs.autoquest.plugin.mfc.guimodel.MFCWindowTree; 
    1818 
    1919/** 
    2020 * <p> 
    21  * Handler for {@code WM_DESTROY} message. The handler maintains the {@link WindowTree}. 
     21 * Handler for {@code WM_DESTROY} message. The handler maintains the {@link MFCWindowTree}. 
    2222 * </p> 
    2323 *  
     
    3535     *            the tree of GUI element specifications to be created and adapted during parsing 
    3636     */ 
    37     public HandlerDestroy(WindowTree windowTree) { 
     37    public HandlerDestroy(MFCWindowTree windowTree) { 
    3838        super(windowTree); 
    3939    } 
  • trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/HandlerSetText.java

    r927 r940  
    1515package de.ugoe.cs.autoquest.plugin.mfc; 
    1616 
    17 import de.ugoe.cs.autoquest.plugin.mfc.guimodel.WindowTree; 
     17import de.ugoe.cs.autoquest.plugin.mfc.guimodel.MFCWindowTree; 
    1818 
    1919/** 
    2020 * <p> 
    21  * Handles {@code WM_SETTEXT} messages. Handler maintains the {@link WindowTree}. 
     21 * Handles {@code WM_SETTEXT} messages. Handler maintains the {@link MFCWindowTree}. 
    2222 * </p> 
    2323 *  
     
    3535     *            the tree of GUI element specifications to be created and adapted during parsing 
    3636     */ 
    37     public HandlerSetText(WindowTree windowTree) { 
     37    public HandlerSetText(MFCWindowTree windowTree) { 
    3838        super(windowTree); 
    3939    } 
  • trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/MFCLogParser.java

    r927 r940  
    4545import de.ugoe.cs.autoquest.plugin.mfc.eventcore.WindowsMessageType; 
    4646import de.ugoe.cs.autoquest.plugin.mfc.guimodel.MFCGUIElement; 
    47 import de.ugoe.cs.autoquest.plugin.mfc.guimodel.WindowTree; 
     47import de.ugoe.cs.autoquest.plugin.mfc.guimodel.MFCWindowTree; 
    4848import de.ugoe.cs.util.StringTools; 
    4949import de.ugoe.cs.util.console.Console; 
     
    7575     * </p> 
    7676     */ 
    77     private WindowTree currentWindowTree; 
     77    private MFCWindowTree currentWindowTree; 
    7878 
    7979    /** 
     
    273273            // of thread problems. So instead of creating a new GUI model, preserve it. 
    274274            if (currentWindowTree == null) { 
    275                 currentWindowTree = new WindowTree(); 
     275                currentWindowTree = new MFCWindowTree(); 
    276276            } 
    277277            sequenceSplitter = new SequenceSplitter(currentWindowTree); 
  • trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/MessageHandler.java

    r927 r940  
    1515package de.ugoe.cs.autoquest.plugin.mfc; 
    1616 
    17 import de.ugoe.cs.autoquest.plugin.mfc.guimodel.WindowTree; 
     17import de.ugoe.cs.autoquest.plugin.mfc.guimodel.MFCWindowTree; 
    1818 
    1919/** 
     
    3535     * </p> 
    3636     */ 
    37     private WindowTree windowTree; 
     37    private MFCWindowTree windowTree; 
    3838 
    3939    /** 
     
    4545     *                   parsing 
    4646     */ 
    47     protected MessageHandler(WindowTree windowTree) { 
     47    protected MessageHandler(MFCWindowTree windowTree) { 
    4848        this.windowTree = windowTree; 
    4949    } 
     
    7878     * @return the window tree created and adapted during parsing 
    7979     */ 
    80     protected WindowTree getWindowTree() { 
     80    protected MFCWindowTree getWindowTree() { 
    8181        return windowTree; 
    8282    } 
  • trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/SequenceSplitter.java

    r927 r940  
    2222import de.ugoe.cs.autoquest.plugin.mfc.eventcore.WindowsMessage; 
    2323import de.ugoe.cs.autoquest.plugin.mfc.eventcore.WindowsMessageType; 
    24 import de.ugoe.cs.autoquest.plugin.mfc.guimodel.WindowTree; 
     24import de.ugoe.cs.autoquest.plugin.mfc.guimodel.MFCWindowTree; 
    2525import de.ugoe.cs.util.console.Console; 
    2626 
     
    8585     * </p> 
    8686     */ 
    87     public SequenceSplitter(WindowTree windowTree) { 
     87    public SequenceSplitter(MFCWindowTree windowTree) { 
    8888        currentSequence = new LinkedList<WindowsMessage>(); 
    8989        openDowns = 0; 
  • trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/guimodel/MFCGUIElementSpec.java

    r927 r940  
    2323/** 
    2424 * <p> 
    25  * This class implements a node in the {@link WindowTree} that is maintained during parsing a 
     25 * This class implements a node in the {@link MFCWindowTree} that is maintained during parsing a 
    2626 * session. 
    2727 * </p> 
     
    9797     * </p> 
    9898     * <p> 
    99      * The constructor is protected WindowTreeNode may only be created from the WindowTree. 
     99     * The constructor is protected WindowTreeNode may only be created from the MFCWindowTree. 
    100100     * </p> 
    101101     *  
  • trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/guimodel/MFCWindowTree.java

    r927 r940  
    3939 * @version 1.0 
    4040 */ 
    41 public class WindowTree { 
     41public class MFCWindowTree { 
    4242 
    4343    /** 
     
    9797    /** 
    9898     * <p> 
    99      * Creates a new WindowTree. 
     99     * Creates a new MFCWindowTree. 
    100100     * </p> 
    101101     * <p> 
     
    103103     * </p> 
    104104     */ 
    105     public WindowTree() { 
     105    public MFCWindowTree() { 
    106106        guiElementSpecs = new HashMap<Long, MFCGUIElementSpec>(); 
    107107        targets = new HashSet<MFCGUIElementSpec>(); 
     
    282282    /** 
    283283     * <p> 
    284      * Returns the number of nodes contained in the WindowTree. 
     284     * Returns the number of nodes contained in the MFCWindowTree. 
    285285     * </p> 
    286286     *  
Note: See TracChangeset for help on using the changeset viewer.