[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[News.eclipse.technology.gmf] Re: Building a diagram programmatically

Hello dzh,

As it mentioned below "override
CreationEditPolicy.getCreateCommand(request) for the editpolicy which
will be installed on your EditPart " by Alex, which role should be
used according to REQ_CREATE?
CreationEditPolicy.getCreateCommand(request) will be called from CreationEditPolicy.getCommand(Request request) only if understandsRequest(Request request) returns true, so only if request.getType() return RequestConstants.REQ_CREATE or RequestConstants.REQ_ADD

-----------------
Alex Shatalin