if (!resource.getName().endsWith("~")) { shouldAddResource = false;
shouldAddResource = false; if (resource.getName().endsWith(".wo") || resource.getName().endsWith(".eomodeld")) { shouldAddResource = true;
	protected boolean shouldAddResource(IResource resource) {		boolean shouldAddResource = true;		if (resource instanceof IFolder) {			// PJYF May 21 2006 We need to exclude the temp wrappers			if (!resource.getName().endsWith("~")) {				shouldAddResource = false;			}		} else if (resource instanceof IFile) {			IContainer parent = resource.getParent();			if (parent != null) {				String parentName = parent.getName().toLowerCase();				// PJYF May 21 2006 We need to exclude the temp wrappers				if (parentName.endsWith(".eomodeld") || parentName.endsWith(".wo") || parentName.endsWith("~")) {					shouldAddResource = false;				}			}		}		return shouldAddResource;	}