Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » RotatableShapeEditPolicy with Polygon
RotatableShapeEditPolicy with Polygon [message #239774] Thu, 15 November 2007 16:40 Go to next message
kent gibson is currently offline kent gibsonFriend
Messages: 114
Registered: July 2009
Senior Member
I would like to use the RotatableShapeEditPolicy but I would like the rotate
feedback to work with arbitrary degrees.

I reckon that createDragSourceFeedbackFigure needs to use a Polygon instead
of a RectangleFigure. I experimented a bit, but nothing managed to work. I
never see any feedback.

Does anyone have any ideas?

thanks
Re: RotatableShapeEditPolicy with Polygon [message #239796 is a reply to message #239774] Fri, 16 November 2007 04:55 Go to previous messageGo to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi Kentusha

The only place I have seen this implemented rotates 90 degrees. Note that
RotatableShapeEditPolicy is in GMF (not GEF).

Cheers...
Anthony

"kentusha" <kentgibson@yahoo.com> wrote in message
news:fhhsqk$553$1@build.eclipse.org...
>I would like to use the RotatableShapeEditPolicy but I would like the
>rotate feedback to work with arbitrary degrees.
>
> I reckon that createDragSourceFeedbackFigure needs to use a Polygon
> instead of a RectangleFigure. I experimented a bit, but nothing managed to
> work. I never see any feedback.
>
> Does anyone have any ideas?
>
> thanks
>
>
Re: RotatableShapeEditPolicy with Polygon [message #239806 is a reply to message #239796] Fri, 16 November 2007 13:19 Go to previous message
kent gibson is currently offline kent gibsonFriend
Messages: 114
Registered: July 2009
Senior Member
alrighty, thanks, I went and posted it on the gmf newsgroup, I didn't
realizer there was such a thing. I hope someone doesn't moan that I cross
posted.
Previous Topic:sector figures
Next Topic:[Announce] GEF 3.4 Project Plans
Goto Forum:
  


Current Time: Sat Apr 20 04:28:23 GMT 2024

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

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

Back to the top