Bug 121298 - [API] Add ability to fill tracker rectangle
Summary: [API] Add ability to fill tracker rectangle
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.2   Edit
Hardware: PC All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: api, triaged
Depends on:
Blocks:
 
Reported: 2005-12-16 19:14 EST by Chris Gross CLA
Modified: 2017-07-12 05:21 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Gross CLA 2005-12-16 19:14:48 EST
We need the ability to have a tracker that displays a full filled rectangle of stippled area rather than just the rectangle's outline.
Comment 1 Eric Moffatt CLA 2006-10-10 14:31:05 EDT
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).
Comment 2 Steve Northover CLA 2006-10-10 15:07:26 EDT
Does this (hack) actually work on all platforms?
Comment 3 Eric Moffatt CLA 2006-10-12 16:04:41 EDT
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...
Comment 4 Chris Gross CLA 2006-10-13 11:22:11 EDT
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.
Comment 5 Grant Gayed CLA 2009-09-25 17:01:07 EDT
Moving report to triage, see http://www.eclipse.org/swt/triage.php
for more info about swt bug handling.