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

Bug 34490

Summary: Keyboard scrolling in paletteviewer does not reveal selected editpart
Product: [Tools] GEF Reporter: Randy Hudson <hudsonr>
Component: GEF-Legacy GEF (MVC)Assignee: Eric Bordeau <ebordeau>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P2 CC: ppshah
Version: 2.1Keywords: accessibility
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Randy Hudson CLA 2003-03-10 16:34:55 EST
the up/down scroll buttons are obscuring the newly selected editpart when using 
the UP/DOWN keys to navigate in the palette.  The fix is to set the expose 
margin on the ViewportExposeHelper returned by the drawereditpart.
Comment 1 Randy Hudson CLA 2003-03-17 17:58:38 EST
Look at ViewportExposeHelper.expose....

//	exposeRegion.expand(5,5);

This line is commented out in that class.  instead of always adding a 5,5 
margin, we should be able to customize the expose margin. Make following 
changes:

+ field Margin exposeMargin
+ method setExposeMargin(Margin)


Then, set this new field appropriately in DrawerEditPart.getAdapter
(ExposeHelper.class).
Comment 2 Randy Hudson CLA 2003-03-22 21:09:27 EST
*** Bug 35546 has been marked as a duplicate of this bug. ***
Comment 3 Eric Bordeau CLA 2003-03-22 23:44:28 EST
Added an Insets field and set method to ViewportExposeHelper and use it to
expand the expose region in exposeDescendant().