[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] Refresh workspace on switching perspective
|
- From: dhavan.jani@xxxxxxxxx (DJani)
- Date: Sat, 19 Jul 2008 09:55:26 +0000 (UTC)
- Newsgroups: eclipse.platform
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
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.