Author: ljelinko
Date: 2012-09-11 12:05:10 -0400 (Tue, 11 Sep 2012)
New Revision: 43602
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTOpenExt.java
Log:
Reverted back
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTOpenExt.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTOpenExt.java 2012-09-11
15:54:46 UTC (rev 43601)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTOpenExt.java 2012-09-11
16:05:10 UTC (rev 43602)
@@ -143,13 +143,12 @@
* @return
*/
public SWTBot preferenceOpen(IPreference pref) {
- // ljelinko: debugging why shortcuts do not work on Mac with JDK 1.7
-// if (SWTJBTExt.isRunningOnMacOs()){
-// bot.shells()[0].pressShortcut(SWT.COMMAND, ',');
-// }
-// else{
+ if (SWTJBTExt.isRunningOnMacOs()){
+ bot.shells()[0].pressShortcut(SWT.COMMAND, ',');
+ }
+ else{
bot.menu("Window").menu("Preferences").click();
-// }
+ }
SWTBotShell shell = bot.shell("Preferences");
shell.activate();
try{
Show replies by date