Bug 34490 - Keyboard scrolling in paletteviewer does not reveal selected editpart
Summary: Keyboard scrolling in paletteviewer does not reveal selected editpart
Status: RESOLVED FIXED
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy GEF (MVC) (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P2 major (vote)
Target Milestone: ---   Edit
Assignee: Eric Bordeau CLA
QA Contact:
URL:
Whiteboard:
Keywords: accessibility
: 35546 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-03-10 16:34 EST by Randy Hudson CLA
Modified: 2003-03-22 23:44 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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().