fileNames = (location==null) ? null : new String[] {location.toOSString()};
} else {
resources = new IResource[] {resource, dirSibling.getResource()};
final IPath resLocation = resource.getLocation();
final IPath siblLocation = dirSibling.getResource().getLocation();
fileNames = (resLocation==null || siblLocation==null) ? null : new String[] {resLocation.toOSString(), siblLocation.toOSString()};
}
if (fileNames!=null) {
clipboard.setContents(new Object[] { resources, fileNames },
new Transfer[] { ResourceTransfer.getInstance(),
FileTransfer.getInstance()});