| Summary: | Revise FXChopBoxHelper-mechanism. | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Alexander Nyßen <nyssen> |
| Component: | GEF FX | Assignee: | Alexander Nyßen <nyssen> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | 3.10.0 (Mars) M2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Alexander Nyßen
Performed the following changes: - Changed IFXAnchor#attach() and #detach() to take an additional IAdaptable argument. - Removed referencePointProperty from FXChopBoxAnchor; instead pass in an FXChopBoxHelper in attach() and detach() to obtain the reference points from. - Ensured an FXChopBoxHelper is already registered at the curve by default (making use of an AdapterStore). - Adjusted examples to no longer construct FXChopBoxAnchors explicitly. Resolving as fixed in 3.10.0M2. We should extract an interface from FXChopBoxAnchor, so the base concept can also be used without connections. Also, the FXConnection should either expose its AnchorStore to subclasses, or it should implement IAdaptable itself, so clients can exchange the implementation. Provided hook within FXConnection to register anchor infos. Extracted FXChopBoxAnchor.ReferencePointProvider interface. Resolving as fixed. Setting target milestone to 3.10.0M2 As FXChopBoxAnchor is no longer needed outside FXConnection, transferred it into a nested class of FXConnection. |