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

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


        .getProject(PROJ1);
    project.delete(true, false, null);
    clickOnCommit();

    SWTBotShell commitDialog = bot.shell(UIText.CommitDialog_CommitChanges);
    SWTBotToolbarToggleButton showUntracked = commitDialog.bot()
        .toolbarToggleButtonWithTooltip(
            UIText.CommitDialog_ShowUntrackedFiles);
    if (!showUntracked.isChecked())
      showUntracked.select();

    SWTBotTree tree = commitDialog.bot().tree();
    assertEquals("Wrong row count", 4, tree.rowCount());
    assertTreeLineContent(tree, 0, "GeneralProject/.project");
    assertTreeLineContent(tree, 1, "GeneralProject/folder/test.txt");
View Full Code Here


  public void cancel() {
    commitDialog.bot().button(IDialogConstants.CANCEL_LABEL).click();
  }

  public void setAmend(boolean amend) {
    SWTBotToolbarToggleButton button = commitDialog.bot()
        .toolbarToggleButtonWithTooltip(
            UIText.CommitDialog_AmendPreviousCommit);
    selectToolbarToggle(button, amend);
  }
View Full Code Here

            UIText.CommitDialog_AmendPreviousCommit);
    selectToolbarToggle(button, amend);
  }

  public boolean getAmend() {
    SWTBotToolbarToggleButton button = commitDialog.bot()
        .toolbarToggleButtonWithTooltip(
            UIText.CommitDialog_AmendPreviousCommit);
    return button.isChecked();
  }
View Full Code Here

            UIText.CommitDialog_AmendPreviousCommit);
    return button.isChecked();
  }

  public void setInsertChangeId(boolean insertChangeId) {
    SWTBotToolbarToggleButton button = commitDialog.bot()
        .toolbarToggleButtonWithTooltip(
            UIText.CommitDialog_AddChangeIdLabel);
    selectToolbarToggle(button, insertChangeId);
  }
View Full Code Here

            UIText.CommitDialog_AddChangeIdLabel);
    selectToolbarToggle(button, insertChangeId);
  }

  public boolean getInsertChangeId() {
    SWTBotToolbarToggleButton button = commitDialog.bot()
        .toolbarToggleButtonWithTooltip(
            UIText.CommitDialog_AddChangeIdLabel);
    return button.isChecked();
  }
View Full Code Here

            UIText.CommitDialog_AddChangeIdLabel);
    return button.isChecked();
  }

  public void setSignedOff(boolean signedOff) {
    SWTBotToolbarToggleButton button = commitDialog.bot()
        .toolbarToggleButtonWithTooltip(UIText.CommitDialog_AddSOB);
    selectToolbarToggle(button, signedOff);
  }
View Full Code Here

        .toolbarToggleButtonWithTooltip(UIText.CommitDialog_AddSOB);
    selectToolbarToggle(button, signedOff);
  }

  public boolean getSignedOff() {
    SWTBotToolbarToggleButton button = commitDialog.bot()
        .toolbarToggleButtonWithTooltip(UIText.CommitDialog_AddSOB);
    return button.isChecked();
  }
View Full Code Here

    SWTBotTreeItem treeItem = commitDialog.bot().tree().getAllItems()[rowIndex];
    return treeItem.isChecked();
  }

  public void setShowUntracked(boolean untracked) {
    SWTBotToolbarToggleButton button = commitDialog.bot()
        .toolbarToggleButtonWithTooltip(
            UIText.CommitDialog_ShowUntrackedFiles);
    selectToolbarToggle(button, untracked);
  }
View Full Code Here

            UIText.CommitDialog_ShowUntrackedFiles);
    selectToolbarToggle(button, untracked);
  }

  public boolean getShowUntracked() {
    SWTBotToolbarToggleButton button = commitDialog.bot()
        .toolbarToggleButtonWithTooltip(
            UIText.CommitDialog_ShowUntrackedFiles);
    return button.isChecked();
  }
View Full Code Here

    else
      assertFalse("Expected Commit button to be disabled", actual);
  }

  public void setAmend(boolean amend) {
    SWTBotToolbarToggleButton button = stagingView.bot()
        .toolbarToggleButtonWithTooltip(
            UIText.StagingView_Ammend_Previous_Commit);
    selectToolbarToggle(button, amend);
  }
View Full Code Here

TOP

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

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.