- Timestamp:
- 06/16/11 15:05:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/EventGenerator.java
r58 r77 17 17 import org.jdom.input.SAXBuilder; 18 18 19 import de.ugoe.cs.eventbench.data.Event;20 import de.ugoe.cs.eventbench.data.ReplayableEvent;21 19 import de.ugoe.cs.eventbench.windows.data.WindowTree; 22 20 import de.ugoe.cs.eventbench.windows.data.WindowTreeNode; … … 81 79 * </p> 82 80 */ 83 private ReplayableEvent<WindowsMessage>currentToken;81 private WindowsEvent currentToken; 84 82 85 83 /** … … 119 117 * <p> 120 118 * Tries to match the rules to the given sequence to generate an 121 * {@link Event}.119 * {@link WindowsEvent}. 122 120 * </p> 123 121 * <p> … … 132 130 */ 133 131 @SuppressWarnings("unchecked") 134 public Event<WindowsMessage>generateEvent(List<WindowsMessage> sequence) {132 public WindowsEvent generateEvent(List<WindowsMessage> sequence) { 135 133 Document rulesDoc = getDocument(rulesFile); 136 134 Element rulesRoot = rulesDoc.getRootElement(); … … 144 142 Element currentRule = ruleElements.get(ruleIndex); 145 143 currentRuleName = currentRule.getAttributeValue("name"); 146 currentToken = new ReplayableEvent<WindowsMessage>(currentRuleName);144 currentToken = new WindowsEvent(currentRuleName); 147 145 currentToken.setDecorator(MFCReplayDecorator.getInstance()); 148 146 isMatch = true;
Note: See TracChangeset
for help on using the changeset viewer.