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

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotTree


   * @return a {@link SWTBotTree} with the specified <code>none</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotTree tree(int index) {
    Matcher matcher = allOf(widgetOfType(Tree.class));
    return new SWTBotTree((Tree) widget(matcher, index), matcher);
  }
View Full Code Here


   * @return a {@link SWTBotTree} with the specified <code>label</code> with the specified <code>inGroup</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotTree treeWithLabelInGroup(String label, String inGroup, int index) {
    Matcher matcher = allOf(widgetOfType(Tree.class), withLabel(label), inGroup(inGroup));
    return new SWTBotTree((Tree) widget(matcher, index), matcher);
  }
View Full Code Here

     *             the exception
     */
    @Test
    public void testSwtResourcesDelta() throws Exception
    {
        SWTBotTree browserTree = SWTBotUtils.getLdapBrowserTree( bot );

        // run the new entry wizard once to ensure all SWT resources are created
        createAndDeleteEntry( browserTree, "testSwtResourcesDelta" + 0 );

        // remember the SWT objects before the run
View Full Code Here

    private SWTBotTree getConnectionsTree()
    {
        SWTBotView view = bot.viewByTitle( "Connections" );
        view.show();
        SWTBotTree tree = view.bot().tree();
        return tree;
    }
View Full Code Here

    }


    public void setAttributeValue( String type, int number, String value )
    {
        SWTBotTree tree = bot.tree( 0 );

        // click to finish editing of value
        tree.getTreeItem( type ).click();

        tree.getTreeItem( type ).doubleClick();
        SWTBotText text = bot.text( "" );
        text.setText( value );

        // click to finish editing of value
        tree.getTreeItem( type ).click();
    }
View Full Code Here

   * @return a {@link SWTBotTree} with the specified <code>label</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotTree treeWithLabel(String label, int index) {
    Matcher matcher = allOf(widgetOfType(Tree.class), withLabel(label));
    return new SWTBotTree((Tree) widget(matcher, index), matcher);
  }
View Full Code Here

   * @return a {@link SWTBotTree} with the specified <code>key/value</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotTree treeWithId(String key, String value, int index) {
    Matcher matcher = allOf(widgetOfType(Tree.class), withId(key, value));
    return new SWTBotTree((Tree) widget(matcher, index), matcher);
  }
View Full Code Here

   * @return a {@link SWTBotTree} with the specified <code>value</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotTree treeWithId(String value, int index) {
    Matcher matcher = allOf(widgetOfType(Tree.class), withId(value));
    return new SWTBotTree((Tree) widget(matcher, index), matcher);
  }
View Full Code Here

   * @return a {@link SWTBotTree} with the specified <code>inGroup</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotTree treeInGroup(String inGroup, int index) {
    Matcher matcher = allOf(widgetOfType(Tree.class), inGroup(inGroup));
    return new SWTBotTree((Tree) widget(matcher, index), matcher);
  }
View Full Code Here

   * @return a {@link SWTBotTree} with the specified <code>none</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotTree tree(int index) {
    Matcher matcher = allOf(widgetOfType(Tree.class));
    return new SWTBotTree((Tree) widget(matcher, index), matcher);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.swtbot.swt.finder.widgets.SWTBotTree

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.