Ignore:
Timestamp:
09/03/14 15:38:13 (10 years ago)
Author:
dmay
Message:

event durations are now configurable at compile time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/commands/CMDgenerateJacaretoReplay.java

    r1716 r1719  
    9595 */ 
    9696public class CMDgenerateJacaretoReplay implements Command { 
     97    private static final int EVENT_DURATION = 150; 
     98 
    9799    private JFCGUIElement currentFocus; 
    98100    private StructureNode structure; 
     
    238240                Event event = eventIter.next(); 
    239241 
     242                /* 
    240243                System.out.println(event.getType()); 
    241244                System.out.println(event.getTarget()); 
    242245                System.out.println("---"); 
     246                */ 
    243247 
    244248                if (event.getType() instanceof MouseButtonDown) { 
     
    472476            "<MouseEvent " 
    473477            + "procTime=\"0\" " 
    474             + "duration=\"150\" " 
     478            + "duration=\"" + EVENT_DURATION + "\" " 
    475479            + "source=\"" + target.getJacaretoHierarchy() + "\" " 
    476480            + "class=\"" + target.getSpecification().getType() + "\" " 
     
    528532            "<KeyEvent " 
    529533            + "procTime=\"0\" " 
    530             + "duration=\"150\" " 
     534            + "duration=\"" + EVENT_DURATION + "\" " 
    531535            + "source=\"" + target.getJacaretoHierarchy() + "\" " 
    532536            + "class=\"" + target.getSpecification().getType() + "\" " 
Note: See TracChangeset for help on using the changeset viewer.