public EditPart getTargetEditPart(Request request) { if (REQ_CREATE.equals(request.getType())) { return null; } else if (RequestConstants.REQ_AUTOSIZE.equals(request.getType())) { return getHost(); } return super.getTargetEditPart(request); }
public boolean understandsRequest(Request request) { if (RequestConstants.REQ_AUTOSIZE.equals(request.getType()) || RequestConstants.REQ_MOVE_DEFERRED.equals(request.getType())) return true; return super.understandsRequest(request); }
public Command getCommand(Request request) { if (RequestConstants.REQ_AUTOSIZE.equals(request.getType())) return getAutoSizeCommand(request); if (RequestConstants.REQ_MOVE_DEFERRED.equals(request.getType())) return getMoveDeferredCommand((ChangeBoundsDeferredRequest) request); return super.getCommand(request); }
public Command getCommand(Request request) { if (RequestConstants.REQ_AUTOSIZE.equals(request.getType())) return getCommandFromChildren(request); return super.getCommand(request); }
public boolean understandsRequest(Request req) { if (RequestConstants.REQ_AUTOSIZE.equals(req.getType())) { return true; } return super.understandsRequest(req); }