Is it possible to be notified when a PageBookView switches page? I've dug around in the source code a little, but there doesn't seem to be any direct way of doing it.
A:
When the associated part becomes active, the PageBookView automatically switches to the respective page.
If the PageBookView doesn't offer notifications, you can add a listener to the pages and add a focus listener to their Control
objects. This should have the same result. (See: IPage.getControl()
)
Andreas_D
2010-08-20 08:40:07