I tried
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().findView(viewID);
But under certain conditions I get
org.eclipse.ui.PartInitException: Warning: Detected recursive attempt by
part <my navigator view> to create itself (this is probably, but not
necessarily, a bug)
This happens when my navigator is behind another view (but I can see the
tab) when I click the tab to bring the view to the surface, I get this
error.
It appears that findView does more than simply return a pointer.
I can do it by calling getViewReferences(), iterating and getting the one
whose id matches the common navigator. But there should be a better way.
So.... Is there another way to just get a pointer to the view? It is kind
of unfortunate that I have to get the common navigator from the view id,
because it is exactly the common navigator that is calling my label
provider.