[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [cdt-dev] Navigator refresh?
|
- From: Wieant Nielander <wieant@xxxxxxxxx>
- Date: Tue, 6 Jan 2009 15:59:11 +0100
- Delivered-to: cdt-dev@eclipse.org
- Organization: Altium, BV
- User-agent: Mutt/1.5.18 (2008-05-17)
> Sorry if this is more of a platform question but I was wondering how
> to programmatically refresh the project explorer when new files are
> created as a result of running a launch?
You might try something like:
yourProject.refreshLocal(IResource.DEPTH_INFINITE, monitor);
or if changes could be anywhere in the workspace:
getWorkspace().getRoot().refreshLocal(IResource.DEPTH_INFINITE, monitor);
Then if any resource in the project/workspace is changed, all views
with a resource listener should receive a change event.