| [news.eclipse.platform.rcp] Re: Focus on ViewPart |
The workaround I use know is to detect view2 by means of IPartListener. Is there any better alternative? Thanks in advance for any tip.
Paul Webster wrote:
IPartListener2 (which can be added to the active page) will call partActivated(*) when a part has focus. IPartService#getActivePart(*) will tell you which part currently is active.
PW