| Summary: | [EditPolicy] ResizableEditPolicy should not understand resize | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Randy Hudson <hudsonr> |
| Component: | GEF-Legacy GEF (MVC) | Assignee: | Alexander Nyßen <nyssen> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | nyssen |
| Version: | 3.1 | Flags: | nyssen:
iplog+
|
| Target Milestone: | 3.7.1 (Indigo) M4 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Fixed implementation of understandsRequest to support the given scenario. Changes committed to cvs HEAD (3.7) |
ResizableEditPolicy can be configured to not support certain resizing: patch: public boolean understandsRequest(Request request) { if (REQ_RESIZE.equals(request.getType())) { ChangeBoundsRequest cbr = (ChangeBoundsRequest) request; int type = cbr.getResizeDirection(); return (type & getResizeDirections()) == type; }