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

Bug 503342

Summary: Remove ContentModel, use IViewer#contentsProperty() instead.
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF MVCAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0.0   
Target Milestone: 5.0.0 (Oxygen) M3   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2016-10-04 07:37:05 EDT
Since the IViewer interface already provides methods for accessing the content-part-map, the list of contents that is currently provided by the ContentModel really is a first level concept. Furthermore, the ContentModel currently does not provide anything in addition to the list of contents. Therefore, the ContentModel should be removed and the list of contents should be provided as a contentsProperty() by the IViewer interface.
Comment 1 Matthias Wienand CLA 2016-10-19 05:56:25 EDT
I removed the ContentModel and moved the functionality into IViewer and InfiniteCanvasViewer. The code is published on the master branch, therefore, I resolve this ticket as fixed for 5.0.0 M3.