Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:14 Go to next message
Alexander Mack is currently offline Alexander MackFriend
Messages: 100
Registered: July 2009
Senior Member
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 15:37 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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 15:47 Go to previous messageGo to next message
Alexander Mack is currently offline Alexander MackFriend
Messages: 100
Registered: July 2009
Senior Member
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 15:50 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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 11:16 Go to previous messageGo to next message
Alexander Mack is currently offline Alexander MackFriend
Messages: 100
Registered: July 2009
Senior Member
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 12:30 Go to previous message
Mariot Chauvin is currently offline Mariot ChauvinFriend
Messages: 174
Registered: July 2009
Senior Member
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: Thu Feb 25 17:02:20 GMT 2021

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

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

Back to the top