Package org.eclipse.swtbot.eclipse.finder.exceptions

Examples of org.eclipse.swtbot.eclipse.finder.exceptions.QuickFixNotFoundException


    int quickFixIndex = quickFixTable.indexOf(quickFixName);
    if (quickFixIndex >= 0) {
      applyQuickFix(quickFixTable, quickFixIndex);
      return;
    }
    throw new QuickFixNotFoundException("Quickfix options not found. Giving up."); //$NON-NLS-1$
  }
View Full Code Here


  protected SWTBotTable getQuickFixTable(SWTBotShell quickFixShell) throws QuickFixNotFoundException {
    try {
      Table table = (Table) bot.widget(widgetOfType(Table.class), quickFixShell.widget);
      return new SWTBotTable(table);
    } catch (Exception e) {
      throw new QuickFixNotFoundException("Quickfix options not found. Giving up.", e); //$NON-NLS-1$
    }
  }
View Full Code Here

      SWTBotShell shell = bot.shell("", bot.activeShell().widget); //$NON-NLS-1$
      shell.activate();
      log.debug("Activated quickfix shell."); //$NON-NLS-1$
      return shell;
    } catch (Exception e) {
      throw new QuickFixNotFoundException("Quickfix popup not found. Giving up.", e); //$NON-NLS-1$
    }
  }
View Full Code Here

    log.debug(MessageFormat.format("Trying to select proposal {0}", proposalText)); //$NON-NLS-1$
    if (proposalTable.containsItem(proposalText)) {
      selectProposal(proposalTable, proposalTable.indexOf(proposalText));
      return;
    }
    throw new QuickFixNotFoundException("Quickfix options not found. Giving up."); //$NON-NLS-1$
  }
View Full Code Here

      Table table = (Table) bot.widget(widgetOfType(Table.class), activatePopupShell().widget);
      SWTBotTable swtBotTable = new SWTBotTable(table);
      log.debug(MessageFormat.format("Found table containing proposals -- {0}", getRows(swtBotTable)));
      return swtBotTable;
    } catch (Exception e) {
      throw new QuickFixNotFoundException("Quickfix options not found. Giving up.", e); //$NON-NLS-1$
    }
  }
View Full Code Here

      SWTBotShell shell = bot.shell("", mainWindow); //$NON-NLS-1$
      shell.activate();
      log.debug("Activated quickfix shell."); //$NON-NLS-1$
      return shell;
    } catch (Exception e) {
      throw new QuickFixNotFoundException("Quickfix popup not found. Giving up.", e); //$NON-NLS-1$
    }
  }
View Full Code Here

    log.debug(MessageFormat.format("Trying to select proposal {0}", proposalText)); //$NON-NLS-1$
    if (proposalTable.containsItem(proposalText)) {
      selectProposal(proposalTable, proposalTable.indexOf(proposalText));
      return;
    }
    throw new QuickFixNotFoundException("Quickfix options not found. Giving up."); //$NON-NLS-1$
  }
View Full Code Here

      Table table = bot.widget(widgetOfType(Table.class), activatePopupShell().widget);
      SWTBotTable swtBotTable = new SWTBotTable(table);
      log.debug(MessageFormat.format("Found table containing proposals -- {0}", getRows(swtBotTable)));
      return swtBotTable;
    } catch (Exception e) {
      throw new QuickFixNotFoundException("Quickfix options not found. Giving up.", e); //$NON-NLS-1$
    }
  }
View Full Code Here

      SWTBotShell shell = bot.shell("", mainWindow); //$NON-NLS-1$
      shell.activate();
      log.debug("Activated quickfix shell."); //$NON-NLS-1$
      return shell;
    } catch (Exception e) {
      throw new QuickFixNotFoundException("Quickfix popup not found. Giving up.", e); //$NON-NLS-1$
    }
  }
View Full Code Here

    log.debug(MessageFormat.format("Trying to select proposal {0}", proposalText)); //$NON-NLS-1$
    if (proposalTable.containsItem(proposalText)) {
      selectProposal(proposalTable, proposalTable.indexOf(proposalText));
      return;
    }
    throw new QuickFixNotFoundException("Quickfix options not found. Giving up."); //$NON-NLS-1$
  }
View Full Code Here

TOP

Related Classes of org.eclipse.swtbot.eclipse.finder.exceptions.QuickFixNotFoundException

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.