The right EditPolicies [message #194583] |
Fri, 02 September 2005 08:36 |
Eclipse User |
|
|
|
Originally posted by: dan.nicolici.nexource.ro
This is a multi-part message in MIME format.
------=_NextPart_000_000F_01C5AFB2.83F94C80
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi!
I'm having a hard time finding which EditPolicies to install in my parts =
to get children move/resize behavior. Please help!
Thank you!
------=_NextPart_000_000F_01C5AFB2.83F94C80
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I'm having a hard time finding which =
EditPolicies=20
to install in my parts to get children move/resize behavior. Please=20
help!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thank you!</FONT></DIV></BODY></HTML>
------=_NextPart_000_000F_01C5AFB2.83F94C80--
|
|
|
Re: The right EditPolicies [message #194593 is a reply to message #194583] |
Fri, 02 September 2005 09:06 |
Eclipse User |
|
|
|
Originally posted by: zhaojiangbin.163.com
you can use XYLayoutEditPolicy
and provide a command in this method:
protected Command createChangeConstraintCommand(ChangeBoundsRequest request,
EditPart child, Object constraint)
consult DiagramEditPart.class in Shape example for detail
|
|
|
Powered by
FUDForum. Page generated in 0.02786 seconds