notify editor [message #146597] |
Thu, 05 August 2004 08:34 |
Eclipse User |
|
|
|
Originally posted by: penzhan8451.sina.com
Hi,
when i chenged some objects's locations (these objects were in
graphical
editor) in program , how could i notity the content editpart and response
these changes ?
Thanks in advance.
|
|
|
|
Re: notify editor [message #146688 is a reply to message #146675] |
Fri, 06 August 2004 02:44 |
Eclipse User |
|
|
|
Originally posted by: penzhan8451.sina.com
Thanks Pratik !
That's good. But I encountered another problem. The graphical include
lines. The changes could be response completely util i refresh the screen
(Example: minisize,then maximum). why ?
Many thanks.
Pratik Shah wrote:
> Your EditPart should be notified when the location in the model changes.
> Your EditPart can then revalidate the figure (which will cause a layout to
> occur). If you are using constraints, then simply setting the layout
> constraint on the parent EditPart will do the trick. This should already be
> happening in refreshVisuals().
> "PL Fisher " <penzhan8451@sina.com> wrote in message
> news:cesrdu$pm2$1@eclipse.org...
> > Hi,
> >
> > when i chenged some objects's locations (these objects were in
> > graphical
> >
> > editor) in program , how could i notity the content editpart and response
> >
> > these changes ?
> >
> > Thanks in advance.
> >
> >
> >
> >
|
|
|
|
Powered by
FUDForum. Page generated in 0.05901 seconds