Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Change the bend point
Change the bend point [message #148001] Tue, 28 August 2007 02:04
Zhang Peng is currently offline Zhang PengFriend
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……
Previous Topic:how to modify attibute from non-gef editor
Next Topic:give me some suggestions about change the connections
Goto Forum:
  


Current Time: Fri Nov 08 22:17:12 GMT 2024

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

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

Back to the top