Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to resize inversely?
How to resize inversely? [message #210035] Wed, 22 February 2006 03:15
Eclipse UserFriend
Originally posted by: brandonchen.realtek.com.tw

Hi,

This is the problem I met. I want to create a line figure by GEF.
The user could redraw the line in any direction. Even after the
constraint area shrinks to zero, the area would then become bigger
while redrawing in the same direction.

My problem is that the ResizableEditPolicy restricts me to draw
after the constraint area shrinks to zero.

For example:
If I move the cursor from point(10,10) to point(0,0) it is ok to
redraw from an existing line. But the policy restricts me redrawing
the line from (0,0) to (-10, -10) since the constraint area becomes
zero.

What can I do to make it work? Thanks


Brandon
Previous Topic:Toggle Grid Action in ContextMenu
Next Topic:How to change Model property number dynamically?
Goto Forum:
  


Current Time: Wed Jan 22 06:52:59 GMT 2025

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

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

Back to the top