[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: View activation

I don't know which view will be active when a perspective is opened , maybe the last opened ?

But you can add a IPartListener or a IPerspectiveListener to force the activation of a view when opened.

Laurent Marchal.


abhi wrote:
Hi,

A newbie question...If a perspective contains multiple views, which one is activated when the perspective is set/loaded, without explicitly invoking IWorkbenchPage.activate(viewPart)? Is there some way to control this, so that when a perspective becomes set, a specified view is always the active part?

TIA,
Best Regards,
-abhi