Changeset 592


Ignore:
Timestamp:
08/23/12 13:37:59 (12 years ago)
Author:
pharms
Message:
  • renamed former abstract factory so that the class names shows, that it is no more abstract and that is does not need to be overwritten
File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/guimodel/GUIElementFactory.java

    r586 r592  
    2727 * @author 2012, last modified by $Author: patrick$ 
    2828 */ 
    29 public class AbstractDefaultGUIElementFactory implements IGUIElementFactory { 
     29public class GUIElementFactory implements IGUIElementFactory { 
    3030     
    3131    /** */ 
    32     private static AbstractDefaultGUIElementFactory instance = new AbstractDefaultGUIElementFactory(); 
    33  
    34     /** 
    35      * TODO: comment 
    36      *  
    37      */ 
    38     private AbstractDefaultGUIElementFactory() { 
    39     } 
    40  
    41     /** 
    42      * TODO: comment 
    43      *  
    44      * @return 
    45      */ 
    46     public static synchronized AbstractDefaultGUIElementFactory getInstance() { 
     32    private static GUIElementFactory instance = new GUIElementFactory(); 
     33 
     34    /** 
     35     * TODO: comment 
     36     *  
     37     */ 
     38    private GUIElementFactory() { 
     39    } 
     40 
     41    /** 
     42     * TODO: comment 
     43     *  
     44     * @return 
     45     */ 
     46    public static synchronized GUIElementFactory getInstance() { 
    4747        return instance; 
    4848    } 
     
    8181     */ 
    8282    @Override 
    83     public IGUIElement instantiateGUIElement(IGUIElementSpec specification) { 
     83    public IGUIElement instantiateGUIElement(IGUIElementSpec specification) 
     84        throws GUIModelConfigurationException 
     85    { 
    8486        Properties mappings = getMappingsFromConfiguration(); 
    8587        IGUIElement guiElement = null; 
Note: See TracChangeset for help on using the changeset viewer.