[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Refresh View after wizard finishes.

Gama Franco wrote:
Hi Haris,

Thank you for your response.

The problem is that I don't know how to get a reference for the view in the wizard's code. I mean, how do I locate the instance of the view that I want to update? The wizard itself is not a view, so I can't use getSite().getPage().getViewReferences().

Another way in is workbench = PlatformUI.getWorkbench() ... then depending on what the wizard did, you might be able to go


workbench.getActiveWorkbenchWindow().getActivePage()

Later,
PW