Examples of ItemPath


Examples of abbot.swt.tester.ItemPath

    }

    // helper method   
    public Shell rightClickItem (Shell aShell, String itemText, String[] menuList, String newDialogName) throws MultipleFoundException, NotFoundException {
        Item item = (Item) finder.find (workbenchShell, new WidgetTextMatcher (itemText, Item.class, true));
        ItemPath anItemPath = new ItemPath (menuList);
        ItemTester.getItemTester().actionClickMenuItem (item, anItemPath);
        waitTime (WAIT_STANDARD);
        return ShellTester.waitVisible (newDialogName);
    }
View Full Code Here

Examples of abbot.swt.tester.ItemPath

    }

    // helper method   
    public void rightClickItem (Shell aShell, String itemText, String[] menuList) throws MultipleFoundException, NotFoundException {
        Item item = (Item) finder.find (workbenchShell, new WidgetTextMatcher (itemText, Item.class, true));
        ItemPath anItemPath = new ItemPath (menuList);
        ItemTester.getItemTester().actionClickMenuItem (item, anItemPath);
        waitTime (WAIT_STANDARD);
    }
View Full Code Here

Examples of abbot.swt.tester.ItemPath

        waitTime (WAIT_STANDARD);
    }

    // helper method   
    public Shell clickMenuItem (Shell aShell, String[] menuList, String newDialogName) throws MultipleFoundException, NotFoundException {
        ItemPath anItemPath = new ItemPath (menuList);
        Menu bar = ShellTester.getShellTester().getMenuBar (aShell);
        MenuTester.getMenuTester().actionClickItem (bar, anItemPath);
        waitTime (WAIT_STANDARD);
        return ShellTester.waitVisible (newDialogName);
    }
View Full Code Here

Examples of abbot.swt.tester.ItemPath

        return ShellTester.waitVisible (newDialogName);
    }
   
    // helper method   
    public void clickMenuItem (Shell aShell, String[] menuList) throws MultipleFoundException, NotFoundException {
        ItemPath anItemPath = new ItemPath (menuList);
        Menu bar = ShellTester.getShellTester().getMenuBar (aShell);
        MenuTester.getMenuTester().actionClickItem (bar, anItemPath);
        waitTime (WAIT_STANDARD);
    }
View Full Code Here

Examples of abbot.swt.tester.ItemPath

        return ShellTester.waitVisible(newDialogName);
    }

    // helper method
    public void clickTreeItem (Shell aShell, String[] treeList) throws MultipleFoundException, NotFoundException {
        ItemPath anItemPath = new ItemPath (treeList);
        Tree tree = (Tree) finder.find (aShell, new WidgetClassMatcher (Tree.class));
        TreeTester.getTreeTester().actionClickItem (tree, anItemPath);
        waitTime (WAIT_STANDARD);
    }
View Full Code Here

Examples of abbot.swt.tester.ItemPath

        waitTime (WAIT_STANDARD);
    }

    //helper method to check a box present in a tree
    public void checkTreeItem (Shell aShell, String[] treeList) throws MultipleFoundException, NotFoundException {
        ItemPath anItemPath = new ItemPath (treeList);
        Tree tree = (Tree) finder.find (aShell, new WidgetClassMatcher (Tree.class));
        TreeTester.getTreeTester().actionCheckItem(tree, anItemPath, true);
        waitTime (WAIT_STANDARD);
    }
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.