|
|
Re: Logic example router problem [message #86677 is a reply to message #86669] |
Mon, 07 July 2003 23:44   |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Not only is it a bug in the example, but it's a feature in GEF that the
bogus connection is still visible ;-)
When the connection editpart looses its target, which is the case, we still
show the connection, but give it a hard-coded anchor point.
"Randy Hudson" <none@us.ibm.com> wrote in message
news:bedel4$1rj$1@eclipse.org...
> The example should prevent this from happening, but doesn't. It's a bug
in
> the example. The logic model only supports a single incoming connection
per
> terminal, but multiple outgoing wires are allowed.
>
> "Carlos Augusto C. Grahl" <carlos.grahl@senior.com.br> wrote in message
> news:bec7qk$v2o$1@eclipse.org...
> > Hello,
> >
> > When I try to make two connections between the same anchors on the logic
> > diagram, the second connection does not connect to the anchor. It goes
to
> > some point on the diagram which is not connected to anything. Take a
look
> at
> > the three pictures attached.
> >
> > Step1.bmp: two figures with a Connection between them.
> > Step2.bmp: This is what happens when I'm creating the second Connection.
> > Step3.bmp: When I release the mouse button, the second Connection goes
to
> a
> > point which is not connected to any figure.
> >
> > When I'm dragging the connection the AutomaticRouter inserts a bendpoint
> in
> > the middle of the line, but when I release the mouse button, the
> connection
> > goes to a place totally wrong. I think that the correct behaviour could
be
> > two possibilities:
> >
> > 1) Using the AutomaticRouter and create the Connection
> > 2) Does not create the second Connection (which already exists - it's
> > exactly the same as the first)
> >
> > How to solve that?
> >
> > Thanks
> >
> > Carlos Augusto Grahl
> >
> >
> >
>
>
|
|
|
Re: Logic example router problem [message #86691 is a reply to message #86677] |
Tue, 08 July 2003 07:19   |
Eclipse User |
|
|
|
Originally posted by: carlos.grahl.senior.com.br
Hi!
And you have any hint on how to solve this bug (how let the editpart have
more than one incoming connection)?
Thanks!
Carlos Augusto Grahl
"Randy Hudson" <none@us.ibm.com> escreveu na mensagem
news:beden5$1s5$1@eclipse.org...
> Not only is it a bug in the example, but it's a feature in GEF that the
> bogus connection is still visible ;-)
> When the connection editpart looses its target, which is the case, we
still
> show the connection, but give it a hard-coded anchor point.
>
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:bedel4$1rj$1@eclipse.org...
> > The example should prevent this from happening, but doesn't. It's a bug
> in
> > the example. The logic model only supports a single incoming connection
> per
> > terminal, but multiple outgoing wires are allowed.
> >
> > "Carlos Augusto C. Grahl" <carlos.grahl@senior.com.br> wrote in message
> > news:bec7qk$v2o$1@eclipse.org...
> > > Hello,
> > >
> > > When I try to make two connections between the same anchors on the
logic
> > > diagram, the second connection does not connect to the anchor. It goes
> to
> > > some point on the diagram which is not connected to anything. Take a
> look
> > at
> > > the three pictures attached.
> > >
> > > Step1.bmp: two figures with a Connection between them.
> > > Step2.bmp: This is what happens when I'm creating the second
Connection.
> > > Step3.bmp: When I release the mouse button, the second Connection goes
> to
> > a
> > > point which is not connected to any figure.
> > >
> > > When I'm dragging the connection the AutomaticRouter inserts a
bendpoint
> > in
> > > the middle of the line, but when I release the mouse button, the
> > connection
> > > goes to a place totally wrong. I think that the correct behaviour
could
> be
> > > two possibilities:
> > >
> > > 1) Using the AutomaticRouter and create the Connection
> > > 2) Does not create the second Connection (which already exists - it's
> > > exactly the same as the first)
> > >
> > > How to solve that?
> > >
> > > Thanks
> > >
> > > Carlos Augusto Grahl
> > >
> > >
> > >
> >
> >
>
>
|
|
|
Re: Logic example router problem [message #86702 is a reply to message #86691] |
Tue, 08 July 2003 10:09  |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
The fix is to prevent the second connection from being connected. This can
be done in the ConnectionCommand.
If you had two input wires, which one would you use to determine the boolean
value of the input? It doesn't make sense.
"Carlos Augusto C. Grahl" <carlos.grahl@senior.com.br> wrote in message
news:bee9c0$mg2$1@eclipse.org...
> Hi!
>
> And you have any hint on how to solve this bug (how let the editpart have
> more than one incoming connection)?
>
> Thanks!
>
> Carlos Augusto Grahl
>
> "Randy Hudson" <none@us.ibm.com> escreveu na mensagem
> news:beden5$1s5$1@eclipse.org...
> > Not only is it a bug in the example, but it's a feature in GEF that the
> > bogus connection is still visible ;-)
> > When the connection editpart looses its target, which is the case, we
> still
> > show the connection, but give it a hard-coded anchor point.
> >
> >
> > "Randy Hudson" <none@us.ibm.com> wrote in message
> > news:bedel4$1rj$1@eclipse.org...
> > > The example should prevent this from happening, but doesn't. It's a
bug
> > in
> > > the example. The logic model only supports a single incoming
connection
> > per
> > > terminal, but multiple outgoing wires are allowed.
> > >
> > > "Carlos Augusto C. Grahl" <carlos.grahl@senior.com.br> wrote in
message
> > > news:bec7qk$v2o$1@eclipse.org...
> > > > Hello,
> > > >
> > > > When I try to make two connections between the same anchors on the
> logic
> > > > diagram, the second connection does not connect to the anchor. It
goes
> > to
> > > > some point on the diagram which is not connected to anything. Take a
> > look
> > > at
> > > > the three pictures attached.
> > > >
> > > > Step1.bmp: two figures with a Connection between them.
> > > > Step2.bmp: This is what happens when I'm creating the second
> Connection.
> > > > Step3.bmp: When I release the mouse button, the second Connection
goes
> > to
> > > a
> > > > point which is not connected to any figure.
> > > >
> > > > When I'm dragging the connection the AutomaticRouter inserts a
> bendpoint
> > > in
> > > > the middle of the line, but when I release the mouse button, the
> > > connection
> > > > goes to a place totally wrong. I think that the correct behaviour
> could
> > be
> > > > two possibilities:
> > > >
> > > > 1) Using the AutomaticRouter and create the Connection
> > > > 2) Does not create the second Connection (which already exists -
it's
> > > > exactly the same as the first)
> > > >
> > > > How to solve that?
> > > >
> > > > Thanks
> > > >
> > > > Carlos Augusto Grahl
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.13033 seconds