Examples of doubleClick()


Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem.doubleClick()

        bot.menu("Window").menu("Preferences").click();

        SWTBotTree tree = bot.tree();

        SWTBotTreeItem item = tree.getTreeItem("Log4j-Viewer");
        item.doubleClick(); // click "Log4j-Viewer"

        // Filters menu item
        SWTBotTreeItem additionalItem = item.getNode("Additional");
        additionalItem.doubleClick(); // click "Additional"
    }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem.doubleClick()

        SWTBotTreeItem item = tree.getTreeItem("Log4j-Viewer");
        item.doubleClick(); // click "Log4j-Viewer"

        // Filters menu item
        SWTBotTreeItem additionalItem = item.getNode("Additional");
        additionalItem.doubleClick(); // click "Additional"
    }

    /**
     * Finds and parses all controls on "Additional" preferences page.
     *
 
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem.doubleClick()

        SWTBotTree tree = bot.tree();

        // Log4j-Viewer menu item
        SWTBotTreeItem item = tree.getTreeItem("Log4j-Viewer");
        item.doubleClick();

        SWTBotTreeItem filtersItem = item.getNode("Filters");
        filtersItem.doubleClick();
    }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem.doubleClick()

        // Log4j-Viewer menu item
        SWTBotTreeItem item = tree.getTreeItem("Log4j-Viewer");
        item.doubleClick();

        SWTBotTreeItem filtersItem = item.getNode("Filters");
        filtersItem.doubleClick();
    }

    /**
     * Finds and parses the page controls.
     */
 
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem.doubleClick()

    void editValue( String attributeType, String value )
    {
        cancelEditValue();
        SWTBotTreeItem treeItem = getTreeItem( attributeType, value );
        treeItem.doubleClick();
    }


    DnEditorDialogBot editValueExpectingDnEditor( String attributeType, String value )
    {
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem.doubleClick()

    Matcher<IEditorReference> withPartName = WithPartName
        .withPartName(Matchers.containsString("classpath"));
    try {
      bot.waitUntil(Conditions.waitForEditor(withPartName));
    } catch (TimeoutException toe) {
      node.doubleClick();
      bot.waitUntil(Conditions.waitForEditor(withPartName));
    }

    String classpathText = getClassPathText(projectName);
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem.doubleClick()

    item.doubleClick();

    item = getProjectItem(projectExplorerTree, PROJ1).expand()
        .getNode(FOLDER).expand().getNode(FILE2);
    view.show();
    item.doubleClick();
    // now we should have two editors

    // the selection should be still be root
    assertTrue(tree.selection().get(0, 0).startsWith(REPO1));
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem.doubleClick()

    SWTBotTreeItem item = myRepoViewUtil.getRootItem(tree, repositoryFile);
    item.collapse();
    refreshAndWait();
    item = myRepoViewUtil.getRootItem(tree, repositoryFile);
    assertTrue("Item should not be expanded", !item.isExpanded());
    item.doubleClick();
    assertTrue("Item should be expanded", item.isExpanded());
    // open a file in editor
    item = myRepoViewUtil.getWorkdirItem(tree, repositoryFile).expand();
    SWTBotTreeItem fileiItem = item.getNode(PROJ1).expand().getNode(FOLDER)
        .expand().getNode(FILE1).select();
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem.doubleClick()

    assertTrue("Item should be expanded", item.isExpanded());
    // open a file in editor
    item = myRepoViewUtil.getWorkdirItem(tree, repositoryFile).expand();
    SWTBotTreeItem fileiItem = item.getNode(PROJ1).expand().getNode(FOLDER)
        .expand().getNode(FILE1).select();
    fileiItem.doubleClick();
    assertTrue(bot.activeEditor().getTitle().equals(FILE1));
    bot.activeEditor().close();
    // open a branch (checkout)
    checkoutWithDoubleClick(tree, "master");
    String contentMaster = getTestFileContent();
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem.doubleClick()

    SWTBotTree projectExplorerTree = view.bot().tree();

    SWTBotTreeItem item = getProjectItem(projectExplorerTree, PROJ1)
        .expand().getNode(FOLDER).expand().getNode(FILE1);
    view.show();
    item.doubleClick();

    item = getProjectItem(projectExplorerTree, PROJ1).expand()
        .getNode(FOLDER).expand().getNode(FILE2);
    view.show();
    item.doubleClick();
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.