Package org.eclipse.gef.tools

Examples of org.eclipse.gef.tools.ConnectionBendpointTracker


  /**
   * 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;

  }
View Full Code Here

TOP

Related Classes of org.eclipse.gef.tools.ConnectionBendpointTracker

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.