Collection<ILayer> underlyingLayers = layer
.getUnderlyingLayersByRowPosition(rowPosition);
if (underlyingLayers != null) {
for (ILayer underlyingLayer : underlyingLayers) {
if (underlyingLayer != null) {
RowPositionCoordinate convertedRowPositionCoordinate = convertRowPositionToTargetContext(
new RowPositionCoordinate(underlyingLayer,
underlyingRowPosition), targetLayer);
if (convertedRowPositionCoordinate != null) {
return convertedRowPositionCoordinate;
}
}