return resource == null ? true : resource.isReadOnly();
if (resource == null) return true;  final ResourceAttributes attributes= resource.getResourceAttributes(); return attributes == null ? false : attributes.isReadOnly();
	public boolean isReadOnly() {		IResource resource= getUnderlyingResource();		return resource == null ? true : resource.isReadOnly();	}