Examples of shell()


Examples of org.eclipse.sapphire.ui.forms.swt.FormComponentPresentation.shell()

            }
        }
       
        if( properties.isEmpty() )
        {
            MessageDialog.openInformation( p.shell(), dialogTitle.text(), nothingToDoMessage.text() );
        }
        else
        {
            final Set<Property> selectedProperties = PromptDialog.open( p.shell(), properties );
           
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.swt.FormComponentPresentation.shell()

        {
            MessageDialog.openInformation( p.shell(), dialogTitle.text(), nothingToDoMessage.text() );
        }
        else
        {
            final Set<Property> selectedProperties = PromptDialog.open( p.shell(), properties );
           
            for( Property property : selectedProperties )
            {
                property.clear();
            }
View Full Code Here

Examples of org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot.shell()

  public static PushBranchWizardTester forBranchName(String branchName) {
    SWTWorkbenchBot bot = new SWTWorkbenchBot();
    String title = MessageFormat.format(
        UIText.PushBranchWizard_WindowTitle, branchName);
    SWTBot wizard = bot.shell(title).bot();
    return new PushBranchWizardTester(wizard);
  }

  public PushBranchWizardTester(SWTBot wizard) {
    this.wizard = wizard;
View Full Code Here

Examples of org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot.shell()

  }

  public static CommitDialogTester openCommitDialog(String projectName) {
    clickCommitAction(projectName);
    SWTWorkbenchBot workbenchBot = new SWTWorkbenchBot();
    SWTBotShell shell = workbenchBot
        .shell(UIText.CommitDialog_CommitChanges);
    return new CommitDialogTester(shell);
  }

  public static NoFilesToCommitPopup openCommitDialogExpectNoFilesToCommit(
View Full Code Here

Examples of org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot.shell()

  public static NoFilesToCommitPopup openCommitDialogExpectNoFilesToCommit(
      String projectName) throws Exception {
    clickCommitAction(projectName);
    SWTWorkbenchBot workbenchBot = new SWTWorkbenchBot();
    return new NoFilesToCommitPopup(
        workbenchBot.shell(UIText.CommitAction_noFilesToCommit));
  }

  private static void clickCommitAction(String projectName) {
    SWTBotTree projectExplorerTree = TestUtil.getExplorerTree();
    util.getProjectItems(projectExplorerTree, projectName)[0].select();
View Full Code Here

Examples of org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot.shell()

    }

    public CommitDialogTester confirmPopup() {
      shell.bot().button(IDialogConstants.YES_LABEL).click();
      SWTWorkbenchBot workbenchBot = new SWTWorkbenchBot();
      SWTBotShell commitDialogShell = workbenchBot
          .shell(UIText.CommitDialog_CommitChanges);
      return new CommitDialogTester(commitDialogShell);
    }

    public void cancelPopup() {
View Full Code Here

Examples of org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot.shell()

    return forShell();
  }

  public static PushTagsWizardTester forShell() {
    SWTWorkbenchBot bot = new SWTWorkbenchBot();
    SWTBot wizard = bot.shell(UIText.PushTagsWizard_WindowTitle).bot();
    return new PushTagsWizardTester(wizard);
  }

  public PushTagsWizardTester(SWTBot wizard) {
    this.wizard = wizard;
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.