A question. [message #187815] |
Fri, 15 July 2005 15:32 |
Eclipse User |
|
|
|
Originally posted by: wudong.liu.gmail.com
Hi, All:
How can I set the constrains for the childrens of a container when they
are firstly created and added, after the method getModelChildren() is
called. It seems the children figure are created and added automaticlly,
and give me no chance to set the constrains for them.
Must I set the constrians in the refreshVisuals() method, or is there
other method i can use?
|
|
|
Re: A question. [message #187854 is a reply to message #187815] |
Fri, 15 July 2005 17:38 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
Yes, do that in refreshVisuals(), as all our examples do. Look at
ShapeEditPart in the shapes example for reference.
"Wudong Liu" <wudong.liu@gmail.com> wrote in message
news:db8kv6$hfm$1@news.eclipse.org...
> Hi, All:
> How can I set the constrains for the childrens of a container when they
> are firstly created and added, after the method getModelChildren() is
> called. It seems the children figure are created and added automaticlly,
> and give me no chance to set the constrains for them.
> Must I set the constrians in the refreshVisuals() method, or is there
> other method i can use?
|
|
|
Powered by
FUDForum. Page generated in 0.03758 seconds