Changeset 837 for trunk/quest-plugin-mfc/src/main/java/de/ugoe/cs/quest/plugin/mfc/eventcore/WindowsMessage.java
- Timestamp:
- 09/20/12 12:03:03 (12 years ago)
- 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 1 2 package de.ugoe.cs.quest.plugin.mfc.eventcore; 2 3 … … 17 18 * 18 19 */ 19 public class WindowsMessage 20 public class WindowsMessage implements Serializable { 20 21 21 22 /** … … 76 77 * @param type 77 78 * type of the message 78 * @param currentMessageParameters 79 * @param target 80 */ 81 public WindowsMessage(WindowsMessageType 82 MFCGUIElement 79 * @param currentMessageParameters 80 * @param target 81 */ 82 public WindowsMessage(WindowsMessageType type, 83 MFCGUIElement target, 83 84 Map<String, Object> messageParameters) 84 85 { 85 86 this.type = type; 86 87 setTarget(target); 87 88 88 89 for (Map.Entry<String, Object> entry : messageParameters.entrySet()) { 89 90 addParameter(entry.getKey(), entry.getValue()); … … 99 100 * type of the message 100 101 */ 101 public WindowsMessage(WindowsMessageType type) 102 { 102 public WindowsMessage(WindowsMessageType type) { 103 103 this.type = type; 104 104 } … … 137 137 /** 138 138 * <p> 139 * TODO: comment 140 * </p> 141 * 142 * @param target2 139 * Sets the message target. 140 * </p> 141 * 142 * @param target 143 * the target 143 144 */ 144 145 public void setTarget(MFCGUIElement target) { … … 149 150 /** 150 151 * <p> 151 * TODO: comment152 * </p> 153 * 154 * @return 152 * Returns the target of the message. 153 * </p> 154 * 155 * @return the target 155 156 */ 156 157 public MFCGUIElement getTarget() { 157 158 return target; 158 159 } 159 160 160 161 /** 161 162 * <p> … … 189 190 isEqual = 190 191 ((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); 193 194 } 194 195 return isEqual; … … 259 260 /** 260 261 * <p> 261 * TODO: comment262 * </p> 263 * 264 * @return 262 * Returns the parameters associated with this message. 263 * </p> 264 * 265 * @return the parameters 265 266 */ 266 267 protected Map<String, Object> getParameters() { … … 270 271 /** 271 272 * <p> 272 * TODO: comment273 * </p> 274 * 275 * @return 273 * Returns the XML target description of this message. 274 * </p> 275 * 276 * @return the XML target description 276 277 */ 277 278 public String getTargetXML() {
Note: See TracChangeset
for help on using the changeset viewer.