Ignore:
Timestamp:
08/22/12 15:53:43 (12 years ago)
Author:
sherbold
Message:
  • rewrote create of GUI elements by the IGUIElementFactory implementations. We now do not require platform-specific GUI element factories. Instead, mappings files located in the folder data/guimappings that start with guimapping- and and with .txt are used to determine which classes in the GUI structure belong to which GUI elements.
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

    r573 r585  
    4040import de.ugoe.cs.quest.eventcore.gui.MouseButtonUp; 
    4141import de.ugoe.cs.quest.eventcore.gui.MouseClick; 
     42import de.ugoe.cs.quest.eventcore.guimodel.AbstractDefaultGUIElementFactory; 
    4243import de.ugoe.cs.quest.eventcore.guimodel.GUIModel; 
    4344import de.ugoe.cs.quest.eventcore.guimodel.GUIModelException; 
     
    4546import de.ugoe.cs.quest.plugin.jfc.eventcore.JFCEvent; 
    4647import de.ugoe.cs.quest.plugin.jfc.eventcore.JFCEventId; 
    47 import de.ugoe.cs.quest.plugin.jfc.guimodel.JFCGUIElementFactory; 
    4848import de.ugoe.cs.quest.plugin.jfc.guimodel.JFCGUIElementSpec; 
    4949import de.ugoe.cs.tasktree.keyboardmaps.VirtualKey; 
     
    394394                IGUIElement currentGUIElement; 
    395395                try { 
     396                    // TODO right now, there is null pointer exception possible, if the factory cannot create a the GUIElement. We need to devise where and how this should be handled best 
    396397                    currentGUIElement = guiModel.integratePath 
    397                         (currentGuiElementPath, JFCGUIElementFactory.getInstance()); 
     398                        (currentGuiElementPath, AbstractDefaultGUIElementFactory.getInstance()); 
    398399                } 
    399400                catch (GUIModelException e) { 
Note: See TracChangeset for help on using the changeset viewer.