Changeset 141
- Timestamp:
- 08/01/11 13:54:30 (13 years ago)
- Location:
- trunk/EventBenchConsole
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/rules/ruleSchema.xsd
r27 r141 190 190 <xs:enumeration value="hwnd"/> 191 191 <xs:enumeration value="parentTarget"/> 192 <xs:enumeration value="parentClass"/> 192 193 </xs:restriction> 193 194 </xs:simpleType> -
trunk/EventBenchConsole/rules/rules.xml
r62 r141 56 56 </rule> 57 57 58 59 <!-- The tab change itself works, but the content of the tab is not refreshed. -->60 58 <rule name="TabChange"> 61 59 <msg type="&WM_LBUTTONDOWN;"> … … 73 71 <store var="up"/> 74 72 </msg> 73 <!-- tab change message for Tab Controls--> 75 74 <genMsg delay="20"> 76 75 <type> … … 79 78 <target> 80 79 <msgInfoValue obj="up" msgParam="target"/> 80 </target> 81 <WPARAM> 82 <paramValue obj="up" param="scrollPos"/> 83 </WPARAM> 84 </genMsg> 85 <!-- tab change message for Property Pages--> 86 <genMsg delay="20"> 87 <type> 88 <constValue value="1125"/> 89 </type> 90 <target> 91 <winInfoValue obj="up" winParam="parentTarget"/> 81 92 </target> 82 93 <WPARAM> -
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/EventGenerator.java
r77 r141 564 564 } 565 565 value = target.substring(0, index); 566 } else if (paramString.equals("parentClass")) { 567 value = varMessage.getParentClass(); 566 568 } 567 569 } -
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/data/WindowsMessage.java
r90 r141 19 19 private String xmlWindowDescription = ""; 20 20 private String parentNames = null; 21 private String parentClass = null; 21 22 22 23 private long LPARAM = 0; … … 115 116 xmlWindowDescription = node.xmlRepresentation(); 116 117 parentNames = node.getParentNames(); 118 WindowTreeNode parent = node.getParent(); 119 if( parent==null ) { 120 parentClass = ""; 121 } else { 122 parentClass = parent.getClassName(); 123 } 117 124 } 118 125 } … … 168 175 public String getParentNames() { 169 176 return parentNames; 177 } 178 179 public String getParentClass() { 180 return parentClass; 170 181 } 171 182
Note: See TracChangeset
for help on using the changeset viewer.