在做eclipse插件開發中
一
調用這個接口的refreshLocal方法即可
來看一下繼承結構
首先繼承自IResource的接口有IContainer
加上IResource
接口 extends
IResource 無
IContainer IResource
IFile IResource
IFolder IContainer
IProject IContainer
IWorkspaceRoot IContainer
類 extends implements
Resource 無 IResource
Container Resource IContainer
File Resource IFile
Folder Container IFolder
Project Container IProject
WorkspaceRoot Container IWorkspaceRoot
二
clean all:
ResourcesPlugin
monitor);
clean one project
((IProject) selection[i])
SubProgressMonitor(monitor
From:http://tw.wingwit.com/Article/program/Java/ky/201311/28973.html