[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Refresh workspace on switching perspective

Hi
i need to refresh my workspace on finish of create new project, I have tried to do it by using following code


project.getWorkspace().getRoot().refreshLocal(IResource.DEPTH_INFINITE, null);

but it was not instrumental.

I need to refresh workspace because, I create new project in java perspective, on finish of create project wizard I switch to other respective, to see newly created project in this perspective I need to refresh it, at present I have to manually refresh but I want it to refresh as soon as new perspective is open.

Can you suggest some way to do it.