Ignore:
Timestamp:
09/20/12 12:03:03 (12 years ago)
Author:
sherbold
Message:
  • code documentation and clean-up
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-plugin-mfc/src/main/java/de/ugoe/cs/quest/plugin/mfc/eventcore/WindowsMessage.java

    r774 r837  
     1 
    12package de.ugoe.cs.quest.plugin.mfc.eventcore; 
    23 
     
    1718 *  
    1819 */ 
    19 public class WindowsMessage  implements Serializable { 
     20public class WindowsMessage implements Serializable { 
    2021 
    2122    /** 
     
    7677     * @param type 
    7778     *            type of the message 
    78      * @param currentMessageParameters  
    79      * @param target  
    80      */ 
    81     public WindowsMessage(WindowsMessageType  type, 
    82                           MFCGUIElement       target, 
     79     * @param currentMessageParameters 
     80     * @param target 
     81     */ 
     82    public WindowsMessage(WindowsMessageType type, 
     83                          MFCGUIElement target, 
    8384                          Map<String, Object> messageParameters) 
    8485    { 
    8586        this.type = type; 
    8687        setTarget(target); 
    87          
     88 
    8889        for (Map.Entry<String, Object> entry : messageParameters.entrySet()) { 
    8990            addParameter(entry.getKey(), entry.getValue()); 
     
    99100     *            type of the message 
    100101     */ 
    101     public WindowsMessage(WindowsMessageType type) 
    102     { 
     102    public WindowsMessage(WindowsMessageType type) { 
    103103        this.type = type; 
    104104    } 
     
    137137    /** 
    138138     * <p> 
    139      * TODO: comment 
    140      * </p> 
    141      * 
    142      * @param target2 
     139     * Sets the message target. 
     140     * </p> 
     141     *  
     142     * @param target 
     143     *            the target 
    143144     */ 
    144145    public void setTarget(MFCGUIElement target) { 
     
    149150    /** 
    150151     * <p> 
    151      * TODO: comment 
    152      * </p> 
    153      * 
    154      * @return 
     152     * Returns the target of the message. 
     153     * </p> 
     154     *  
     155     * @return the target 
    155156     */ 
    156157    public MFCGUIElement getTarget() { 
    157158        return target; 
    158159    } 
    159      
     160 
    160161    /** 
    161162     * <p> 
     
    189190            isEqual = 
    190191                ((WindowsMessage) other).type == this.type && 
    191                 ((WindowsMessage) other).target.equals(this.target) && 
    192                 ((WindowsMessage) other).params.equals(this.params); 
     192                    ((WindowsMessage) other).target.equals(this.target) && 
     193                    ((WindowsMessage) other).params.equals(this.params); 
    193194        } 
    194195        return isEqual; 
     
    259260    /** 
    260261     * <p> 
    261      * TODO: comment 
    262      * </p> 
    263      * 
    264      * @return 
     262     * Returns the parameters associated with this message. 
     263     * </p> 
     264     *  
     265     * @return the parameters 
    265266     */ 
    266267    protected Map<String, Object> getParameters() { 
     
    270271    /** 
    271272     * <p> 
    272      * TODO: comment 
    273      * </p> 
    274      * 
    275      * @return 
     273     * Returns the XML target description of this message. 
     274     * </p> 
     275     *  
     276     * @return the XML target description 
    276277     */ 
    277278    public String getTargetXML() { 
Note: See TracChangeset for help on using the changeset viewer.