Changeset 946 for trunk/autoquest-plugin-mfc/src/main/java/de
- Timestamp:
- 10/26/12 10:15:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/eventcore/MFCEventTypeFactory.java
r927 r946 75 75 */ 76 76 public IEventType getEventType(String eventName, Map<String, String> messageParameters) { 77 // TODO create scrolls were necessary and correct the coordinates of scrolls and mouse 78 // clicks 77 79 if ("LeftClickButton".equals(eventName)) { 78 return new MouseClick(MouseButtonInteraction.Button.LEFT );80 return new MouseClick(MouseButtonInteraction.Button.LEFT, -1, -1); 79 81 } 80 82 else if ("LeftClickListBox".equals(eventName)) { … … 82 84 } 83 85 else if ("TabChange".equals(eventName)) { 84 return new MouseClick(MouseButtonInteraction.Button.LEFT );86 return new MouseClick(MouseButtonInteraction.Button.LEFT, -1, -1); 85 87 } 86 88 else if ("LeftClickCommand".equals(eventName)) { 87 return new MouseClick(MouseButtonInteraction.Button.LEFT );89 return new MouseClick(MouseButtonInteraction.Button.LEFT, -1, -1); 88 90 } 89 91 else if ("LeftClickSysCommand".equals(eventName)) { 90 return new MouseClick(MouseButtonInteraction.Button.LEFT );92 return new MouseClick(MouseButtonInteraction.Button.LEFT, -1, -1); 91 93 } 92 94 else if ("NCLeftClickSysCommand".equals(eventName)) { 93 return new MouseClick(MouseButtonInteraction.Button.LEFT );95 return new MouseClick(MouseButtonInteraction.Button.LEFT, -1, -1); 94 96 } 95 97 else if ("LeftClickMenuItemCmd".equals(eventName)) { 96 return new MouseClick(MouseButtonInteraction.Button.LEFT );98 return new MouseClick(MouseButtonInteraction.Button.LEFT, -1, -1); 97 99 } 98 100 else if ("HScroll_TrackBar".equals(eventName)) { … … 103 105 } 104 106 else if ("HScroll_ScrollBar".equals(eventName)) { 105 return new MouseClick(MouseButtonInteraction.Button.LEFT );107 return new MouseClick(MouseButtonInteraction.Button.LEFT, -1, -1); 106 108 } 107 109 else if ("VScroll_ScrollBar".equals(eventName)) { 108 return new MouseClick(MouseButtonInteraction.Button.LEFT );110 return new MouseClick(MouseButtonInteraction.Button.LEFT, -1, -1); 109 111 } 110 112 else if ("VScrollNC".equals(eventName)) { 111 return new MouseClick(MouseButtonInteraction.Button.LEFT );113 return new MouseClick(MouseButtonInteraction.Button.LEFT, -1, -1); 112 114 } 113 115 else if ("LeftClickSetFocus".equals(eventName)) { … … 130 132 } 131 133 else if ("LeftClickCoordinates".equals(eventName)) { 132 return new MouseClick(MouseButtonInteraction.Button.LEFT );134 return new MouseClick(MouseButtonInteraction.Button.LEFT, -1, -1); 133 135 } 134 136 else if ("NCLeftClickCoordinates".equals(eventName)) { 135 return new MouseClick(MouseButtonInteraction.Button.LEFT );137 return new MouseClick(MouseButtonInteraction.Button.LEFT, -1, -1); 136 138 } 137 139 else if ("NCLeftClickCoordinates2".equals(eventName)) { 138 return new MouseClick(MouseButtonInteraction.Button.LEFT );140 return new MouseClick(MouseButtonInteraction.Button.LEFT, -1, -1); 139 141 } 140 142 else if ("LeftClickCoordinatesTargetChanged".equals(eventName)) { 141 return new MouseClick(MouseButtonInteraction.Button.LEFT );143 return new MouseClick(MouseButtonInteraction.Button.LEFT, -1, -1); 142 144 } 143 145 else if ("LeftClickCoordinatesTargetChanged2".equals(eventName)) { 144 return new MouseClick(MouseButtonInteraction.Button.LEFT );146 return new MouseClick(MouseButtonInteraction.Button.LEFT, -1, -1); 145 147 } 146 148 else {
Note: See TracChangeset
for help on using the changeset viewer.