I am new in eclipse plugin development. I want to refresh my workspace or complete Eclipse programmatically . so is there any to refresh eclipse programmatically.
Use the IResource.refreshLocal() API. You can do this at project root, a particular folder or an individual file. To refresh all projects in a workspace, simply enumerate all projects using ResourcesPlugin.getWorkspace().getRoot().getProjects() API and refresh each in turn.
IResource.refreshLocal()
ResourcesPlugin.getWorkspace().getRoot().getProjects()
1.4m articles
1.4m replys
5 comments
57.0k users