Can EditPart(Figure) act like Sash? [message #51012] |
Tue, 24 December 2002 16:56 |
Eclipse User |
|
|
|
Originally posted by: eric_to_jeff.hotmail.com
Hi all,
Can editPart act like Sash, I means when the mouse over
the editpart, will change the cursor, and if I drag it, will
send a resize request to itself or another editpart?
Currently I direct add MouseListener & MouseMotionListener
to that Figure, can I use Requests, EditPolicies?
Regards,
Eric Suen
|
|
|
Re: Can EditPart(Figure) act like Sash? [message #51205 is a reply to message #51012] |
Thu, 26 December 2002 17:06 |
Eclipse User |
|
|
|
Originally posted by: hudsonr.us.eye-bee-em.com
Is moving the sash an undoable change in the model? Do you save the sash
location?
You could try using a GEF Handle and DragTracker.
"Eric Suen" <eric_to_jeff@hotmail.com> wrote in message
news:aua2ru$gtq$1@rogue.oti.com...
> Hi all,
>
> Can editPart act like Sash, I means when the mouse over
> the editpart, will change the cursor, and if I drag it, will
> send a resize request to itself or another editpart?
>
> Currently I direct add MouseListener & MouseMotionListener
> to that Figure, can I use Requests, EditPolicies?
>
> Regards,
>
> Eric Suen
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04427 seconds