Community
Participate
Working Groups
If clients use some of the methods in SWTGraphics that require the advanced graphics library and the user does not have an advanced graphics library in their environment the results could be ugly (diagram may not open or be unusable and log fills up with errors). Clients should check if advanced graphics is supported, by calling GC.getAdvanced(), before calling a method on SWTGraphics that requires advanced graphics. I suggest we at least add a comment to the javadoc in advanced graphics methods of SWTGraphics to make clients aware of this. I am attaching a patch.
Created attachment 58698 [details] Adds to existing javadoc.
Cherie, can you redo the patch so that it does not change the method indentation. Open the patch and you will see what I mean.
Created attachment 59082 [details] Removed added whitespace from patch
Committed to HEAD
I cannot change the Assigned To: field without reopening the bug.
Patch committed to GEF 3.3 M6