IWorkspace workspace= JavaPlugin.getWorkspace();
IWorkspace workspace= ResourcesPlugin.getWorkspace();
	protected IResource findResource(IPath path) {		IWorkspace workspace= JavaPlugin.getWorkspace();		IStatus result= workspace.validatePath(							path.toString(),							IResource.ROOT | IResource.PROJECT | IResource.FOLDER | IResource.FILE);		if (result.isOK() && workspace.getRoot().exists(path))			return workspace.getRoot().findMember(path);		return null;	}