[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Perspective switcher with permanent perspective entries?

Hey guys,

I added the perspective bar to my ApplicationWorkbenchWindowAdvisor like this:

public void preWindowOpen() {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        configurer.setShowPerspectiveBar(true);

But when it shows up, it only shows the perspective that is already activated next to the button that contains all the perspectives in a separate view. When I use the "all perspectives button" to switch to another perspective, that one also shows up next to the perspective that was there in the first place. I would want it to be there right from the start. Does anyone if and how that would be possible?

Cheers,

Tobias