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

Bug 510422

Summary: Add #isContentRestricted():boolean to all viewport manipulating actions and contribution items.
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.1.0   
Target Milestone: 5.0.0 (Oxygen) M5   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2017-01-13 05:50:39 EST
The viewport manipulating actions and contribution items should provide a method #isContentRestricted():boolean that can be overridden by subclasses. When content restricted, the contents are scrolled so that free space can only emerge at the bottom and right sides.
Comment 1 Matthias Wienand CLA 2017-01-23 08:20:26 EST
I added #isContentRestricted():boolean methods to all viewport manipulating actions and implemented the content-restricted viewport manipulations. The contribution items delegate to actions for performing the individual manipulations. Hence, the method does not need to be provided by ZoomComboContributionItem and ZoomScaleContributionItem. The code is published on the master branch, therefore, I resolve this ticket as fixed for 5.0.0 M5.