dcsimg
How to change the title of the View when using IWorkbenchBrowserSupport.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anu_Anand
Posted On:   Monday, November 24, 2008 08:38 AM

I have opened an internal browser (in the view)in my rcp application using IWorkbenchBrowserSupport. int browserStyle = IWorkbenchBrowserSupport.STATUS | IWorkbenchBrowserSupport.AS_VIEW | IWorkbenchBrowserSupport.PERSISTENT; try { support.createBrowser( browserStyle, ""+System.currentTimeMillis(),"anu", "toltip").openURL(new URL("www.google.com")); } catch (PartInitException e) { e.printStackTrace(); } catch (MalformedURLException e) { e.printStackTrace(); } The title of the view is always "Internal Web Browser". Anu clues how the title could be changed? Thanks Anu.    More>>

I have opened an internal browser (in the view)in my rcp application using IWorkbenchBrowserSupport.

			
int browserStyle = IWorkbenchBrowserSupport.STATUS
| IWorkbenchBrowserSupport.AS_VIEW | IWorkbenchBrowserSupport.PERSISTENT;


try {
support.createBrowser( browserStyle, ""+System.currentTimeMillis(),"anu", "toltip").openURL(new URL("www.google.com"));
} catch (PartInitException e)
{
e.printStackTrace();
} catch (MalformedURLException e)
{
e.printStackTrace();

}


The title of the view is always "Internal Web Browser". Anu clues how the title could be changed?
Thanks
Anu.    <<Less
About | Sitemap | Contact