transform);
}
protected ResponseListener createMoveResponseListener(final CellMoveModifiedListener listener) {
if (listener == null) {
return new ResponseListener() {
public void responseReceived(ResponseMessage response) {
if (response instanceof ErrorMessage) {
ErrorMessage error = (ErrorMessage) response;
logger.log(Level.WARNING, "Error sending move: " +
error.getErrorMessage(),
error.getErrorCause());
}
}
};
}
return new ResponseListener() {
public void responseReceived(ResponseMessage response) {
CellTransform requestedTransform = null;
CellTransform actualTransform = null;
if (response instanceof MovableMessageResponse) {