How to resize inversely? [message #210035] |
Wed, 22 February 2006 03:15 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02882 seconds