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

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


      });

      SWTBotToolbarDropDownButton pathButton = showUndeleted.bot().toolbarDropDownButton();
      pathButton.menuItem(UIText.NonDeletedFilesTree_FileSystemPathsButton).click();
      // see http://www.eclipse.org/forums/index.php/t/159133/ why we need this
      pathButton.pressShortcut(KeyStroke.getInstance("ESC"));
      // fs path
      IPath path = new Path(lookupRepository(repositoryFile)
          .getWorkTree().getPath()).append(PROJ1).append(FOLDER)
          .append("ToBeDeleted");
      SWTBotTreeItem[] items = showUndeleted.bot().tree().getAllItems();
View Full Code Here


          }
        assertTrue(found);
      }
      pathButton.menuItem(UIText.NonDeletedFilesTree_ResourcePathsButton).click();
      // see http://www.eclipse.org/forums/index.php/t/159133/ why we need this
      pathButton.pressShortcut(KeyStroke.getInstance("ESC"));
      // resource path
      assertEquals("ToBeDeleted", showUndeleted.bot().tree()
          .getAllItems()[0].getItems()[0].getItems()[0].getText());
      Display.getDefault().syncExec(new Runnable() {
        public void run() {
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.