Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » ReconnectRequest: Information about the old source/target
ReconnectRequest: Information about the old source/target [message #211535] Mon, 13 March 2006 20:53 Go to next message
Jens Bartelheimer is currently offline Jens BartelheimerFriend
Messages: 44
Registered: July 2009
Member
Hi,

I have a problem with the ReconnectRequest. The request includes only
information about the new source or target. Is there a way to get the
old source/target from which the connection is detached?

Regards,
Jens
Re: ReconnectRequest: Information about the old source/target [message #211585 is a reply to message #211535] Tue, 14 March 2006 06:07 Go to previous messageGo to next message
Andreas Schosser is currently offline Andreas SchosserFriend
Messages: 30
Registered: July 2009
Member
You should probably introduce a ReconnectCommand and refer to source and
target there.
Have a look at the 'SWT/JFace in Action' example:
http://www.manning.com/books/scarpino/source

Kind regards,

--
Andreas Schosser
Mind8 GmbH


> Hi,
>
> I have a problem with the ReconnectRequest. The request includes only
> information about the new source or target. Is there a way to get the
> old source/target from which the connection is detached?
>
> Regards,
> Jens
Re: ReconnectRequest: Information about the old source/target [message #211592 is a reply to message #211585] Tue, 14 March 2006 08:50 Go to previous messageGo to next message
Jens Bartelheimer is currently offline Jens BartelheimerFriend
Messages: 44
Registered: July 2009
Member
The problem is that my connection does not differ between target and
source. It is an association with to memberends, they are ordered but
the ordering should not express which member is source or target. Thus I
have the problem to decide which memberend I must delete. I can solve my
problem with the order but I am interested if there is another
way/request that offers information about the old source/target.

Thanks,
Jens

Andreas Schosser wrote:
> You should probably introduce a ReconnectCommand and refer to source and
> target there.
> Have a look at the 'SWT/JFace in Action' example:
> http://www.manning.com/books/scarpino/source
>
> Kind regards,
>
> --Andreas Schosser
> Mind8 GmbH
>
>
>> Hi,
>>
>> I have a problem with the ReconnectRequest. The request includes only
>> information about the new source or target. Is there a way to get the
>> old source/target from which the connection is detached?
>>
>> Regards,
>> Jens
Re: ReconnectRequest: Information about the old source/target [message #211751 is a reply to message #211535] Wed, 15 March 2006 15:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

how about:
reconnectRequest.getConnectionEditPart().getTarget/Source()

"Jens" <jens.bartelheimer@gmx.de> wrote in message
news:dv4m86$npi$1@utils.eclipse.org...
> Hi,
>
> I have a problem with the ReconnectRequest. The request includes only
> information about the new source or target. Is there a way to get the old
> source/target from which the connection is detached?
>
> Regards,
> Jens
Re: ReconnectRequest: Information about the old source/target [message #211766 is a reply to message #211751] Wed, 15 March 2006 18:42 Go to previous message
Jens Bartelheimer is currently offline Jens BartelheimerFriend
Messages: 44
Registered: July 2009
Member
Ah, yes, that's a solution.
Thanks

Randy Hudson wrote:
> how about:
> reconnectRequest.getConnectionEditPart().getTarget/Source()
>
> "Jens" <jens.bartelheimer@gmx.de> wrote in message
> news:dv4m86$npi$1@utils.eclipse.org...
>> Hi,
>>
>> I have a problem with the ReconnectRequest. The request includes only
>> information about the new source or target. Is there a way to get the old
>> source/target from which the connection is detached?
>>
>> Regards,
>> Jens
>
>
Previous Topic:Drag drop - creating multiple elements at once
Next Topic:RTF Editor using GEF
Goto Forum:
  


Current Time: Thu Apr 25 11:58:03 GMT 2024

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

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

Back to the top