Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » controlling connection visibility dependent upon compartment expand/collapse
controlling connection visibility dependent upon compartment expand/collapse [message #105680] Tue, 20 February 2007 20:08 Go to next message
Eclipse UserFriend
Originally posted by: rbbnjmn.yahoo.com

What is the best way to control connection visibility (isVisible()) when
this
depends upon one or two compartments being expanded or collapsed.

In my case the connected nodes are inside compartments.

I've done this programatically for now by navigating up the figure tree
in the isVisible() function for the connection figure. This doesn't seem
right to me, for one thing I'm going to need to force a canvas redraw...

Thanks

Roy
Re: controlling connection visibility dependent upon compartment expand/collapse [message #105908 is a reply to message #105680] Wed, 21 February 2007 10:04 Go to previous messageGo to next message
Eclipse UserFriend
Take a look at ConnectionRefreshMgr it is an inner class in the
ShapeCompartmentEditPart

rbbnjmn wrote:
> What is the best way to control connection visibility (isVisible()) when
> this
> depends upon one or two compartments being expanded or collapsed.
>
> In my case the connected nodes are inside compartments.
>
> I've done this programatically for now by navigating up the figure tree
> in the isVisible() function for the connection figure. This doesn't seem
> right to me, for one thing I'm going to need to force a canvas redraw...
>
> Thanks
>
> Roy
>
>
Re: controlling connection visibility dependent upon compartment expand/collapse [message #105978 is a reply to message #105908] Wed, 21 February 2007 12:18 Go to previous message
Eclipse UserFriend
Originally posted by: rbbnjmn.yahoo.com

Thanks, I'll look into it.

Roy

"Mohammed Mostafa" <mmostafa@ca.ibm.com> wrote in message
news:erhn61$9ig$1@utils.eclipse.org...
> Take a look at ConnectionRefreshMgr it is an inner class in the
> ShapeCompartmentEditPart
>
> rbbnjmn wrote:
>> What is the best way to control connection visibility (isVisible()) when
>> this
>> depends upon one or two compartments being expanded or collapsed.
>>
>> In my case the connected nodes are inside compartments.
>>
>> I've done this programatically for now by navigating up the figure tree
>> in the isVisible() function for the connection figure. This doesn't seem
>> right to me, for one thing I'm going to need to force a canvas redraw...
>>
>> Thanks
>>
>> Roy
Previous Topic:diagram visualID: 79 or 1000?
Next Topic:How to display ID attribute of the corresponding IDREF in a compartment.
Goto Forum:
  


Current Time: Tue Jul 22 08:38:07 EDT 2025

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

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

Back to the top