Bendpoint problem again [message #180719] |
Tue, 10 May 2005 03:30 |
Eclipse User |
|
|
|
Originally posted by: Greenbank.water.pku.edu.cn
Hello!Randy and other guys:
I am sorry to trouble you again. A few days ago, I asked a question
about the bendpoint when updating our project from eclipse 2.1.2 to
eclipse 3.0.2, which is: when I select a connection with no bendpoint,
no new bendpoint is created automatically, and the
java.lang.NullPointerException occurs at the function
createHandlesForUserBendpoints in the class “BendpointEditPolicy”.
And you have suggested me to add an empty list as constraint for my
connection. I have made a try, but I find that the function
“SetRoutingConstraint” and “GetRoutingConstraint”of Connection are
interface function, so when I set a empty list, nothing has been done.
But in the function “refreshBendpoint” in the “logic” example, those two
functions work. So I want to ask where should I set the empty list for
my connection.
Thanks a lot!
TANG Lv-an (Greenbank)
Center of Information & Science
School of Electronics Engineering and Computer Science
Peking University
Telephone: 86-010-62759092 13522662621
Email: Tangla@cis.pku.edu.cn Greenbank@water.pku.edu.cn
|
|
|
|
Powered by
FUDForum. Page generated in 0.03401 seconds