DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page Focus on view in eclipse..
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Feb 2008
Default Focus on view in eclipse.. - 05-15-2008, 01:57 AM

Hi All,
I have made one view in eclipse, I want to refresh my view's contents when it actually gets focus, which method should i override, so that content in it gets refreshed.

I tried to override setFocus() method by simply putting System.out.println() statement, but i found that it prints 3 times, so if i override setFocus() method than my logic of refreshing the view's content will get execute thrice resulting into overhead. so suggest me some other solution to my problem.

Plzz reply..

Thanks in advance

Regards,
Jay.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Programmatically maximize/restore a view in Eclipse and Eclipse WIndow khewuwei Eclipse 0 11-27-2008 08:32 PM
Eclipse Java Search View Emerald007 Eclipse 0 11-14-2008 08:09 AM
Set focus to a specific cell in a JTable diasmvds Java 0 08-12-2008 08:13 AM
Eclipse RCP: Updating a view bs2007 Java 0 05-05-2008 04:23 AM
not updating the content in a view w.r.t the changes in other view prathyusharao Eclipse 0 04-23-2008 02:19 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com