Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » exception in graphics.rotate
exception in graphics.rotate [message #164414] Wed, 05 December 2007 15:13
Eclipse UserFriend
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
Previous Topic:layout and borders not persisting
Next Topic:files inside jar
Goto Forum:
  


Current Time: Fri Apr 26 16:54:49 GMT 2024

Powered by FUDForum. Page generated in 0.02267 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top