Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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: Sat Jul 05 08:51:19 EDT 2025

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

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

Back to the top