Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Launch config enablement
Launch config enablement [message #879020] Wed, 30 May 2012 11:25 Go to next message
Marco Maccaferri is currently offline Marco MaccaferriFriend
Messages: 132
Registered: July 2009
Senior Member
Hello,

I'm trying to build a custom launcher for an emulator and I'm having
problems with the enablement settings.

What I want to do is enable the launcher for a specific project nature
so that it is visible from the Run As... menu whenever the navigator
selection is within a project with that nature.

In my plugin setup I have a launchConfigurationType,
launchConfigurationTypeImage, launchShortcut and a
launchConfigurationTabGroup. All of them points to almost empty
implementation classes and are setup following the plugin-development
guide and various tutorials found around the web.

No matter what the enablement settings are on the launchShortcut, what I
get when I launch my custom RCP-IDE application is: on the first
right-click on the project files I get Run As, Debug As and Profile As
menus all empty. On subsequent right-clicks these menu disappears (this
sounds logical, since they are empty....). The Run Configurations window
shows my custom launch configuration, I can create new launch
configurations and even run them, but they never appear on the
right-click menu on the project explorer view, in addition when running
they doesn't seems to be linked to any project (or maybe I can't see how
to extract the project informations, but that's not important now).

So the question is, how do I set the enablement rules so that my
launcher appears on the right-click menu on the project explorer
whenever the selection is within a project with my custom nature ?

Regards,
Marco.
Re: Launch config enablement [message #882905 is a reply to message #879020] Thu, 07 June 2012 12:55 Go to previous message
Marco Maccaferri is currently offline Marco MaccaferriFriend
Messages: 132
Registered: July 2009
Senior Member
Nobody ?


On 30/05/2012 13:25 Marco Maccaferri ha scritto:

> Hello,
>
> I'm trying to build a custom launcher for an emulator and I'm having
> problems with the enablement settings.
>
> What I want to do is enable the launcher for a specific project nature
> so that it is visible from the Run As... menu whenever the navigator
> selection is within a project with that nature.
>
> In my plugin setup I have a launchConfigurationType,
> launchConfigurationTypeImage, launchShortcut and a
> launchConfigurationTabGroup. All of them points to almost empty
> implementation classes and are setup following the plugin-development
> guide and various tutorials found around the web.
>
> No matter what the enablement settings are on the launchShortcut, what I
> get when I launch my custom RCP-IDE application is: on the first
> right-click on the project files I get Run As, Debug As and Profile As
> menus all empty. On subsequent right-clicks these menu disappears (this
> sounds logical, since they are empty....). The Run Configurations window
> shows my custom launch configuration, I can create new launch
> configurations and even run them, but they never appear on the
> right-click menu on the project explorer view, in addition when running
> they doesn't seems to be linked to any project (or maybe I can't see how
> to extract the project informations, but that's not important now).
>
> So the question is, how do I set the enablement rules so that my
> launcher appears on the right-click menu on the project explorer
> whenever the selection is within a project with my custom nature ?
>
> Regards,
> Marco.
Previous Topic:Pasting comments aligns with text, not slashes
Next Topic:import Eclipse preferences via command line?
Goto Forum:
  


Current Time: Fri Dec 19 08:53:20 GMT 2014

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

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