Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » PropertySheetPage#refresh
PropertySheetPage#refresh [message #318809] Tue, 07 August 2007 03:24
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

When the state of a node in my TreeViewer has changed, I am calling PropertySheetPage#refresh to force a reread of the properties. However, just doing this alone will not refresh my PropertySheetPage. I needed to do the following extra steps:

<pre>
IViewPart propSheetPage = ...;
propSheetPage.setFocus();
treeviewerViewPart.setFocus();
</pre>

Noticed that I needed to change the focus before I see the updated properties in the PropertySheetPage. Is this a bug or am I doing something wrong?

Thanks

G
Previous Topic:multiple versions of xercesImpl.jar
Next Topic:getEditorInput() in Texteditor constructor
Goto Forum:
  


Current Time: Thu Mar 13 17:10:17 EDT 2025

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

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

Back to the top