Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 509007

Summary: Make use of the same ContentPart implementations in ContentViewer and PaletteViewer
Product: [Tools] GEF Reporter: Alexander Nyßen <nyssen>
Component: GEF MVCAssignee: Alexander Nyßen <nyssen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0.0   
Target Milestone: 5.0.0 (Oxygen) M4   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 493523, 506331    
Bug Blocks:    

Description Alexander Nyßen CLA 2016-12-09 14:31:03 EST
We should rework the MVC logo example to make use of the same content parts in content viewer in palette viewer, but with different bindings (policies, behaviors). 

In order to do so, we need to be able to specify transitive role based bindings (see bu #493523). Further, we need to ensure that all parts are (adaptable.)bound to their viewer, so we can restrict binding of policies to behaviors to the respective viewer 'scope.
Comment 1 Alexander Nyßen CLA 2016-12-13 15:02:19 EST
I pushed the following changes to origin/master:

- Adjusted bindings in MVC logo example to re-use GeometricShapePart for palette viewer, but with different bindings.
- Replaced PaletteModel with direct creation of palette viewer contents within MvcLogoExample.
- Adjusted logo web example to use the palette model from MvcLogoExample.

Resolving as fixed in 5.0.0 (Oxygen) M4 (final contribution).