public boolean convertToTargetLayer(ILayer targetLayer) {
List<ColumnPositionCoordinate> convertedFromColumnPositionCoordinates = new ArrayList<ColumnPositionCoordinate>();
for (ColumnPositionCoordinate fromColumnPositionCoordinate : fromColumnPositionCoordinates) {
ColumnPositionCoordinate convertedFromColumnPositionCoordinate = LayerCommandUtil
.convertColumnPositionToTargetContext(
fromColumnPositionCoordinate, targetLayer);
if (convertedFromColumnPositionCoordinate != null) {
convertedFromColumnPositionCoordinates
.add(convertedFromColumnPositionCoordinate);
}
}
ColumnPositionCoordinate targetToColumnPositionCoordinate = LayerCommandUtil
.convertColumnPositionToTargetContext(
toColumnPositionCoordinate, targetLayer);
if (convertedFromColumnPositionCoordinates.size() > 0
&& targetToColumnPositionCoordinate != null) {