}
@Override
protected boolean isRequestCondition(Request _request) {
if (_request instanceof ChangeBoundsRequest) {
ChangeBoundsRequest request = (ChangeBoundsRequest) _request;
Object type = request.getType();
GraphicalEditPart host = getHost();
ILayoutRequestValidator validator = getRequestValidator();
boolean isMove =
Request.REQ_MOVE.equals(type) && validator.validateMoveRequest(host, request);
boolean isAdd = Request.REQ_ADD.equals(type) && validator.validateMoveRequest(host, request);