|Re: Redirect browser after close workbench [message #635973 is a reply to message #635928]
||Thu, 28 October 2010 19:10
| Sergey Kuznetsov
Registered: July 2009
thanks a lot, that works!|
28.10.10 17:51, Ivan Furnadjiev пишет:
> Hi Sergey,
> yes it possible, but currently only by using an internal RAP classes or
> custom widget. Using internal RAP classes is NOT recommended, as they
> are subject to change in any time, but this is the easier way to do it.
> Without testing myself you could try:
> String jscode = "window.location.href = 'http://www.eclipse.org';";
> JSExecutor.executeJS( jsCode );
> You could use this code in the main shell listener
> ShellListener#shellClosed for example.
> On 10/25/2010 5:53 PM, Sergey Kuznetsov wrote:
>> Is it possible to redirect browser after workbench being closed to
>> some html (bundle resource)?
Powered by FUDForum
. Page generated in 0.02145 seconds