Author: lzoubek(a)redhat.com
Date: 2010-10-14 04:33:05 -0400 (Thu, 14 Oct 2010)
New Revision: 25816
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTJBTExt.java
Log:
swtbot ext;reverted previously deleted method, now marked as deprecated
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTJBTExt.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTJBTExt.java 2010-10-14
08:17:44 UTC (rev 25815)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTJBTExt.java 2010-10-14
08:33:05 UTC (rev 25816)
@@ -52,10 +52,18 @@
* Dynamic version of isJBDSRun Method
* @return
*/
- public boolean isJBDSRun (){
+ public static boolean isJBDSRun (){
IProduct prod = Platform.getProduct();
return prod != null;
}
+ /*
+ *
+ * check if JBoss Developer Studio is running
+ */
+ @Deprecated
+ public static boolean isJBDSRun(SWTBot bot) {
+ return isJBDSRun();
+ }
/**
* Returns JBT version (taken from version of org.jboss.tools.common plugin version)
Show replies by date