[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: Finding the active IViewReference in an IViewPart

uh, that doesn't quite make sense.

IPartListener2#partActivated(*) will fire for each part that is activated.

The *last* fired event will be the active IWorkbenchPartReference (IViewReference or IEditorReference).

You can also ask the IWorkbenchPage to return the current active part ref via getActivePartReference()

Later,
PW