Package org.eclipse.swtbot.swt.finder.widgets

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



    public void selectChildrenOfEnty( String[] children, String... path )
    {
        SWTBotTreeItem entry = getEntry( path );
        entry.select( children );
    }


    public ReferralDialogBot selectEntryExpectingReferralDialog( String... path )
    {
View Full Code Here


                // - next child is visible
                final String nextName = !pathList.isEmpty() ? pathList.get( 0 ) : null;
                expandEntry( bot, entry, nextName );
            }

            entry.select();
        }
        return entry;
    }

View Full Code Here


    void selectChildrenOfEnty( String[] children, String... path )
    {
        SWTBotTreeItem entry = getEntry( path );
        entry.select( children );
    }


    ReferralDialogBot selectEntryExpectingReferralDialog( String... path )
    {
View Full Code Here


    void selectChildrenOfEnty( String[] children, String... path )
    {
        SWTBotTreeItem entry = getEntry( path );
        entry.select( children );
    }


    ReferralDialogBot selectEntryExpectingReferralDialog( String... path )
    {
View Full Code Here


    void deleteValue( String attributeType, String value )
    {
        SWTBotTreeItem treeItem = getTreeItem( attributeType, value );
        treeItem.select();
        ContextMenuHelper.clickContextMenu( bot.tree(), "Delete Value" );
        DeleteDialogBot deleteDialogBot = new DeleteDialogBot( DeleteDialogBot.DELETE_VALUE_TITLE );
        deleteDialogBot.clickOkButton();
    }
View Full Code Here


    public void copyValue( String attributeType, String value )
    {
        SWTBotTreeItem treeItem = getTreeItem( attributeType, value );
        treeItem.select();
        ContextMenuHelper.clickContextMenu( bot.tree(), "Copy Value" );
    }


    public void pasteValue()
View Full Code Here

    refreshAndWait();
    // create a branch (no checkout)
    SWTBotTreeItem localBranchesItem = myRepoViewUtil.getLocalBranchesItem(
        tree, repositoryFile).expand();
    SWTBotTreeItem masterNode = localBranchesItem.getNode("master");
    masterNode.select();
    ContextMenuHelper.clickContextMenu(tree, myUtil
        .getPluginLocalizedValue("RepoViewCreateBranch.label"));
    SWTBotShell createBranchShell = bot
        .shell(UIText.CreateBranchWizard_NewBranchTitle);
    createBranchShell.bot().textWithId("BranchName").setText("abc");
View Full Code Here

    // open a branch (checkout)
    SWTBotTreeItem localBranchesItem = myRepoViewUtil.getLocalBranchesItem(
        tree, repositoryFile).expand();
    SWTBotTreeItem masterNode = localBranchesItem.getNode("master");
    // create first branch (abc)
    masterNode.select();
    ContextMenuHelper.clickContextMenu(tree, "Create Branch...");
    SWTBotShell createBranchShell = bot
        .shell(UIText.CreateBranchWizard_NewBranchTitle);
    createBranchShell.bot().textWithId("BranchName").setText("abc");
    createBranchShell.bot()
View Full Code Here

    SWTBotTreeItem remotesItem = myRepoViewUtil.getRemotesItem(tree,
        repositoryFile).expand();

    remotesItem = myRepoViewUtil.getRemotesItem(tree, repositoryFile)
        .expand();
    remotesItem.select();
    ContextMenuHelper.clickContextMenu(tree, myUtil
        .getPluginLocalizedValue("NewRemoteCommand"));
    SWTBotShell shell = bot.shell(UIText.NewRemoteDialog_WindowTitle);
    shell.bot().textWithLabel(UIText.NewRemoteDialog_NameLabel).setText(
        "testRemote");
View Full Code Here

    // assert 1 children
    SWTBotTreeItem item = myRepoViewUtil.getRemotesItem(tree,
        repositoryFile).expand().getNode("testRemote").expand();
    List<String> children = item.getNodes();
    assertEquals(2, children.size());
    item.select();
    // now we add push
    ContextMenuHelper.clickContextMenu(tree, myUtil
        .getPluginLocalizedValue("ConfigurePushCommand"));

    shell = bot.shell(UIText.SimpleConfigurePushDialog_WindowTitle);
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.