/**
   * Delete Project from workspace
   *
   * @param projectName
   */
  public void deleteProject(String projectName) {

    removeProjectFromServers(projectName);

    SWTBot packageExplorer = eclipse.showView(ViewType.PACKAGE_EXPLORER);
    delay();
    SWTBotTree tree = packageExplorer.tree();
    delay();

    ContextMenuHelper.prepareTreeItemForContextMenu(tree, tree.getTreeItem(projectName));
    new SWTBotMenu(ContextMenuHelper.getContextMenu(tree, IDELabel.Menu.DELETE, false)).click();
    bot.shell(IDELabel.Shell.DELETE_RESOURCES).activate();
    bot.button(IDELabel.Button.OK).click();

    new SWTUtilExt(bot).waitForNonIgnoredJobs();
  }
 public void removeSeamProjectFromServers(String projectName) {
   removeProjectFromServers(projectName);
   removeProjectFromServers("/" + projectName, "-ds.xml");
 }
 /**
  * Remove Project from all Servers
  *
  * @param projectName
  */
 public void removeProjectFromServers(String projectName) {
   removeProjectFromServers(projectName, null);
 }