| Summary: | Contract prevents to share a single Scene between multiple FXViewers. | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Alexander Nyßen <nyssen> |
| Component: | GEF MVC | Assignee: | gef-inbox <gef-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | Alexander Nyßen <nyssen> |
| Severity: | major | ||
| Priority: | P3 | ||
| Version: | 0.1.0 | ||
| Target Milestone: | 3.10.1 (Mars SR1) M2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Alexander Nyßen
As this a major issue that prevents that a palette viewer can be used within the same domain and the same canvas/scene as the default (content) viewer, it seems to be reasonable to include the fix into 3.10.1/0.1.1, even if changes to the provisional API will result. I pushed the following changes to origin/master: - Changed contract of FXViewer, so that is no longer responsible of constructing a scene and hooking it into a scene container, but instead only of constructing its own visuals (lazily within getScrollPane()) and hooking the root part visuals into it. - Adjusted FXView, FXEditor, ZestContentViewer, AbstractZestExample, and AbstractMvcExample to properly hook the FXViewer visuals of their viewers into a newly created scene. - Removed obsolete ISceneContainer, FXStageSceneContainer, and FXCanvasSceneContainer abstractions/implementations. - Removed obsolete o.e.g4.mvc.fx.ui.viewer package, which contained the above named obsolete classes. Excluded package from javadoc generation (javadocOptions.txt within o.e.g4.mvc.doc). In addition, I updated the documentation at https://wiki.eclipse.org/GEF/GEF4/MVC#Properties and documented the breaking (provisional) API changes at https://wiki.eclipse.org/GEF/New_and_Noteworthy/3.10.1. Resolving as fixed in 3.10.1 M2. |