monitoring focus change for a view [message #175975] |
Sun, 03 September 2006 19:08  |
Eclipse User |
|
|
|
Use of the FocusListener interface seems suited for finding out when a
particular control gains or looses focus. I'm trying to find out when my
workbench view looses focus as a whole (covering all children). Other than
iterating through all the children and register a listener for each, is
there some other way to acomplish this? I was looking for something along
the lines of a listener that gets invoked on a focus change on any
workbench control and then the listener could walk up the hierarchy of the
event's control to find out if its a child of the view.
John
|
|
|
|
Powered by
FUDForum. Page generated in 0.79347 seconds