tags:

views:

27

answers:

3

I have two perspectives , but to see the second perspective , as you know have to click button 'open perspective'. Is there way that the second perspective button shown up automatically , when application start up?

A: 

The perspectives show up on a tab. Although it's not clear just from looking at it, the end of the tab can be dragged so it's longer and can display more perspective buttons.

jwismar
ah, sorry , the thing that I want is programmically calling the second perspective , not using my finger
tom
A: 

Right click mouse on the perspective toolbar, then select dock it on left or top left. You would see more toolbar items of other perspective, and show more on the toolbar.

Kane
A: 

It sounds like you want the default size of the perspective switcher (the bar containing the perspective buttons) to be larger than usual. To do that, you could perhaps use an instance of the ActionBarAdvisor class; you'll probably also need a WorkbenchWindowAdvisor class.

I don't see any methods to directly access the switcher object, so I think you'll have to look at the component tree to find it.

Seems like there ought to be an easier way, but I don't see one.

Ladlestein
I solved it out by your help. Thank a lot :) , I come after the control tree , and found CBanner composing Perspective bar , and I change it.
tom
@Tom Great! It would be nice if you accepted my answer by clicking the check-mark button.
Ladlestein