Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » IViewPart setFocus problems
IViewPart setFocus problems [message #284440] Mon, 25 April 2005 05:19
Eclipse UserFriend
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.
Previous Topic:Eclipse very slow on Win XP
Next Topic:Livelock in Plugin start() with jacorb
Goto Forum:
  


Current Time: Wed Jul 16 15:45:12 EDT 2025

Powered by FUDForum. Page generated in 0.04604 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top