/**
* Creates and returns a new ConnectionBendpointTracker.
*/
protected DragTracker createDragTracker()
{
ConnectionBendpointTracker tracker;
tracker = new ConnectionBendpointTracker(
(ConnectionEditPart) getOwner(),
getIndex());
if (type.equals("create"))
{
tracker.setType(RequestConstants.REQ_CREATE_BENDPOINT);
}
else if (type.equals("move"))
{
tracker.setType(RequestConstants.REQ_MOVE_BENDPOINT);
}
tracker.setDefaultCursor(getCursor());
return tracker;
}