Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Refresh CommenNavigator(IProject.refreshLocal() does not work)
Refresh CommenNavigator [message #524207] Wed, 31 March 2010 07:47 Go to next message
Alexander Mack is currently offline Alexander MackFriend
Messages: 100
Registered: July 2009
Senior Member
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 14:53 Go to previous message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
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 Apr 27 04:16:28 GMT 2024

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

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

Back to the top