Bug 13950 - Duplicate full functionality of java.awt shape classes
Summary: Duplicate full functionality of java.awt shape classes
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2002-04-16 18:18 EDT by Colin Sharples CLA
Modified: 2004-10-13 13:49 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Sharples CLA 2002-04-16 18:18:07 EDT
IMHO, the solution to bug #4460 is to copy all of the java.awt shape classes 
into org.eclipse.swt.graphics, reproducing all of the functionality that those 
classes provide.

It would be ideal if the SWT shape classes were compatible with the Java2D 
classes, but I understand there may be reluctance to introduce dependencies on 
the java.awt classes. Perhaps the org.eclipse.swt.graphics shape classes could, 
like java.awt.Point and so on, extend the java.awt.geom shape classes. This 
would serve to allow better integration with Java2D, with introducing a 
dependency on the java.awt *widget* layer. The java.awt.geom classes are purely 
model layer, and device-independent. The SWT classes can then adapt those model 
classes to SWT's device concept.
Comment 1 Mike Wilson CLA 2002-04-17 09:07:08 EDT
Your best chance of making this happen, is to
  1) spec something
  2) spend *several* rounds of review with the SWT committers
     bashing this into the shape it *must* have in order to be
     consistant with the rest of the SWT API
  3) implement this spec
  4) contribute it to eclipse.org

At this point, assuming that there is no undue overhead, and there are 
implementations on all (or at least most) of the supported platforms, you 
would have some chance of getting it included in SWT.
Comment 2 Mike Wilson CLA 2002-04-17 09:29:38 EDT
Also further comments in bug 4460.
Comment 3 Veronika Irvine CLA 2002-09-11 14:08:22 EDT
Moving from Later.
Comment 4 Steve Northover CLA 2002-09-11 15:28:56 EDT
Not a priority.
Comment 5 Steve Northover CLA 2004-10-13 13:39:58 EDT
SSQ, I don't think we are going to do this, especially now that we have 
interop with AWT/Swing working.  Please close as WONTFIX if you agree.
Comment 6 Silenio Quarti CLA 2004-10-13 13:49:35 EDT
Closing.