Skip to main content



      Home
Home » Eclipse Projects » GEF » About connections
About connections [message #162727] Sat, 25 December 2004 03:40 Go to next message
Eclipse UserFriend
Originally posted by: zhlmmc.hotmail.com

I put a connection between my editparts,when I move the editpart,the
connection will move corresponsively.What happened during the operation?

Thank you!
Re: About connections [message #162735 is a reply to message #162727] Sat, 25 December 2004 03:54 Go to previous messageGo to next message
Eclipse UserFriend
The anchor that is listening on your figure's movements has notified
your conection to revalidate.

zhlmmc wrote:
> I put a connection between my editparts,when I move the editpart,the
> connection will move corresponsively.What happened during the operation?
>
> Thank you!
>

--
Cloudor Pu
http://cloudor.mysmth.net/
Re: About connections [message #162741 is a reply to message #162735] Sat, 25 December 2004 04:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zhlmmc.hotmail.com

What does an anchor belong to?A NodeEditPart or a Connection?

Cloudor Pu wrote:

> The anchor that is listening on your figure's movements has notified
> your conection to revalidate.

> zhlmmc wrote:
>> I put a connection between my editparts,when I move the editpart,the
>> connection will move corresponsively.What happened during the operation?
>>
>> Thank you!
>>
Re: About connections [message #162748 is a reply to message #162741] Sun, 26 December 2004 03:39 Go to previous messageGo to next message
Eclipse UserFriend
Anchor's owner is figure.
See AbstractConnectionAnchor#setOwner()

zhlmmc wrote:
> What does an anchor belong to?A NodeEditPart or a Connection?
>
> Cloudor Pu wrote:
>
>> The anchor that is listening on your figure's movements has notified
>> your conection to revalidate.
>
>
>> zhlmmc wrote:
>>
>>> I put a connection between my editparts,when I move the editpart,the
>>> connection will move corresponsively.What happened during the operation?
>>>
>>> Thank you!
>>>
>
>
>

--
Cloudor Pu
http://cloudor.mysmth.net/
Re: About connections [message #162849 is a reply to message #162741] Tue, 28 December 2004 10:32 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Anchors are only stored by the connections. But most likely you can reuse
them and manage instances at the editparts.

"zhlmmc" <zhlmmc@hotmail.com> wrote in message
news:cqjcdp$nmf$1@www.eclipse.org...
> What does an anchor belong to?A NodeEditPart or a Connection?
>
> Cloudor Pu wrote:
>
> > The anchor that is listening on your figure's movements has notified
> > your conection to revalidate.
>
> > zhlmmc wrote:
> >> I put a connection between my editparts,when I move the editpart,the
> >> connection will move corresponsively.What happened during the
operation?
> >>
> >> Thank you!
> >>
>
>
>
Previous Topic:GEF Logic Example
Next Topic:can i use GEF JUnit Plugin Tests and Automated Testing Framework to test my gef app?
Goto Forum:
  


Current Time: Mon Jul 14 00:02:02 EDT 2025

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

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

Back to the top