exception in graphics.rotate [message #164414] |
Wed, 05 December 2007 15:13 |
Eclipse User |
|
|
|
Originally posted by: cohen.irascible.com
Hi,
I get the following exception when I try to call graphics.rotate inside a call to paintFigure:
"The class: class org.eclipse.gmf.runtime.draw2d.ui.render.internal.graphics.R enderedScaledGraphics has not implemented this new graphics function."
I see from the newsgroup and buglist that there are several other graphics functions that lead to the same exception. My plan was to use the direction information from RotatableShapeEditPolicyEx (etc) from bug 167316, to drive a call to graphics.rotate in the affected figures. But in looking at this code, it seems that rotation is treated as a special case of resizing.
So I have two questions: first, is there a workaround for the exception, and second, what does GMF really mean by "rotation"--will it be possible to support full 360-degree rotation of parts in our application?
Thanks.
- j
|
|
|
Powered by
FUDForum. Page generated in 0.02267 seconds