Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Toolbar in my own perspective(Add Launch/Debug Button)
Toolbar in my own perspective [message #496860] Wed, 11 November 2009 10:14 Go to next message
Eclipse UserFriend
Hello,
how can I programmatically add the Launch/Debug Buttons of the CommandGroup to my perspective?

I am wondering because I can't find anything about it O.O
O
I would appreciate any help..

Best regards
Alex
Re: Toolbar in my own perspective [message #496871 is a reply to message #496860] Wed, 11 November 2009 10:37 Go to previous messageGo to next message
Eclipse UserFriend
AFAIK they are an actionSet ... you can add them to your IPageLayout in your perspective factory.

PW
Re: Toolbar in my own perspective [message #496873 is a reply to message #496871] Wed, 11 November 2009 10:47 Go to previous messageGo to next message
Eclipse UserFriend
Hello Paul Webster,
first thanks for your Answer.

That's what I tried to, but I still don't know the name of the extension of the actionSet

Best regards
Alex
Re: Toolbar in my own perspective [message #496876 is a reply to message #496873] Wed, 11 November 2009 10:50 Go to previous messageGo to next message
Eclipse UserFriend
Use the Plug-in Registry view to see Extensions and Extension points contributed by all plugins. If you look under org.eclipse.ui/Extension Points/*.actionSets you can see the contributions, and track down the id of the one you want.

PW
Re: Toolbar in my own perspective [message #497045 is a reply to message #496860] Thu, 12 November 2009 06:16 Go to previous messageGo to next message
Eclipse UserFriend
Hi Paul Webster,
great thanks I found the extension point!

But I have still another problem left:

I add some WizardShortcuts to the layout. In the Navigator View these Shortcuts are available, but in the project explorer the shortcuts are not available!
I don't know why, do I have to add some additional informaion or sth. like that?

Thanks in advice

Alex
Re: Toolbar in my own perspective [message #497066 is a reply to message #497045] Thu, 12 November 2009 07:30 Go to previous message
Eclipse UserFriend
Hi Alex,

<extension point="org.eclipse.ui.navigator.navigatorContent">
<commonWizard type="new" wizardId="your.wizard.id">
<enablement />
</commonWizard>
<actionProvider
class="your.action.provider">
</actionProvider>
</extension>

Regards,

Mariot

Alexander Mack a écrit :
> Hi Paul Webster,
> great thanks I found the extension point!
>
> But I have still another problem left:
>
> I add some WizardShortcuts to the layout. In the Navigator View these
> Shortcuts are available, but in the project explorer the shortcuts are
> not available!
> I don't know why, do I have to add some additional informaion or sth.
> like that?
>
> Thanks in advice
>
> Alex
Previous Topic:open intro page
Next Topic:disable save action
Goto Forum:
  


Current Time: Wed May 14 12:45:18 EDT 2025

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

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

Back to the top