Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Border items keeping moving
Border items keeping moving [message #159149] Fri, 09 November 2007 08:34 Go to next message
Cedric Brun is currently offline Cedric BrunFriend
Messages: 431
Registered: July 2009
Senior Member
Hi,

I created a modeler using the border items (port-like figure in UML
talking). I noticed that when a new item added in the port container, all
the existing ports are moving (I guess to avoid collisions). Most of the
time it's not working for my cases and I do have collision, so I would like
to inhibate this behavior - the auto-moving - ports.

Any advice would be greatly appreciated :)

Cédric


http://cedric.brun.io news and articles on eclipse and eclipse modeling.
Re: Border items keeping moving [message #159730 is a reply to message #159149] Mon, 12 November 2007 16:00 Go to previous message
Cherie Revells is currently offline Cherie RevellsFriend
Messages: 299
Registered: July 2009
Senior Member
Cédric,

There should be a BorderItemLocator being used for your port border
items. You can override for the behavior you want or write your own
locator for your ports.

Regards,
Cherie

Cédric Brun wrote:
> Hi,
>
> I created a modeler using the border items (port-like figure in UML
> talking). I noticed that when a new item added in the port container, all
> the existing ports are moving (I guess to avoid collisions). Most of the
> time it's not working for my cases and I do have collision, so I would like
> to inhibate this behavior - the auto-moving - ports.
>
> Any advice would be greatly appreciated :)
>
> Cédric
>
Previous Topic:Automatic node creation
Next Topic:Modify save behavior in generated GMF editor
Goto Forum:
  


Current Time: Thu Mar 28 22:00:29 GMT 2024

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

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

Back to the top