IViewPart setFocus problems [message #284440] |
Mon, 25 April 2005 05:19 |
Eclipse User |
|
|
|
Originally posted by: paul.odonoghue.learning-media.net
Good morning all,
I am currently writing two releated RCP applications and have run into a
problem regarding the use of ViewPart.setFocus(). When I switch
perspectives the view that I want to see has the setFocus method called
twice, once by the WorkbenchPage.run and then again after by the
WorkbenchPage.setPerspective.
This is playing havoc with one of my views, which is playing shockwave
flash movies. Depending on the state of the player when the view loses
focus, the setFocus method should then either rewind and replay the
player, unpause it, etc. This works fine, then the second time setFocus is
messes up the setting.
Its driving me mad, and I'm willing to bet it will drive my boss mad as
well when he notices! Is there anyone out there who can help, or offer
suggestions on how to work around this issue.
|
|
|
Powered by
FUDForum. Page generated in 0.04604 seconds