| Invoking the "run" button command in plugin [message #793637] |
Wed, 08 February 2012 06:28  |
Olli Wirpi Messages: 3 Registered: October 2011 |
Junior Member |
|
|
Is there any way to invoke the "Run" button command in Eclipse plugin? I want to run automatically the selected project in my plugin. The basic idea is to run the selected project if it has saved run configuration, or open the "Run as" dialog if no configuration exist.
So far, I've been running only Java applications automatically, but now I want to extend the plugin to launch also different types of applications in Eclipse.
|
|
|
|
|
|
| Re: Invoking the "run" button command in plugin [message #841372 is a reply to message #825824] |
Wed, 11 April 2012 04:11  |
Olli Wirpi Messages: 3 Registered: October 2011 |
Junior Member |
|
|
I'm sorry for the late reply also.
I mean a situation where, for instance, I have imported an Android project to Eclipse and click Run button in toolbar. Because (I guess so), the project is new in the workspace, Eclipse does not know its launch configuration. However, Eclipse can suggest me to launch it as "Android application" or "Java application". The same happens with Java applications and applets, MIDP application etc.
I don't know what this feature is called, but I'd like to have it also in my plugin, which imports projects with different natures to workspace and tries to run them. Instead of creating launch configurations for each project is there way to provide launch configuration suggestions automatically to the user when launching an application?
Please see the picture attached to see what I mean
Attachment: example.png
(Size: 19.43KB, Downloaded 60 times)
[Updated on: Wed, 11 April 2012 04:12] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04898 seconds