Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » A question.
A question. [message #187815] Fri, 15 July 2005 15:32 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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?
Previous Topic:ConnectionDragCreationTool and eraseSourceFeedback()
Next Topic:SashForm-like behaviour
Goto Forum:
  


Current Time: Tue Dec 10 16:01:18 GMT 2024

Powered by FUDForum. Page generated in 0.03758 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top