Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Running an external program from a menu
Running an external program from a menu [message #1131905] Thu, 10 October 2013 21:59 Go to next message
Kevin Regan is currently offline Kevin ReganFriend
Messages: 33
Registered: May 2013
Member
Is it possible to have eclipse launch an external program, for example acrobat reader, programmatically from a plugin? For example, I want to create a menu that when the user clicks it it will open a PDF file in the file system by launching Acrobat Reader outside of Eclipse - or more importantly just sending the file open command to windows to let windows decide what to do with it (based on file extension to program mappings). Is this possible? Please point me in the right direction - thanks a lot!
Re: Running an external program from a menu [message #1135560 is a reply to message #1131905] Sun, 13 October 2013 08:19 Go to previous message
Thorsten Schlathölter is currently offline Thorsten SchlathölterFriend
Messages: 211
Registered: February 2012
Location: Düsseldorf
Senior Member
Hi Kevin,
you might want to check out the Java Desktop API which is available since Java 1.6.

http://www.oracle.com/technetwork/articles/javase/desktop-api-142259.html


Regards,
Thorsten


Previous Topic:How do I get the project name which has been built
Next Topic:Build Eclipse plugin via commandline
Goto Forum:
  


Current Time: Thu Dec 18 15:34:31 GMT 2014

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

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