Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » ConnectionAnchor feedback
ConnectionAnchor feedback [message #201524] Tue, 01 November 2005 21:15 Go to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

I am using a variation of the chopbox anchor. I anchors at the location
the mouse is clicked on the object (sorta). I would like to show
feedback before the mouse is clicked so the user can know where the
anchor point is about to be placed.

How should I go about this? I'm very familiar with GEF, so simple
answers should suffice.

User gets feedback on the target side since the line is drawn based on
the anchor points, but when starting the connection there is no line to
reveal what is about to happen.


Thanks!


CL
Re: ConnectionAnchor feedback [message #201548 is a reply to message #201524] Tue, 01 November 2005 23:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.unknown.com

See ConnectionCreationTool#showSourceFeedback(). It doesn't show source
feedback until the connection source has been set (which happens when the
user clicks on the first part). In your case, you can show the feedback on
the target editpart if the connection source is null. Don't forget to erase
the feedback.

"CL [dnoyeb] Gilbert" <Lamont_Gilbert@rigidsoftware.com> wrote in message
news:dk8ltm$nr1$1@news.eclipse.org...
> I am using a variation of the chopbox anchor. I anchors at the location
> the mouse is clicked on the object (sorta). I would like to show
> feedback before the mouse is clicked so the user can know where the
> anchor point is about to be placed.
>
> How should I go about this? I'm very familiar with GEF, so simple
> answers should suffice.
>
> User gets feedback on the target side since the line is drawn based on
> the anchor points, but when starting the connection there is no line to
> reveal what is about to happen.
>
>
> Thanks!
>
>
> CL
Re: ConnectionAnchor feedback [message #201679 is a reply to message #201548] Wed, 02 November 2005 16:15 Go to previous message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

Lol, if I had not been deep into the connection system for this weekend
I might have been confused by your use of the term 'target' editpart :)

Ill see if I can get the target to show some feedback just like the
target of the completion command does. just a small box that moves.
Odd part is the architecture is asking for an anchor in the request, but
i guess its not really using it yet.

Thanks,

CL


Pratik Shah wrote:
> See ConnectionCreationTool#showSourceFeedback(). It doesn't show source
> feedback until the connection source has been set (which happens when the
> user clicks on the first part). In your case, you can show the feedback on
> the target editpart if the connection source is null. Don't forget to erase
> the feedback.
>
> "CL [dnoyeb] Gilbert" <Lamont_Gilbert@rigidsoftware.com> wrote in message
> news:dk8ltm$nr1$1@news.eclipse.org...
>
>>I am using a variation of the chopbox anchor. I anchors at the location
>>the mouse is clicked on the object (sorta). I would like to show
>>feedback before the mouse is clicked so the user can know where the
>>anchor point is about to be placed.
>>
>>How should I go about this? I'm very familiar with GEF, so simple
>>answers should suffice.
>>
>>User gets feedback on the target side since the line is drawn based on
>>the anchor points, but when starting the connection there is no line to
>>reveal what is about to happen.
>>
>>
>>Thanks!
>>
>>
>>CL
>
>
>
Previous Topic:Automatic Layout issues
Next Topic:Routers
Goto Forum:
  


Current Time: Sat Dec 07 09:28:05 GMT 2024

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

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

Back to the top