Bug 31113 Don't offer to do a deep copy/move of linked resources
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgQueries.java
return fCanceled;
		}
	
		private static boolean isReadOnly(Object element) {
			if (element instanceof IResource)
				return isReadOnlyResource((IResource)element);
			else if (element instanceof IJavaElement){
				IResource resource= ResourceUtil.getResource(element);
				if (resource == null)
					return false;
				if (isReadOnlyResource(resource))
					return true;
				return ((IJavaElement)element).isReadOnly();
			} else
				return false;
		}
	
		private static boolean isReadOnlyResource(IResource resource) {
			IStatus status= Resources.makeCommittable(resource, null);
			if (status.isOK())
				return false;
			if (status.getCode() == IJavaStatusConstants.VALIDATE_EDIT_CHANGED_CONTENT)
				return false;
			if (status.getCode() == IResourceStatus.OUT_OF_SYNC_LOCAL)
				return false;
			return true;	
		}
	}
}