Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Navigator refresh?

excellent, thanks

2009/1/6 Wieant Nielander <wieant@xxxxxxxxx>:
>> 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.
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx

Back to the top