Connection Position Changes on Scrolling [message #179162] |
Mon, 25 April 2005 20:50 |
Eclipse User |
|
|
|
Originally posted by: binti.ksu.edu
Hi All,
I have a wierd problem here. I have snapshots to make it clear. When I click
on the connection and scroll down the window, the connections change their
position. These connections were assigned positions in MyConnectionAnchor
Class. Each connection has a variable location assocaited to it.
But when I have not selected the connection and I scroll down, it seems to
work fine. They are changing the position with respect to the window/canvas.
How can I control this?
Thanks in advance,
Binti.
-
Attachment: actual.GIF
(Size: 15.67KB, Downloaded 129 times) -
Attachment: problem.GIF
(Size: 12.81KB, Downloaded 130 times)
|
|
|
Re: Connection Position Changes on Scrolling [message #179211 is a reply to message #179162] |
Mon, 25 April 2005 21:43 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
You have a bug in your connectionanchor or connectionrouter class. Please
reread the javadoc with respect to points and which coordinates they should
be in.
Refer to chopboxanchor for example code.
"Binti Sepaha" <binti@ksu.edu> wrote in message
news:d4jlbq$ek7$1@news.eclipse.org...
> Hi All,
>
> I have a wierd problem here. I have snapshots to make it clear. When I
> click on the connection and scroll down the window, the connections change
> their position. These connections were assigned positions in
> MyConnectionAnchor Class. Each connection has a variable location
> assocaited to it.
>
> But when I have not selected the connection and I scroll down, it seems to
> work fine. They are changing the position with respect to the
> window/canvas. How can I control this?
>
> Thanks in advance,
> Binti.
>
>
>
>
|
|
|
Re: Connection Position Changes on Scrolling [message #179219 is a reply to message #179211] |
Mon, 25 April 2005 22:27 |
Eclipse User |
|
|
|
Originally posted by: binti.ksu.edu
It would be great if you could you explain it more? I do not have a
ConnectionRouter Class of my own, just the anchor.
The anchor class just returns the location where the connection should be
placed. The connections are always straight horizontal lines as shown in the
figures.
Binti.
"Randy Hudson" <none@us.ibm.com> wrote in message
news:d4joep$iqp$1@news.eclipse.org...
> You have a bug in your connectionanchor or connectionrouter class. Please
> reread the javadoc with respect to points and which coordinates they
> should be in.
>
> Refer to chopboxanchor for example code.
>
> "Binti Sepaha" <binti@ksu.edu> wrote in message
> news:d4jlbq$ek7$1@news.eclipse.org...
>> Hi All,
>>
>> I have a wierd problem here. I have snapshots to make it clear. When I
>> click on the connection and scroll down the window, the connections
>> change their position. These connections were assigned positions in
>> MyConnectionAnchor Class. Each connection has a variable location
>> assocaited to it.
>>
>> But when I have not selected the connection and I scroll down, it seems
>> to work fine. They are changing the position with respect to the
>> window/canvas. How can I control this?
>>
>> Thanks in advance,
>> Binti.
>>
>>
>>
>>
>
>
|
|
|
Re: Connection Position Changes on Scrolling [message #179286 is a reply to message #179219] |
Tue, 26 April 2005 13:29 |
Eclipse User |
|
|
|
Originally posted by: gslade.no.spam.us.ibm.com
Binti Sepaha wrote:
> It would be great if you could you explain it more? I do not have a
> ConnectionRouter Class of my own, just the anchor.
> The anchor class just returns the location where the connection should be
...... and there's your problem.... your anchor class is not calculating
this location correctly. As Randy has already said, go look at the
chopboxanchor for example code.
Guy
> placed. The connections are always straight horizontal lines as shown in the
> figures.
>
> Binti.
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:d4joep$iqp$1@news.eclipse.org...
>
>>You have a bug in your connectionanchor or connectionrouter class. Please
>>reread the javadoc with respect to points and which coordinates they
>>should be in.
>>
>>Refer to chopboxanchor for example code.
>>
>>"Binti Sepaha" <binti@ksu.edu> wrote in message
>>news:d4jlbq$ek7$1@news.eclipse.org...
>>
>>>Hi All,
>>>
>>>I have a wierd problem here. I have snapshots to make it clear. When I
>>>click on the connection and scroll down the window, the connections
>>>change their position. These connections were assigned positions in
>>>MyConnectionAnchor Class. Each connection has a variable location
>>>assocaited to it.
>>>
>>>But when I have not selected the connection and I scroll down, it seems
>>>to work fine. They are changing the position with respect to the
>>>window/canvas. How can I control this?
>>>
>>>Thanks in advance,
>>>Binti.
>>>
>>>
>>>
>>>
>>
>>
>
>
|
|
|
Re: Connection Position Changes on Scrolling [message #179578 is a reply to message #179286] |
Thu, 28 April 2005 19:19 |
Eclipse User |
|
|
|
Originally posted by: binti.ksu.edu
Thanks, it has been solved. You both were correct.
Binti.
"Guy Slade" <gslade.no.spam@us.ibm.com> wrote in message
news:d4lfss$kr7$1@news.eclipse.org...
> Binti Sepaha wrote:
>> It would be great if you could you explain it more? I do not have a
>> ConnectionRouter Class of my own, just the anchor.
>> The anchor class just returns the location where the connection should be
> ..... and there's your problem.... your anchor class is not calculating
> this location correctly. As Randy has already said, go look at the
> chopboxanchor for example code.
>
> Guy
>> placed. The connections are always straight horizontal lines as shown in
>> the figures.
>>
>> Binti.
>>
>> "Randy Hudson" <none@us.ibm.com> wrote in message
>> news:d4joep$iqp$1@news.eclipse.org...
>>
>>>You have a bug in your connectionanchor or connectionrouter class.
>>>Please reread the javadoc with respect to points and which coordinates
>>>they should be in.
>>>
>>>Refer to chopboxanchor for example code.
>>>
>>>"Binti Sepaha" <binti@ksu.edu> wrote in message
>>>news:d4jlbq$ek7$1@news.eclipse.org...
>>>
>>>>Hi All,
>>>>
>>>>I have a wierd problem here. I have snapshots to make it clear. When I
>>>>click on the connection and scroll down the window, the connections
>>>>change their position. These connections were assigned positions in
>>>>MyConnectionAnchor Class. Each connection has a variable location
>>>>assocaited to it.
>>>>
>>>>But when I have not selected the connection and I scroll down, it seems
>>>>to work fine. They are changing the position with respect to the
>>>>window/canvas. How can I control this?
>>>>
>>>>Thanks in advance,
>>>>Binti.
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.04423 seconds