Change the bend point [message #148001] |
Tue, 28 August 2007 02:04 |
Zhang Peng Messages: 30 Registered: July 2009 |
Member |
|
|
Dear all,
I want to change the bendpoints of all the connections, but I found that
the command I used can not make it.
I created some SetAllBendpointRequest and create a command like this for
a try, but it seems nothing was changed:
-------------------------------------
SetAllBendpointRequest request = new
SetAllBendpointRequest(RequestConstants.REQ_SET_ALL_BENDPOIN T, pointsList);
Command command = connectionPart.getCommand(request);
command.execute();
-------------------------------------
Later I used RequestConstants.REQ_MOVE_BENDPOINT to get the
SetConnectionBendpointsCommand, and no bendpoint was changed.
It was strange that these command has already executed but the
bendpoints didn't move to the position I assigned. But the same command
generated by the DragTracker (whe drag & drop was detected) could make
the effect.
Can anyone give me some help information? I have been working in this
for over 30 hours……
|
|
|
Powered by
FUDForum. Page generated in 0.02676 seconds