Changeset 1062


Ignore:
Timestamp:
02/12/13 16:09:56 (12 years ago)
Author:
pharms
Message:
  • moving to new version of the HTLM plugin
File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/OldHTMLLogParser.java

    r1047 r1062  
    3131 
    3232import de.ugoe.cs.autoquest.eventcore.Event; 
     33import de.ugoe.cs.autoquest.eventcore.gui.DialogClose; 
     34import de.ugoe.cs.autoquest.eventcore.gui.DialogOpen; 
    3335import de.ugoe.cs.autoquest.eventcore.gui.IInteraction; 
    3436import de.ugoe.cs.autoquest.eventcore.gui.KeyboardFocusChange; 
     
    5658 * @author Patrick Harms 
    5759 */ 
    58 public class HTMLLogParser { 
     60public class OldHTMLLogParser { 
    5961 
    6062    /** 
     
    324326            } 
    325327        } 
    326         else if ("onunload".equals(eventName) || "onbeforeunload".equals(eventName) || 
    327                  "onpagehide".equals(eventName) || "onpageshow".equals(eventName)) 
     328        else if ("onload".equals(eventName)) { 
     329            result = new DialogOpen(); 
     330        } 
     331        else if ("onunload".equals(eventName)) { 
     332            result = new DialogClose(); 
     333        } 
     334        else if ("onbeforeunload".equals(eventName) || 
     335                 "onpagehide".equals(eventName) || 
     336                 "onpageshow".equals(eventName)) 
    328337        { 
    329338            Console.traceln(Level.FINE, "Ignored event name \"" + eventName + "\""); 
Note: See TracChangeset for help on using the changeset viewer.