Bug 4739 - DCR: Provide auto-scrolling and expansion by default in the tree during DND (1GFW7NQ)
Summary: DCR: Provide auto-scrolling and expansion by default in the tree during DND (...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Mike Wilson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-11 14:22 EDT by Mike Wilson CLA
Modified: 2002-03-07 10:22 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Wilson CLA 2001-10-11 14:22:11 EDT
We have fairly stable code that handles Tree auto-scrolling and item expansion during
	Drag & Drop.  I think we should offer this behaviour as a feature that can be selected
	by a Style bit.  e.g. SWT.DROP_ENSURE_VISIBILITY (ideas for good names anyone??).

	Same thing with Table or other widgets that don't have native support for auto-scroll.

	Clearly we can't just drop the code in place, but it would be a good start.
	[I'm thinking of TreeDropFeedbackListener in the org.eclipse.swt.examples.fileviewer
	package.  It has some unresolved issues on Linux -- incidentally the same ones
	as the Eclipse Navigator does.]

	Currently there is some duplication in the users of our Tree class, and therefore a
	potential for bugs in the implementation, cross-platform hiccups, and UI look-and-feel
	style inconsistencies.

NOTES:

	McQ (26/06/2001 9:02:23 AM) -
		It would be good to put this in, since we didn't manage to do it for KH like
		we said we would last release.

	JB (27/08/2001 6:34:40 PM)
		Can't do this before leaving SWT team.
		There is code to implement the feedback using only public API in the
		FileViewer example but this really wants to be implemented as a
		an extension to our DND feedback mechanism.  Have talked to VI
		about this.
Comment 1 DJ Houghton CLA 2001-10-29 16:35:06 EST
PRODUCT VERSION:
	Build 125

Comment 2 Mike Wilson CLA 2001-12-10 11:41:42 EST
Support has been added.