[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] How can I identify which view instance is active??

Hi all,

I just use this code to create multi view instance to show the different part of data.

MyView view = (MyView)window.getActivePage().showView(MyView.ID_VIEW,Integer.toString(i),IWorkbenchPage.VIEW_ACTIVATE);


When pressing a button on the toolbar, I need to do navigation of the active view (The view I am now working on). But how can i identify the active view or the top view??


Thanks!