Пример #1
0
 @BeforeClass
 public static void setUp() throws Exception {
   menu.createNewModelProject(DS_PROJECT);
   IPath path = new Path(DS_PROJECT + "/" + TRANSLATIONS);
   on.selectNode(path).doubleClick();
   editor = bot.editorByTitle(DS_PROJECT + " Translation Overview");
 }
 /**
  * Gets the editor tree.
  *
  * @param bot the bot
  * @return the editor tree
  * @throws Exception the exception
  */
 public static SWTBotTree getEditorTree(final SWTWorkbenchBot bot, String title) throws Exception {
   SWTBotEditor editor = bot.editorByTitle(title);
   SWTBotTree tree = editor.bot().tree();
   return tree;
 }