Brian O'Gorman 9.Oct.09 05:21 PM a Web browser Client for Desktop6.2All platforms
Hi.
I have the following use-case:
- I am using com.ibm.rcp.browser.service.WebBrowser to embed an RCP browser control in my application.
- When user clicks a link that needs to open in a new window, I want to open that link in a new Embedded Browser tab.
My plan:
Add a OpenWindowListener to the WebBrowser control.
When I receive the open event, I use the BrowserFactory to create a new embedded browser tab.
HOWEVER, I cannot find a way to get the WebBrowser object from the EmbeddedBrowser in order to return it via the event.setBrowser() method from my listener.