Changeset 642


Ignore:
Timestamp:
08/27/12 17:40:57 (12 years ago)
Author:
sherbold
Message:
  • removed unnecessary class JFCEvent
Location:
trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/JFCLogParser.java

    r639 r642  
    4545import de.ugoe.cs.quest.eventcore.guimodel.GUIModelException; 
    4646import de.ugoe.cs.quest.eventcore.guimodel.IGUIElement; 
    47 import de.ugoe.cs.quest.plugin.jfc.eventcore.JFCEvent; 
    4847import de.ugoe.cs.quest.plugin.jfc.eventcore.JFCEventId; 
    4948import de.ugoe.cs.quest.plugin.jfc.guimodel.JFCGUIElementSpec; 
     
    9291    /** 
    9392     * <p> 
    94      * Internal handle to the parent parameters of the event that is currently being parsed. 
    95      * </p> 
    96      */ 
    97     private Map<String, String> currentParentParameters; 
    98  
    99     /** 
    100      * <p> 
    10193     * Internal handle to the event sequence that is currently being parsed. 
    10294     * </p> 
     
    325317                currentEventParameters = new HashMap<String, String>(); 
    326318                currentSourceParameters = new HashMap<String, String>(); 
    327                 currentParentParameters = new HashMap<String, String>(); 
    328319                paramSource = ParamSource.EVENT; 
    329320            } 
     
    336327                else if (paramSource == ParamSource.SOURCE) { 
    337328                    currentSourceParameters.put(atts.getValue("name"), atts.getValue("value")); 
    338                 } 
    339                 else if (paramSource == ParamSource.PARENT) { 
    340                     currentParentParameters.put(atts.getValue("name"), atts.getValue("value")); 
    341329                } 
    342330                else if (paramSource == ParamSource.COMPONENT) { 
     
    408396                } 
    409397                 
    410                 JFCEvent event = new JFCEvent 
     398                Event event = new Event 
    411399                    (instantiateInteraction(currentEventId, currentEventParameters), 
    412                      (currentGUIElement == null ? lastGUIElement : currentGUIElement), 
    413                      currentEventParameters, currentSourceParameters, currentParentParameters); 
     400                     (currentGUIElement == null ? lastGUIElement : currentGUIElement)); 
    414401                 
    415402                currentSequence.add(event); 
     
    417404                currentEventParameters = null; 
    418405                currentSourceParameters = null; 
    419                 currentParentParameters = null; 
    420406                currentGuiElementSpec = null; 
    421407                currentGuiElementPath.clear(); 
Note: See TracChangeset for help on using the changeset viewer.