Summary: | [API] Add ability to fill tracker rectangle | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Chris Gross <schtoo> |
Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | markus.kell.r, niraj.modi, schnuddelbuddel, steve_northover |
Version: | 3.2 | Keywords: | api, triaged |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Whiteboard: |
Description
Chris Gross
2005-12-16 19:14:48 EST
I have already requested that SWT support this generically...see bug 155680... The 3.2 codebase has an example of how to do this. The new trim dragging code overrides the Tracker's default behaviour by placing the track rect at (10000,0) and managing the feed back itself (see org.eclipse.ui.internal.TrimDropTarget for the code itself). Does this (hack) actually work on all platforms? Chris, FYI...see bug 160498. This fix should eliminate the snapRectangle hack. This means that you can simply create the tracker and not set up a 'snap' rectangle, then provide your own feedback using the tracker's events... Eric, what are you using to show your feedback? Just a region-ed window? Do you have some method to draw your own XOR rect? I need those rectangles, just filled. I'm unaware of how to do that XOR in base SWT. Moving report to triage, see http://www.eclipse.org/swt/triage.php for more info about swt bug handling. |