Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gef-dev] Auto-expose and marquee tools

Hi!

I'd like to add and contribute support for auto-expose on the marquee
tools. Currently I see three options.

1. Move auto-expose implementation from TargetingTool into AbstractTool.
2. Move auto-expose implementation from TargetingTool into a new
abstract class AutoexposeTool and inherit from this class.
3. Reimplement auto-expose in the marquee tools.
 
I don't want to go the 3rd way. What's the best way to go? The 2nd is
the more cleaner way. 

BTW, I also attached a new patch to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=44288

This adds an additional contructor which allows clients to create a
ViewportAutoexposeHelper that continues scrolling if the pointer is
moved outside the viewport.

Cu, Gunnar


Back to the top