Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Launch files in RAP
Launch files in RAP [message #1529796] Fri, 26 December 2014 13:45 Go to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
I want to be able to launch PDF documents on DoubleClick.

I was doing the same in RCP by doing the following:


Is the same thing possible with RAP too?
Re: Launch files in RAP [message #1532829 is a reply to message #1529796] Sun, 28 December 2014 07:06 Go to previous message
Paul Bilnoski is currently offline Paul BilnoskiFriend
Messages: 28
Registered: August 2010
Junior Member
Program.launch(path) generally will not do what you want in RAP. In a desktop app, it instructs the VM to launch the associated file handler, but in RAP, since it is now running on a web server, what it likely would do is launch the app on the server and not on the remote browser client which invoked it.

You should instead look into a download handler or org.eclipse.rap.rwt.service.ServiceHandler to be enabled on user interaction.
Previous Topic:Statusline center vertically
Next Topic:Fast view bar unavailable for RAP Workbench Demo (Fancy&Business)
Goto Forum:

Current Time: Mon Feb 17 00:49:06 GMT 2020

Powered by FUDForum. Page generated in 0.01349 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top