| 
| Refresh workspace on switching perspective [message #330199] | Sat, 19 July 2008 05:55  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: dhavan.jani.yahoo.com 
 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.DEPT H_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.
 |  |  |  | 
|  | 
|  | 
Powered by 
FUDForum. Page generated in 0.05522 seconds