Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Creating custom launcher on click on new popup menu item
Creating custom launcher on click on new popup menu item [message #1057818] Wed, 08 May 2013 23:50 Go to next message
Suresh P is currently offline Suresh P
Messages: 3
Registered: May 2013
Junior Member
Hi,
I'm using Eclipse Juno.
I am developing an eclipse plugin to run the Java applications from my custom popup menu item in project level in package explorer view.

In default eclipse IDE, we have the "Run As" menu item and its submenu items like
I like to have these same 3 submenu items for my custom popup menu item.
From my custom menu item, I need to launch Java application after adding a new VM argument from background (programmatically).

Can you let me know the eclipse jar file which has the "Run As" functionality, so that I can use the same logic for my custom menu item. I looked into jars like org.eclipse.jdt.launching_3.6.101.v20130111-183046.jar, org.eclipse.jdt_3.8.1.v201302041200.jar, etc., but couldn't able to get the "Run As" functionality.

Thanks
Suresh
Re: Creating custom launcher on click on new popup menu item [message #1058165 is a reply to message #1057818] Sun, 12 May 2013 16:09 Go to previous message
Stephan Herrmann is currently offline Stephan Herrmann
Messages: 782
Registered: July 2009
Senior Member
Have a look at org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.getVMArguments(ILaunchConfiguration)
The class in actually intended for sub-classing by clients.
Stephan
Previous Topic:Jsp + servlet plugins for Helios
Next Topic:Line wrapping but without inserting characters
Goto Forum:
  


Current Time: Tue May 28 06:20:54 EDT 2013

Powered by FUDForum. Page generated in 0.02005 seconds