Link support [message #5999] |
Tue, 13 March 2007 15:10  |
Eclipse User |
|
|
|
Hi,
I would like to create a Link in my Application to a different website.
Now I am searching for something like <a href="someURL" target="_blank">
in html. In an SWT based Appication I use
PlatformUI.getWorkbench().getBrowserSupport() to create a new Brwoser
Windos, but I didn't find the BrwoserSupprt in RAP.
How to handle this in RAP?
Regards
Karsten
|
|
|
|
Re: Link support [message #7273 is a reply to message #6896] |
Wed, 14 March 2007 13:19  |
Eclipse User |
|
|
|
Hi Rüdiger,
thanks for your reply. Actual I use now a Dialog with a BrowserWidget.
If the user dislike it, I will try the solution with the minimal HTML
page with the href.
Also thanks for the Information about the Startup Page.
Regards
Karsten
Ruediger Herrmmann schrieb:
> Hi Karsten,
>
> currently there is no BrowserSupport in the RAP Workbench and it is yet
> unclear if there ever will be.
> To open a browser window that shows a URL You could use the setText
> method of the Browser widget to set a minimal HTML page that just
> contains Your a-tag. Probably not the most beautiful way but it should
> work.
> Once a Link widget is available, it could probably be used therefore.
> Of course the most decent way would be to implement a custom widget. You
> could have a look at Label and LabelLCA on how to implement this. The
> qooxdoo Label widget also accepts some HTML, an a-tag at least.
> Further information on how to implement Your own widget can also found
> in the material from the EclipseCon RAP Tutorial
> http://eclipsezilla.eclipsecon.org/attachment.cgi?id=468
> http://eclipsezilla.eclipsecon.org/attachment.cgi?id=515
>
> Hope that helps
> Rüdiger
>
>
> Karsten Panier wrote:
>> Hi,
>> I would like to create a Link in my Application to a different
>> website. Now I am searching for something like <a href="someURL"
>> target="_blank"> in html. In an SWT based Appication I use
>> PlatformUI.getWorkbench().getBrowserSupport() to create a new Brwoser
>> Windos, but I didn't find the BrwoserSupprt in RAP.
>> How to handle this in RAP?
>> Regards
>> Karsten
|
|
|
Powered by
FUDForum. Page generated in 0.03529 seconds