Skip to main content


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] Thu, 09 May 2013 03:50 Go to next message
Suresh P is currently offline Suresh PFriend
Messages: 27
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 20:09 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
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: Thu Apr 25 21:34:01 GMT 2024

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

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

Back to the top