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

Bug 282589

Summary: Public access to SWTGraphics#clone(LineAttributes) and SWTGraphics#copyLineAttributes()
Product: [Tools] GEF Reporter: Alex Boyko <aboyko>
Component: GEF-Legacy Draw2dAssignee: Alex Boyko <aboyko>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ahunter.eclipse, mgobeil
Version: 3.5   
Target Milestone: 3.5.0 (Galileo SR1)   
Hardware: PC   
OS: Windows XP   
Whiteboard: 3.5.1
Bug Depends on:    
Bug Blocks: 282591    
Attachments:
Description Flags
patch none

Description Alex Boyko CLA 2009-07-06 19:06:45 EDT
Created attachment 140913 [details]
patch

GMF GraphicsToGraphics2DAdaptor extends Graphics and implements state behavior, where line attributes needs be clones/copied. the clone and copy methods are implemented in SWTGraphics class, but are package local. It'd be good if they could be reused outside of SWTGraphics package.
Comment 1 Alex Boyko CLA 2009-07-08 16:22:58 EDT
Committed to head and maintenance for 3.6 and 3.5.1
Comment 2 Anthony Hunter CLA 2009-07-24 09:51:36 EDT
API tools is complaining about the change in API and wants us to increment the minor version to 3.6.

I do not think this can be a binary compatibility issue, the methods were private before.

I will add API Rules to ignore these errors. If you disagree, let me know.

p.s. we need to be binary compatible.
Comment 3 Anthony Hunter CLA 2010-02-10 16:54:54 EST
(In reply to comment #1)
> Committed to head and maintenance for 3.6 and 3.5.1

Target Milestone 3.5.1.