Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 13950

Summary: Duplicate full functionality of java.awt shape classes
Product: [Eclipse Project] Platform Reporter: Colin Sharples <sharples>
Component: SWTAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P5 Keywords: helpwanted
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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.