Skip to main content



      Home
Home » Eclipse Projects » GEF » Determine connection anchor status
Determine connection anchor status [message #11131] Mon, 24 June 2002 04:50 Go to next message
Eclipse UserFriend
Originally posted by: g.wagenknecht.intershop.de

Hi!

How can I determine if a connection anchor is used by a connection or if it
is free?

I searched ConnectionEditPart and AbstractConnectionAnchor for suitable
methods to determen either the ConnectionAnchor used by a ConnectionEditPart
or the ConnectionEditPart connected an anchor. Maybe I'm blind but I
couldn't a suitable method for that.

I need to determine the connection status to avoid/forbid more than one
connection to the same anchor.

Cu, Gunnar
Re: Determine connection anchor status [message #11152 is a reply to message #11131] Mon, 24 June 2002 11:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.ibm.com

That is a model problem. You shouldn't be forbidding an interaction based
on the state of the figure, but instead on the state of the model.

"Gunnar Wagenknecht" <g.wagenknecht@intershop.de> wrote in message
news:af6l02$voa$1@rogue.oti.com...
> Hi!
>
> How can I determine if a connection anchor is used by a connection or if
it
> is free?
>
> I searched ConnectionEditPart and AbstractConnectionAnchor for suitable
> methods to determen either the ConnectionAnchor used by a
ConnectionEditPart
> or the ConnectionEditPart connected an anchor. Maybe I'm blind but I
> couldn't a suitable method for that.
>
> I need to determine the connection status to avoid/forbid more than one
> connection to the same anchor.
>
> Cu, Gunnar
>
>
Re: Determine connection anchor status [message #11157 is a reply to message #11152] Tue, 25 June 2002 02:41 Go to previous message
Eclipse UserFriend
Originally posted by: g.wagenknecht.intershop.de

"Randy Hudson" <none@ibm.com> schrieb im Newsbeitrag
news:af7mrl$kon$1@rogue.oti.com...
> That is a model problem. You shouldn't be forbidding an interaction based
> on the state of the figure, but instead on the state of the model.

Aha, thanks.

Cu, Gunnar
Previous Topic:Using GEF Outside of Eclipse?
Next Topic:first connection
Goto Forum:
  


Current Time: Wed Apr 16 11:32:31 EDT 2025

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

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

Back to the top