Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Refresh CommenNavigator(IProject.refreshLocal() does not work)
Refresh CommenNavigator [message #524207] Wed, 31 March 2010 03:47 Go to next message
Eclipse UserFriend
Hello,
I have an RCP application based on GEF. Further I am using my own Navigator (defined via plugin.xml). If I change something in my Project and right-click the project -> refresh, everything refreshes fine.
If I try to refresh the project programatically it won't work:
mProject.refreshLocal(IResource.DEPTH_INFINITE, monitor);


What can I do to refresh the project correctly?

Thanks in advance!
Best regards,
Alex
Re: Refresh CommenNavigator [message #524337 is a reply to message #524207] Wed, 31 March 2010 10:53 Go to previous message
Eclipse UserFriend
Get your CommonNavigator object (which is the ViewPart object for your view) and then from the CN object you can do a getCommonViewer().refresh(yourProject).
Previous Topic:Couple editor to perspective?
Next Topic:Custom preferences FieldEditor causes error
Goto Forum:
  


Current Time: Sat Jun 21 04:18:09 EDT 2025

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

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

Back to the top