Package org.eclipse.swtbot.eclipse.gef.finder.waits

Examples of org.eclipse.swtbot.eclipse.gef.finder.waits.WaitForEditPartSelection


   */
  public void createBenpoint(final int toXPosition, final int toYPosition) {
    Point startMove = ((Connection) part().getFigure()).getPoints().getMidpoint().getCopy();
    viewer.click(startMove.x, startMove.y);   
    /* we need to wait element selection before proceed or drag will fail */
    viewer.bot().waitUntil(new WaitForEditPartSelection(this, viewer.graphicalViewer));
   
    viewer.drag(startMove.x, startMove.y, toXPosition, 250);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.swtbot.eclipse.gef.finder.waits.WaitForEditPartSelection

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.