Changeset 171 for trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/data/WindowTreeNode.java
- Timestamp:
- 09/09/11 06:23:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/data/WindowTreeNode.java
r52 r171 18 18 * 19 19 * @author Steffen Herbold 20 * @version 1.0 20 21 */ 21 22 public class WindowTreeNode { … … 69 70 */ 70 71 private List<WindowTreeNode> children; 71 72 72 73 /** 73 74 * <p> … … 263 264 xmlString = parent.xmlRepresentation(); 264 265 } 265 xmlString += "<window name=\"" + StringTools.xmlEntityReplacement(windowName) + "\" class=\"" 266 + StringTools.xmlEntityReplacement(className) + "\" resourceId=\"" + resourceId + "\" isModal=\"" 267 + isModal + "\"/>"; 266 xmlString += "<window name=\"" 267 + StringTools.xmlEntityReplacement(windowName) + "\" class=\"" 268 + StringTools.xmlEntityReplacement(className) 269 + "\" resourceId=\"" + resourceId + "\" isModal=\"" + isModal 270 + "\"/>"; 268 271 return xmlString; 269 272 } 270 273 274 /** 275 * <p> 276 * Returns the names of the parents and itself separated by dots, e.g., 277 * "GrandParent.Parent.windowName" 278 * </p> 279 * 280 * @return names of the parents separated by dots 281 */ 271 282 public String getParentNames() { 272 283 String parentNames = ""; 273 if (parent != null 274 parentNames = parent.getParentNames() +".";284 if (parent != null) { 285 parentNames = parent.getParentNames() + "."; 275 286 } 276 287 parentNames += windowName;
Note: See TracChangeset
for help on using the changeset viewer.