Ignore:
Timestamp:
06/16/11 15:05:59 (13 years ago)
Author:
sherbold
Message:

+ introduced de.ugoe.cs.eventbench.windows.WindowsEvent?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/EventGenerator.java

    r58 r77  
    1717import org.jdom.input.SAXBuilder; 
    1818 
    19 import de.ugoe.cs.eventbench.data.Event; 
    20 import de.ugoe.cs.eventbench.data.ReplayableEvent; 
    2119import de.ugoe.cs.eventbench.windows.data.WindowTree; 
    2220import de.ugoe.cs.eventbench.windows.data.WindowTreeNode; 
     
    8179         * </p> 
    8280         */ 
    83         private ReplayableEvent<WindowsMessage> currentToken; 
     81        private WindowsEvent currentToken; 
    8482 
    8583        /** 
     
    119117         * <p> 
    120118         * Tries to match the rules to the given sequence to generate an 
    121          * {@link Event}. 
     119         * {@link WindowsEvent}. 
    122120         * </p> 
    123121         * <p> 
     
    132130         */ 
    133131        @SuppressWarnings("unchecked") 
    134         public Event<WindowsMessage> generateEvent(List<WindowsMessage> sequence) { 
     132        public WindowsEvent generateEvent(List<WindowsMessage> sequence) { 
    135133                Document rulesDoc = getDocument(rulesFile); 
    136134                Element rulesRoot = rulesDoc.getRootElement(); 
     
    144142                        Element currentRule = ruleElements.get(ruleIndex); 
    145143                        currentRuleName = currentRule.getAttributeValue("name"); 
    146                         currentToken = new ReplayableEvent<WindowsMessage>(currentRuleName); 
     144                        currentToken = new WindowsEvent(currentRuleName); 
    147145                        currentToken.setDecorator(MFCReplayDecorator.getInstance()); 
    148146                        isMatch = true; 
Note: See TracChangeset for help on using the changeset viewer.