Skip to main content



      Home
Home » Eclipse Projects » GEF » Cannot see the connection during creation
Cannot see the connection during creation [message #11685] Mon, 01 July 2002 03:00 Go to next message
Eclipse UserFriend
Hi
i'm trying to create a connection between two editparts on my editor, and
during the creation i can see the connection only when the cursor is above
the target of the connection. i have defined connection anchors for my
editparts and when i see the connection (i.e., the cursor is above the
target), the connection look fine and exactly the way i want it.
any ideas
thanks
yoav
Re: Cannot see the connection during creation [message #11720 is a reply to message #11685] Mon, 01 July 2002 10:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.ibm.com

The source node should be asked to show source feedback for the creation of
a connection, even when there is no current target.

to see this, open the View GEF->GEF Debug, and check the Toolbar button in
that view labeled "Feedback".
You will see logged requests as you move the mouse during connection
creation.

"Yoav Rubin" <yoav@il.ibm.com> wrote in message
news:afoun3$tc3$1@rogue.oti.com...
> Hi
> i'm trying to create a connection between two editparts on my editor, and
> during the creation i can see the connection only when the cursor is above
> the target of the connection. i have defined connection anchors for my
> editparts and when i see the connection (i.e., the cursor is above the
> target), the connection look fine and exactly the way i want it.
> any ideas
> thanks
> yoav
>
Re: Cannot see the connection during creation [message #12210 is a reply to message #11720] Wed, 03 July 2002 08:24 Go to previous messageGo to next message
Eclipse UserFriend
Hi, how does the source node is asked for showing the source feedback, i
can\'t find where in the GEF Logic example this thing happends.
Randy Hudson wrote:

> The source node should be asked to show source feedback for the creation of
> a connection, even when there is no current target.

> to see this, open the View GEF->GEF Debug, and check the Toolbar button in
> that view labeled \"Feedback\".
> You will see logged requests as you move the mouse during connection
> creation.

> \"Yoav Rubin\" <yoav@il.ibm.com> wrote in message
> news:afoun3$tc3$1@rogue.oti.com...
> > Hi
> > i\'m trying to create a connection between two editparts on my editor, and
> > during the creation i can see the connection only when the cursor is above
> > the target of the connection. i have defined connection anchors for my
> > editparts and when i see the connection (i.e., the cursor is above the
> > target), the connection look fine and exactly the way i want it.
> > any ideas
> > thanks
> > yoav
> >
Re: Cannot see the connection during creation [message #12214 is a reply to message #12210] Wed, 03 July 2002 10:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.ibm.com

See AbstractConnectionCreationTool:
protected void showSourceFeedback()...
Re: Cannot see the connection during creation [message #12223 is a reply to message #12214] Wed, 03 July 2002 11:34 Go to previous messageGo to next message
Eclipse UserFriend
all i can see after i select the source of the connection , and during the
cursor move is a point near the cursor, and no line to represent the
connection. i've looked into GEF sources, but i couldn't find any idea
what am i doing wrong, i've setted the sourceEditPart of the request to
the actuall edit part, and it is returning the appropriate anchor (and
these methods are called, i have verified it), but still, i get the same
dot. any idea?
Randy Hudson wrote:

> See AbstractConnectionCreationTool:
> protected void showSourceFeedback()...
Re: Cannot see the connection during creation [message #12226 is a reply to message #12223] Wed, 03 July 2002 14:00 Go to previous message
Eclipse UserFriend
Originally posted by: none.ibm.com

I do not have the June 4th code on my machine. Can you reproduce this with
the Logic example?

"Yoav Rubin" <yoav@il.ibm.com> wrote in message
news:afv5is$am0$1@rogue.oti.com...
> all i can see after i select the source of the connection , and during the
> cursor move is a point near the cursor, and no line to represent the
> connection. i've looked into GEF sources, but i couldn't find any idea
> what am i doing wrong, i've setted the sourceEditPart of the request to
> the actuall edit part, and it is returning the appropriate anchor (and
> these methods are called, i have verified it), but still, i get the same
> dot. any idea?
> Randy Hudson wrote:
>
> > See AbstractConnectionCreationTool:
> > protected void showSourceFeedback()...
>
>
Previous Topic:Combining View model and GEF models?
Next Topic:different behavior of AlignmentAction
Goto Forum:
  


Current Time: Sun May 11 06:07:41 EDT 2025

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

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

Back to the top