Examples of click()


Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotTable.click()

        SWTBotTable logTable = getLogTable();

        boolean isCellEditorActive = false;

        for (int i = 0; i < logTable.rowCount(); i++) {
            logTable.click(i, 0);
            // try to edit cell by F2 key
            logTable.pressShortcut(getKey(SWT.F2));
            waitForCellEditorState(logTableViewer, false);
            isCellEditorActive = logTableViewer.isCellEditorActive();
            assertFalse(isCellEditorActive);
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotToolbarButton.click()

        // just a workaround till view.toolbarButton() is fixed
        Matcher matcher = allOf( widgetOfType( ToolItem.class ), withTooltip( "Refresh" ), withStyle( SWT.PUSH,
            "SWT.PUSH" ) );
        SWTBotToolbarButton button = new SWTBotToolbarButton( ( ToolItem ) new SWTWorkbenchBot().widget( matcher, 0 ),
            matcher );
        button.click();

        return view.bot().styledText().getText();
    }

}
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotToolbarDropDownButton.click()

    SWTBotView view = bot.viewByTitle("SWTBot Test View");

    SWTBotToolbarDropDownButton button = view.toolbarDropDownButton("This represents a drop down IAction command.");
    assertNotNull(button);

    button.click();
    bot.button("OK").click();
  }
 
  @Test
  public void toolbarButtonNotFound() throws Exception {
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotToolbarPushButton.click()

    {
        //bot.toolbarButton( "Search Again (F5)" ).click();
        Matcher matcher = allOf( widgetOfType( ToolItem.class ), withTooltip( "Search Again (F5)" ), withStyle(
            SWT.PUSH, "SWT.PUSH" ) );
        SWTBotToolbarPushButton button = new SWTBotToolbarPushButton( ( ToolItem ) bot.widget( matcher, 0 ), matcher );
        button.click();
    }

}
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotToolbarRadioButton.click()

    SWTBotView view = bot.viewByTitle("SWTBot Test View");

    SWTBotToolbarRadioButton button = view.toolbarRadioButton("This represents a radio IAction command.");
    assertNotNull(button);

    button.click();
    bot.button("OK").click();
  }
 
  @Test
  public void toolbarDropDownButton() throws Exception {
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotToolbarToggleButton.click()

      if (folder.isChecked())
        folder.click();
      if (project.isChecked())
        project.click();
      if (repo.isChecked())
        repo.click();
      break;
    case 1:
      if (!repo.isChecked())
        repo.click();
      break;
View Full Code Here

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


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

Examples of org.eclipse.wb.tests.gef.UiContext.click()

    // set device
    {
      UiContext context = new UiContext();
      // click ToolItem to open Menu
      ToolItem deviceToolItem = context.getToolItem("No device");
      context.click(deviceToolItem, SWT.ARROW);
      // click "device" MenuItem
      {
        Menu menu = (Menu) deviceToolItem.getData("designTimeMenu");
        MenuItem menuItem = context.getMenuItem(menu, "QVGA");
        context.click(menuItem);
View Full Code Here

Examples of org.fest.swing.core.Robot.click()

    Robot robot = BasicRobot.robotWithCurrentAwtHierarchy();

    ui.main();
   
    //hit start
      robot.click(robot.finder().findByName(ButtonPanel.START_BUTTON_NAME));

   
    // perform tab key press and wait until it took place
    robot.pressAndReleaseKey(KeyEvent.VK_TAB);
    robot.waitForIdle();
View Full Code Here

Examples of org.fest.swing.fixture.FrameFixture.click()

            JFrame frame = (JFrame) container;
            final FrameFixture fixture = new FrameFixture(frame);
            return new IClickable() {
                @Override
                public void click() {
                    fixture.click();
                }
            };
        } else if (container instanceof JTabbedPane) {
            JTabbedPane pane = (JTabbedPane) container;
            final JTabbedPaneFixture fixture =
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.