Package org.eclipse.swtbot.eclipse.gef.finder.widgets

Examples of org.eclipse.swtbot.eclipse.gef.finder.widgets.SWTBotGefEditPart.select()


    StsBotGefEditor gEditor = editor.toGefEditorFromUri(BatchSchemaConstants.URI);
    List<SWTBotGefEditPart> parts = gEditor.editParts(matcher);
    assertFalse(parts.isEmpty());

    SWTBotGefEditPart activityPart = parts.get(0);
    activityPart.select();
    gEditor.pressShortcut(KeyStroke.getInstance(SWT.DEL));

    for (int i = 0; i < 3 && gEditor.editParts(matcher).size() > 0; i++) {
      Thread.sleep(1000);
    }
View Full Code Here


    assertFalse(parts.isEmpty());

    SWTBotGefEditPart activityPart = parts.get(0);
    SWTBotGefConnectionEditPart transitionPart = activityPart.sourceConnections().get(0);
    SWTBotGefEditPart containerPart = transitionPart.target();
    containerPart.select();
    gEditor.pressShortcut(KeyStroke.getInstance(SWT.DEL));

    parts = gEditor.editParts(AllOf.allOf(
        EditPartMatcherFactory.editPartOfType(SimpleActivityWithContainerPart.class),
        EditPartMatcherFactory.withLabel("limitDecision")));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.