Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » hide a link when collpase a compartment of child border
hide a link when collpase a compartment of child border [message #132688] Tue, 05 June 2007 08:28 Go to next message
Eclipse UserFriend
Originally posted by: william.briand.lirmm.fr

hi,
I have a node with a child on the bord.Each one contains a compartment.I
have a link which connects labels between the two compartiments.When I
close the compartment of parent node, the link disappear ! but not when I
reduce the compartment of the child !!! how can I solve this problem ?
thanks
Re: hide a link when collpase a compartment of child border [message #133385 is a reply to message #132688] Wed, 06 June 2007 11:34 Go to previous message
Eclipse UserFriend
William,

The code in ShapeCompartmentEditPart.ConnectionRefreshMgr is supposed to
hide links if the shape they are connected to is not visible within the
compartment because it is out of the visible area in a compartment with
a scrollbar or because the compartment is collapsed. I have not tested
the case of a link between a shape inside a compartment on a border item
to a shape inside the top-level shape's compartment (which is what your
scenario sounds like). If it doesn't work in this case, then you can
raise a bugzilla.

Regards,
Cherie

william wrote:
> hi,
> I have a node with a child on the bord.Each one contains a compartment.I
> have a link which connects labels between the two compartiments.When I
> close the compartment of parent node, the link disappear ! but not when I
> reduce the compartment of the child !!! how can I solve this problem ?
> thanks
>
>
Previous Topic:handling key press
Next Topic:Copy element from one to another diagram problems ...
Goto Forum:
  


Current Time: Sun Jul 13 23:50:41 EDT 2025

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

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

Back to the top