net.sf.zekr.ui
Class SwtBrowserUtils

java.lang.Object
  extended by net.sf.zekr.ui.SwtBrowserUtils

public class SwtBrowserUtils
extends java.lang.Object

Author:
Mohsen Saboorian

Constructor Summary
SwtBrowserUtils()
           
 
Method Summary
static void trickyExecute(org.eclipse.swt.widgets.Display display, org.eclipse.swt.browser.Browser browser, java.lang.String script)
          Tricky execution of a script using a deferred thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwtBrowserUtils

public SwtBrowserUtils()
Method Detail

trickyExecute

public static void trickyExecute(org.eclipse.swt.widgets.Display display,
                                 org.eclipse.swt.browser.Browser browser,
                                 java.lang.String script)
Tricky execution of a script using a deferred thread. This is a workaround for Mozilla issue which causes scripts from within the context of a callback (TitleListener or StatusTextListener) not to execute.

Parameters:
display -
browser -
script -