|
|
|
|
|
|
Re: How to programmatically add a shortcut to the perspective switching bar ... [message #448976 is a reply to message #448910] |
Mon, 08 May 2006 07:28  |
Eclipse User |
|
|
|
Eric wrote:
> Hi Alex,
>
> I tried it but it still does not work. I got shortcuts in the popup menu
> which appears when I click on the "Open perspective..." button in the
> perspective switching bar but no shortcut buttons on the perspective
> switching bar itself (as I would get if I select once each perspective
> via "Open Perspective...").
The perspective switcher bar has the list of open perspectives.
Shortcuts are only for the popup menu.
You can get the perspectives you want in the perspective bar by opening
them programmatically. Of course you'll have the associated time and
resource hit when you first open all the perspectives.
Use IWorkbenchPage#setPerspective(IPerspectiveDescriptor)
Later,
PW
|
|
|
Powered by
FUDForum. Page generated in 0.03540 seconds