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

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


        final SWTBotTable table = new SWTBotTable(viewer.getTable());

        table.select(row);

        SWTBotTableItem item = table.getTableItem(row);

        startEditing(viewer, row, column, editorActivationType);

        for (char keyChar : text.toLowerCase().toCharArray()) {
            if (isAlphanumericKey(keyChar)) {
                item.pressShortcut(getKey(keyChar));
            } else {
                throw new ParseException("Can`t parse key: \"" + keyChar + "\" - it is not an alphanumeric key!");
            }
        }
    }
View Full Code Here


  @Test
  public void testAddBranch() throws Exception {
    Repository repo = lookupRepository(repoFile);
    assertNull(repo.resolve(Constants.R_HEADS + "NewBranch"));
    SWTBotTable table = getHistoryViewTable(PROJ1);
    SWTBotTableItem item = table.getTableItem(0);
    item.select();
    ContextMenuHelper.clickContextMenu(table,
        UIText.GitHistoryPage_CreateBranchMenuLabel);
    SWTBotShell dialog = bot
        .shell(UIText.CreateBranchWizard_NewBranchTitle);
    dialog.bot().textWithId("BranchName").setText("NewBranch");
View Full Code Here

  @Ignore
  public void testRebaseAlreadyUpToDate() throws Exception {
    Repository repo = lookupRepository(repoFile);
    Ref stable = repo.getRef("stable");
    SWTBotTable table = getHistoryViewTable(PROJ1);
    SWTBotTableItem stableItem = getTableItemWithId(table, stable.getObjectId());

    stableItem.contextMenu(UIText.GitHistoryPage_rebaseMenuItem).click();
    TestUtil.joinJobs(JobFamilies.REBASE);
  }
View Full Code Here

TOP

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

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.